Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001285/0.001285, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00142/0.00142, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 230.5 MB / 258.2 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2536/0.2536, allocations: 46.93 MB / 361.6 MB, free: 4.227 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 75.88 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3704, allocations: 66.09 MB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.0044/0.3748, allocations: 1.673 MB / 0.5632 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.3759, allocations: 0.5732 MB / 0.5637 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.899e-05/0.376, allocations: 0 / 0.5637 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003048/0.3763, allocations: 95.67 kB / 0.5638 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003111/0.3766, allocations: 119.6 kB / 0.5639 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.3769, allocations: 115.6 kB / 0.564 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.3772, allocations: 107.7 kB / 0.5641 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.3773, allocations: 19.98 kB / 0.5642 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.218e-05/0.3774, allocations: 47.83 kB / 0.5642 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.3776, allocations: 67.8 kB / 0.5643 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.3776, allocations: 4 kB / 0.5643 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.3777, allocations: 47.98 kB / 0.5643 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.288e-05/0.3778, allocations: 35.86 kB / 0.5644 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.941e-05/0.3779, allocations: 51.59 kB / 0.5644 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.3782, allocations: 127.4 kB / 0.5645 GB, free: 1.246 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.3782, allocations: 0 / 0.5645 GB, free: 1.246 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3782, allocations: 0 / 0.5645 GB, free: 1.246 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.3782, allocations: 3.938 kB / 0.5645 GB, free: 1.242 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007113/0.3789, allocations: 357.5 kB / 0.5649 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.087e-05/0.379, allocations: 12.03 kB / 0.5649 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.245e-05/0.379, allocations: 34.75 kB / 0.5649 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.23e-05/0.3791, allocations: 20.84 kB / 0.5649 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.3794, allocations: 166.2 kB / 0.5651 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-06/0.3794, allocations: 384 / 0.5651 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.564e-05/0.3794, allocations: 8.375 kB / 0.5651 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.3796, allocations: 74.22 kB / 0.5652 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.3796, allocations: 7.891 kB / 0.5652 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.3797, allocations: 0 / 0.5652 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.3797, allocations: 4 kB / 0.5652 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.3798, allocations: 43.95 kB / 0.5652 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004901/0.3803, allocations: 307.8 kB / 0.5655 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.3804, allocations: 62.55 kB / 0.5656 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.264e-05/0.3805, allocations: 32.78 kB / 0.5656 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.3805, allocations: 4.141 kB / 0.5656 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/0.3806, allocations: 38.56 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.3806, allocations: 0 / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001105/0.3817, allocations: 340.7 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.3817, allocations: 55.34 kB / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.382, allocations: 247.5 kB / 0.5663 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.382, allocations: 25.7 kB / 0.5663 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.953e-05/0.3821, allocations: 116.1 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/0.3821, allocations: 47.56 kB / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-05/0.3822, allocations: 29.72 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3824, allocations: 326.8 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.3825, allocations: 43.97 kB / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.679e-05/0.3826, allocations: 51.91 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.3828, allocations: 108.8 kB / 0.567 GB, free: 14.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3828, allocations: 0 / 0.567 GB, free: 14.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002859/0.3831, allocations: 153.5 kB / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.3831, allocations: 4 kB / 0.5671 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3831, allocations: 4 kB / 0.5671 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.3831, allocations: 0 / 0.5671 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.3832, allocations: 35.86 kB / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.3832, allocations: 0 / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.652e-05/0.3833, allocations: 7.984 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.3833, allocations: 4 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.3834, allocations: 138.7 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.3835, allocations: 15.91 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003965/0.3839, allocations: 191.7 kB / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3839, allocations: 7.922 kB / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3839, allocations: 0 / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3839, allocations: 0 / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006994/0.3846, allocations: 470.2 kB / 0.568 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3846, allocations: 0 / 0.568 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-05/0.3847, allocations: 27.97 kB / 0.568 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3847, allocations: 4.031 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.3847, allocations: 8 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3847, allocations: 0 / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.3847, allocations: 7.938 kB / 0.568 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.385, allocations: 259.3 kB / 0.5683 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.385, allocations: 11.91 kB / 0.5683 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.3851, allocations: 7.984 kB / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.645e-05/0.3851, allocations: 8 kB / 0.5683 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.3852, allocations: 7.984 kB / 0.5683 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-06/0.3852, allocations: 4 kB / 0.5683 GB, free: 13.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001675/0.3854, allocations: 189.1 kB / 0.5685 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3854, allocations: 0 / 0.5685 GB, free: 12.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.3856, allocations: 23.94 kB / 0.5685 GB, free: 12.88 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002253/0.3879, allocations: 1.148 MB / 0.5696 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003138/0.3882, allocations: 107.9 kB / 0.5697 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3882, allocations: 0 / 0.5697 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.3883, allocations: 55.91 kB / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.3887, allocations: 19.95 kB / 0.5698 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.3912, allocations: 1.935 MB / 0.5717 GB, free: 9.664 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.3916, allocations: 0.7164 MB / 0.5724 GB, free: 8.922 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.3917, allocations: 36.45 kB / 0.5724 GB, free: 8.887 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.721e-05/0.3918, allocations: 47.42 kB / 0.5725 GB, free: 8.844 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3918, allocations: 0 / 0.5725 GB, free: 8.844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02803/0.4198, allocations: 3.713 MB / 0.5761 GB, free: 5.133 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.077/8.497, allocations: 8.734 kB / 0.5761 GB, free: 5.129 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.513126604259014] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'clock.y', 'd_t_new2.y', 'd2_t_new.y', 'd2_t_new2.y'] 8.63621993130073 8.651925058 8.270453338 Calling exit ...