Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 211.9 kB / 24.51 MB, free: 3.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.594/1.594, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2421/0.2421, allocations: 44.93 MB / 359.6 MB, free: 6.145 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 63.91 kB / 0.4939 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4623/0.4645, allocations: 65.47 MB / 0.5578 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003612/0.4681, allocations: 1.712 MB / 0.5595 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.4702, allocations: 0.9676 MB / 0.5604 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.4703, allocations: 4 kB / 0.5604 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004157/0.4707, allocations: 87.69 kB / 0.5605 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003932/0.4711, allocations: 111.6 kB / 0.5606 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.4714, allocations: 79.67 kB / 0.5607 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.4716, allocations: 127.6 kB / 0.5608 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.4717, allocations: 5.969 kB / 0.5608 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.4718, allocations: 51.77 kB / 0.5609 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.472, allocations: 67.8 kB / 0.5609 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.472, allocations: 8 kB / 0.5609 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.4721, allocations: 43.98 kB / 0.561 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.616e-05/0.4722, allocations: 23.86 kB / 0.561 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.9e-05/0.4723, allocations: 31.73 kB / 0.561 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.4725, allocations: 131.4 kB / 0.5611 GB, free: 4.055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4725, allocations: 0 / 0.5611 GB, free: 4.055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4725, allocations: 0 / 0.5611 GB, free: 4.055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.4726, allocations: 0 / 0.5611 GB, free: 4.055 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006798/0.4732, allocations: 349.5 kB / 0.5615 GB, free: 3.684 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.4733, allocations: 12.03 kB / 0.5615 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.503e-05/0.4733, allocations: 4.188 kB / 0.5615 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.554e-05/0.4733, allocations: 30.75 kB / 0.5615 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.4734, allocations: 16.84 kB / 0.5615 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.4737, allocations: 162.8 kB / 0.5617 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.4737, allocations: 8.062 kB / 0.5617 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.4737, allocations: 4 kB / 0.5617 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.4739, allocations: 53.67 kB / 0.5618 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.4739, allocations: 0 / 0.5618 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.4739, allocations: 0 / 0.5618 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.4739, allocations: 0 / 0.5618 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.81e-05/0.474, allocations: 27.98 kB / 0.5618 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.4745, allocations: 263.9 kB / 0.562 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.4747, allocations: 62.61 kB / 0.5621 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.61e-05/0.4748, allocations: 20.84 kB / 0.5621 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.4748, allocations: 0 / 0.5621 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001841/0.475, allocations: 67.39 kB / 0.5622 GB, free: 2.859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.475, allocations: 3.938 kB / 0.5622 GB, free: 2.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000759/0.4757, allocations: 189.5 kB / 0.5624 GB, free: 2.664 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.4758, allocations: 55.41 kB / 0.5624 GB, free: 2.598 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.4761, allocations: 231.4 kB / 0.5626 GB, free: 2.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.4761, allocations: 29.7 kB / 0.5627 GB, free: 2.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.542e-05/0.4762, allocations: 108.1 kB / 0.5628 GB, free: 2.207 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.4763, allocations: 27.78 kB / 0.5628 GB, free: 2.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.4763, allocations: 21.72 kB / 0.5628 GB, free: 2.152 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.4765, allocations: 326.8 kB / 0.5631 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.464e-05/0.4766, allocations: 23.92 kB / 0.5631 GB, free: 1.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.91e-05/0.4767, allocations: 37.7 kB / 0.5632 GB, free: 1.758 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.4768, allocations: 69.75 kB / 0.5633 GB, free: 1.684 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4768, allocations: 0 / 0.5633 GB, free: 1.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002225/0.477, allocations: 109.5 kB / 0.5634 GB, free: 1.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.477, allocations: 8 kB / 0.5634 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.477, allocations: 0 / 0.5634 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.4771, allocations: 0 / 0.5634 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.4772, allocations: 15.98 kB / 0.5634 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.4772, allocations: 7.938 kB / 0.5634 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.452e-05/0.4772, allocations: 0 / 0.5634 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.4772, allocations: 4 kB / 0.5634 GB, free: 1.535 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001276/0.4774, allocations: 141.8 kB / 0.5635 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.4774, allocations: 11.91 kB / 0.5635 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.4777, allocations: 123 kB / 0.5637 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.4777, allocations: 3.984 kB / 0.5637 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.4777, allocations: 3.938 kB / 0.5637 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.4777, allocations: 0 / 0.5637 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005105/0.4782, allocations: 374.4 kB / 0.564 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4782, allocations: 0 / 0.564 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-05/0.4782, allocations: 11.98 kB / 0.564 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.4782, allocations: 8.25 kB / 0.564 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.4782, allocations: 4 kB / 0.564 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4782, allocations: 0 / 0.564 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4783, allocations: 3.938 kB / 0.564 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.4785, allocations: 220.2 kB / 0.5643 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.586e-05/0.4786, allocations: 15.84 kB / 0.5643 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.4786, allocations: 4 kB / 0.5643 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.468e-05/0.4787, allocations: 7.938 kB / 0.5643 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.4787, allocations: 7.984 kB / 0.5643 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.4787, allocations: 4 kB / 0.5643 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001817/0.4789, allocations: 177.1 kB / 0.5645 GB, free: 352 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4789, allocations: 0 / 0.5645 GB, free: 352 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.4792, allocations: 27.94 kB / 0.5645 GB, free: 324 kB / 398.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002454/0.4816, allocations: 1.142 MB / 0.5656 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.4819, allocations: 67.91 kB / 0.5657 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4819, allocations: 3.938 kB / 0.5657 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.949e-05/0.4819, allocations: 24.14 kB / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.4823, allocations: 37.28 kB / 0.5657 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.4845, allocations: 1.724 MB / 0.5674 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.4846, allocations: 104.7 kB / 0.5675 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.635e-05/0.4847, allocations: 12.97 kB / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.939e-05/0.4848, allocations: 43.36 kB / 0.5676 GB, free: 13.25 MB / 414.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4848, allocations: 0 / 0.5676 GB, free: 13.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/0.5118, allocations: 3.922 MB / 0.5714 GB, free: 9.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.83, allocations: 14.58 kB / 0.5714 GB, free: 9.387 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.03793404402677] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.04230462294072 12.058291836 11.582585348 Calling exit ...