Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.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.001279/0.001279, allocations: 109.4 kB / 19.8 MB, free: 2.5 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.001424/0.001424, allocations: 218.3 kB / 23 MB, free: 5.582 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.472/1.472, allocations: 230.2 MB / 256.2 MB, free: 8.535 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.2357/0.2357, allocations: 46.9 MB / 359.4 MB, free: 4.91 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.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88",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.002445/0.002445, allocations: 79.88 kB / 0.4942 GB, free: 8.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.348, allocations: 65.99 MB / 0.5587 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004081/0.3521, allocations: 2.3 MB / 0.5609 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002592/0.3547, allocations: 1.338 MB / 0.5622 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002097/0.3549, allocations: 7.938 kB / 0.5622 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004182/0.3553, allocations: 127.3 kB / 0.5624 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006179/0.3559, allocations: 242.9 kB / 0.5626 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.3564, allocations: 195.5 kB / 0.5628 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006268/0.357, allocations: 450.7 kB / 0.5632 GB, free: 476 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.3571, allocations: 54.86 kB / 0.5633 GB, free: 420 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004181/0.3576, allocations: 299 kB / 0.5635 GB, free: 120 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.3578, allocations: 163.1 kB / 0.5637 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.044e-05/0.3578, allocations: 16 kB / 0.5637 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.358, allocations: 79.95 kB / 0.5638 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.3581, allocations: 139.5 kB / 0.5639 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.3583, allocations: 186.5 kB / 0.5641 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005344/0.3589, allocations: 449.6 kB / 0.5645 GB, free: 15.1 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.3589, allocations: 0 / 0.5645 GB, free: 15.1 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3589, allocations: 0 / 0.5645 GB, free: 15.1 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.3589, allocations: 0 / 0.5645 GB, free: 15.1 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001134/0.36, allocations: 0.8358 MB / 0.5653 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.36, allocations: 12.03 kB / 0.5654 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.381e-05/0.3601, allocations: 50.73 kB / 0.5654 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.412e-05/0.3602, allocations: 64.52 kB / 0.5655 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006329/0.3608, allocations: 428.9 kB / 0.5659 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.3608, allocations: 12.38 kB / 0.5659 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.604e-05/0.3609, allocations: 16.33 kB / 0.5659 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003806/0.3613, allocations: 197.1 kB / 0.5661 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.3613, allocations: 7.938 kB / 0.5661 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.3613, allocations: 4 kB / 0.5661 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.3613, allocations: 4 kB / 0.5661 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002406/0.3616, allocations: 87.92 kB / 0.5662 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009861/0.3626, allocations: 0.8055 MB / 0.567 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006821/0.3632, allocations: 238.5 kB / 0.5672 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.3634, allocations: 83.45 kB / 0.5673 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.513e-05/0.3635, allocations: 4 kB / 0.5673 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004103/0.3639, allocations: 204.2 kB / 0.5675 GB, free: 11.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.3639, allocations: 0 / 0.5675 GB, free: 11.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.00261/0.3665, allocations: 1.141 MB / 0.5686 GB, free: 10.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.3666, allocations: 140.5 kB / 0.5687 GB, free: 10.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009499/0.3675, allocations: 0.793 MB / 0.5695 GB, free: 9.699 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.9e-05/0.3676, allocations: 41.69 kB / 0.5695 GB, free: 9.652 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.3678, allocations: 237 kB / 0.5698 GB, free: 9.418 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.3679, allocations: 142.8 kB / 0.5699 GB, free: 9.277 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.368, allocations: 86.08 kB / 0.57 GB, free: 9.184 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.3682, allocations: 382.6 kB / 0.5704 GB, free: 8.801 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.3685, allocations: 112.8 kB / 0.5705 GB, free: 8.691 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.3688, allocations: 187.5 kB / 0.5706 GB, free: 8.488 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000541/0.3693, allocations: 318.7 kB / 0.5709 GB, free: 8.152 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3694, allocations: 0 / 0.5709 GB, free: 8.152 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007731/0.3701, allocations: 440.9 kB / 0.5714 GB, free: 7.715 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.3701, allocations: 7.984 kB / 0.5714 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3702, allocations: 0 / 0.5714 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3702, allocations: 4 kB / 0.5714 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.3704, allocations: 87.91 kB / 0.5715 GB, free: 7.617 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.323e-05/0.3705, allocations: 11.97 kB / 0.5715 GB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.3706, allocations: 16.12 kB / 0.5715 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.3706, allocations: 19.94 kB / 0.5715 GB, free: 7.57 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002788/0.3709, allocations: 235.8 kB / 0.5717 GB, free: 7.328 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.91e-05/0.371, allocations: 75.52 kB / 0.5718 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009943/0.372, allocations: 498.5 kB / 0.5723 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.372, allocations: 4 kB / 0.5723 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.372, allocations: 4 kB / 0.5723 GB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.372, allocations: 7.984 kB / 0.5723 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.3738, allocations: 1.307 MB / 0.5736 GB, free: 5.348 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.3738, allocations: 4 kB / 0.5736 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.374, allocations: 63.91 kB / 0.5736 GB, free: 5.281 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/0.374, allocations: 8 kB / 0.5736 GB, free: 5.273 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/0.374, allocations: 15.98 kB / 0.5737 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.374, allocations: 7.938 kB / 0.5737 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.374, allocations: 4 kB / 0.5737 GB, free: 5.246 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009748/0.375, allocations: 0.8008 MB / 0.5745 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.3752, allocations: 172.6 kB / 0.5746 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.391e-05/0.3753, allocations: 15.98 kB / 0.5746 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.3755, allocations: 19.98 kB / 0.5747 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.899e-05/0.3756, allocations: 39.84 kB / 0.5747 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.635e-05/0.3757, allocations: 27.98 kB / 0.5747 GB, free: 4.109 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006899/0.3764, allocations: 0.581 MB / 0.5753 GB, free: 3.535 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3764, allocations: 3.938 kB / 0.5753 GB, free: 3.531 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005391/0.3769, allocations: 83.94 kB / 0.5754 GB, free: 3.449 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003156/0.3801, allocations: 1.752 MB / 0.5771 GB, free: 1.848 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006994/0.3808, allocations: 300.4 kB / 0.5774 GB, free: 1.555 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.3808, allocations: 8.062 kB / 0.5774 GB, free: 1.547 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002954/0.3811, allocations: 143.7 kB / 0.5775 GB, free: 1.406 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009327/0.382, allocations: 134.1 kB / 0.5776 GB, free: 1.285 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006631/0.3886, allocations: 4.759 MB / 0.5823 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006348/0.3893, allocations: 0.886 MB / 0.5832 GB, free: 11.42 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000246/0.3895, allocations: 83.28 kB / 0.5832 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002929/0.3898, allocations: 191.4 kB / 0.5834 GB, free: 11.15 MB / 430.1 MB Notification: Performance of SimCode: time 1.803e-06/0.3898, allocations: 4 kB / 0.5834 GB, free: 11.15 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0369/0.4267, allocations: 10.93 MB / 0.5941 GB, free: 272 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.053/9.48, allocations: 0 / 0.5941 GB, free: 272 kB / 430.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88_res.csv --start-time 0 --stop-time 9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00179784 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.388070615998004] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new_2.y', 't_new_3.y[1]', 'd_t_new_3.y', 'd2_t_new_3.y', 't_new_4.y[1]', 'd_t_new_4.y', 'd2_t_new_4.y'] 9.60870704500121 9.624505356 9.262417016 Calling exit ...