Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.001287/0.001287, 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.001484/0.001484, allocations: 213.4 kB / 24.52 MB, free: 3.941 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.628/1.628, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2366/0.2366, allocations: 44.94 MB / 359.6 MB, free: 6.051 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.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",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.002272/0.002272, allocations: 63.91 kB / 0.4939 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3489, allocations: 65.47 MB / 0.5578 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003224/0.3522, allocations: 1.708 MB / 0.5595 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.354, allocations: 0.9792 MB / 0.5604 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.292e-05/0.3541, allocations: 0 / 0.5604 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003192/0.3544, allocations: 43.77 kB / 0.5605 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.3547, allocations: 91.61 kB / 0.5605 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.3549, allocations: 87.66 kB / 0.5606 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.3551, allocations: 103.6 kB / 0.5607 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3552, allocations: 13.81 kB / 0.5607 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.3553, allocations: 39.8 kB / 0.5608 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.142e-05/0.3554, allocations: 35.84 kB / 0.5608 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.3554, allocations: 4 kB / 0.5608 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.3555, allocations: 47.97 kB / 0.5609 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.197e-05/0.3556, allocations: 19.92 kB / 0.5609 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.91e-05/0.3556, allocations: 27.75 kB / 0.5609 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.3559, allocations: 131.4 kB / 0.561 GB, free: 4.203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3559, allocations: 0 / 0.561 GB, free: 4.203 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3559, allocations: 0 / 0.561 GB, free: 4.203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.3559, allocations: 0 / 0.561 GB, free: 4.203 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.0005624/0.3564, allocations: 349.5 kB / 0.5614 GB, free: 3.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.3565, allocations: 16.03 kB / 0.5614 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.481e-05/0.3565, allocations: 192 / 0.5614 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.116e-05/0.3565, allocations: 30.75 kB / 0.5614 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.3566, allocations: 12.89 kB / 0.5614 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.3568, allocations: 158.3 kB / 0.5616 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.3568, allocations: 12.06 kB / 0.5616 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.3569, allocations: 4 kB / 0.5616 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.357, allocations: 57.61 kB / 0.5616 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.357, allocations: 0 / 0.5616 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.357, allocations: 3.984 kB / 0.5617 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.357, allocations: 4 kB / 0.5617 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.027e-05/0.3571, allocations: 19.98 kB / 0.5617 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003812/0.3575, allocations: 263.9 kB / 0.5619 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.3577, allocations: 54.61 kB / 0.562 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.601e-05/0.3577, allocations: 20.86 kB / 0.562 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.3578, allocations: 0 / 0.562 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.3579, allocations: 71.38 kB / 0.5621 GB, free: 3.012 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.3579, allocations: 0 / 0.5621 GB, free: 3.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000603/0.3585, allocations: 193.3 kB / 0.5622 GB, free: 2.816 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.3586, allocations: 55.41 kB / 0.5623 GB, free: 2.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.3588, allocations: 222.6 kB / 0.5625 GB, free: 2.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.3589, allocations: 37.62 kB / 0.5626 GB, free: 2.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.781e-05/0.3589, allocations: 100.1 kB / 0.5626 GB, free: 2.375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.359, allocations: 23.84 kB / 0.5627 GB, free: 2.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.551e-05/0.359, allocations: 21.72 kB / 0.5627 GB, free: 2.324 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3592, allocations: 322.8 kB / 0.563 GB, free: 2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.374e-05/0.3592, allocations: 27.92 kB / 0.563 GB, free: 1.973 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.316e-05/0.3593, allocations: 33.7 kB / 0.5631 GB, free: 1.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.3594, allocations: 65.7 kB / 0.5631 GB, free: 1.863 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3594, allocations: 0 / 0.5631 GB, free: 1.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002049/0.3596, allocations: 113.5 kB / 0.5632 GB, free: 1.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.3597, allocations: 4 kB / 0.5632 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3597, allocations: 0 / 0.5632 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/0.3597, allocations: 4 kB / 0.5632 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.094e-05/0.3598, allocations: 15.98 kB / 0.5632 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.3598, allocations: 3.938 kB / 0.5633 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.854e-05/0.3598, allocations: 7.938 kB / 0.5633 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.3599, allocations: 11.97 kB / 0.5633 GB, free: 1.699 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.0001187/0.36, allocations: 125.8 kB / 0.5634 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.36, allocations: 16.28 kB / 0.5634 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/0.3603, allocations: 119 kB / 0.5635 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3603, allocations: 0 / 0.5635 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3603, allocations: 3.938 kB / 0.5635 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.3603, allocations: 15.92 kB / 0.5635 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004841/0.3608, allocations: 370.6 kB / 0.5639 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3608, allocations: 4.031 kB / 0.5639 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.09e-05/0.3608, allocations: 11.98 kB / 0.5639 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.3608, allocations: 3.938 kB / 0.5639 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.3608, allocations: 4 kB / 0.5639 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3608, allocations: 80 / 0.5639 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.3608, allocations: 3.984 kB / 0.5639 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.3611, allocations: 220.5 kB / 0.5641 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.08e-05/0.3611, allocations: 11.89 kB / 0.5641 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.3612, allocations: 3.984 kB / 0.5641 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.155e-05/0.3612, allocations: 4 kB / 0.5641 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.3613, allocations: 15.98 kB / 0.5642 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.889e-05/0.3613, allocations: 4 kB / 0.5642 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001456/0.3614, allocations: 156.3 kB / 0.5643 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3614, allocations: 0 / 0.5643 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.3617, allocations: 23.98 kB / 0.5643 GB, free: 0.5117 MB / 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.002412/0.3641, allocations: 1.142 MB / 0.5655 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.3643, allocations: 59.91 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3643, allocations: 0 / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.225e-05/0.3644, allocations: 31.98 kB / 0.5655 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.3648, allocations: 23.92 kB / 0.5656 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.3668, allocations: 1.698 MB / 0.5672 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.3669, allocations: 96.61 kB / 0.5673 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.51e-05/0.367, allocations: 20.88 kB / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.349e-05/0.3671, allocations: 39.42 kB / 0.5674 GB, free: 13.48 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3671, allocations: 3.938 kB / 0.5674 GB, free: 13.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/0.3914, allocations: 3.872 MB / 0.5712 GB, free: 9.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.68, allocations: 10.5 kB / 0.5712 GB, free: 9.672 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.895156572922133] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.900210952968337 11.920976174 11.561663079 Calling exit ...