Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.001838/0.001838, allocations: 107.5 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.001881/0.001881, allocations: 212.5 kB / 24.51 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.494/1.494, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2532/0.2532, allocations: 44.93 MB / 359.6 MB, free: 6.156 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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",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.002128/0.002128, allocations: 65.58 kB / 0.4939 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3505, allocations: 65.48 MB / 0.5578 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003189/0.3537, allocations: 1.704 MB / 0.5595 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.3555, allocations: 0.9715 MB / 0.5604 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.043e-05/0.3556, allocations: 0 / 0.5604 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.3559, allocations: 47.75 kB / 0.5605 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003199/0.3562, allocations: 95.59 kB / 0.5605 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.3564, allocations: 75.69 kB / 0.5606 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.3566, allocations: 111.6 kB / 0.5607 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.075e-05/0.3567, allocations: 5.969 kB / 0.5607 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.283e-05/0.3567, allocations: 51.78 kB / 0.5608 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.687e-05/0.3568, allocations: 31.84 kB / 0.5608 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.3568, allocations: 4 kB / 0.5608 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.3569, allocations: 39.98 kB / 0.5609 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.432e-05/0.357, allocations: 19.92 kB / 0.5609 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.668e-05/0.3571, allocations: 31.78 kB / 0.5609 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.3573, allocations: 131.4 kB / 0.561 GB, free: 4.203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3573, allocations: 0 / 0.561 GB, free: 4.203 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3573, allocations: 0 / 0.561 GB, free: 4.203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.3573, 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.0005569/0.3579, allocations: 345.6 kB / 0.5614 GB, free: 3.836 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3579, allocations: 16.03 kB / 0.5614 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.356e-05/0.3579, allocations: 192 / 0.5614 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.329e-05/0.358, allocations: 30.75 kB / 0.5614 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.358, allocations: 8.891 kB / 0.5614 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.3583, allocations: 151 kB / 0.5616 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.3583, allocations: 8.125 kB / 0.5616 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.3583, allocations: 0 / 0.5616 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.3585, allocations: 65.59 kB / 0.5616 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.3585, allocations: 4 kB / 0.5616 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.3585, allocations: 0 / 0.5616 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.3585, allocations: 4 kB / 0.5616 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.074e-05/0.3586, allocations: 19.98 kB / 0.5617 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004141/0.359, allocations: 259.9 kB / 0.5619 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.3592, allocations: 62.61 kB / 0.562 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.787e-05/0.3593, allocations: 16.86 kB / 0.562 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.3593, allocations: 0 / 0.562 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.3595, allocations: 71.38 kB / 0.562 GB, free: 3.027 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.3595, allocations: 3.938 kB / 0.562 GB, free: 3.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005938/0.3601, allocations: 189.3 kB / 0.5622 GB, free: 2.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.3601, allocations: 59.34 kB / 0.5623 GB, free: 2.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.3603, allocations: 206.2 kB / 0.5625 GB, free: 2.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.3603, allocations: 25.7 kB / 0.5625 GB, free: 2.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.331e-05/0.3604, allocations: 104.1 kB / 0.5626 GB, free: 2.414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.3605, allocations: 27.78 kB / 0.5626 GB, free: 2.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.058e-05/0.3605, allocations: 21.72 kB / 0.5627 GB, free: 2.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3607, allocations: 322.8 kB / 0.563 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.826e-05/0.3607, allocations: 27.92 kB / 0.563 GB, free: 2.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.845e-05/0.3608, allocations: 33.7 kB / 0.563 GB, free: 1.969 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.3609, allocations: 69.69 kB / 0.5631 GB, free: 1.895 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3609, allocations: 0 / 0.5631 GB, free: 1.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001995/0.3611, allocations: 105.5 kB / 0.5632 GB, free: 1.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3611, allocations: 4 kB / 0.5632 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.3612, allocations: 4 kB / 0.5632 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3612, allocations: 0 / 0.5632 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.862e-05/0.3613, allocations: 15.98 kB / 0.5632 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.3613, allocations: 3.938 kB / 0.5632 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.836e-05/0.3613, allocations: 8.031 kB / 0.5632 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.3613, allocations: 4 kB / 0.5632 GB, free: 1.746 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.0001206/0.3615, allocations: 129.8 kB / 0.5633 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.3615, allocations: 15.89 kB / 0.5634 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.3618, allocations: 123 kB / 0.5635 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3618, allocations: 0 / 0.5635 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.3618, allocations: 4.312 kB / 0.5635 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3618, allocations: 3.984 kB / 0.5635 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005065/0.3623, allocations: 370.4 kB / 0.5638 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.3623, allocations: 8.031 kB / 0.5638 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.952e-05/0.3623, allocations: 8 kB / 0.5639 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/0.3623, allocations: 8.219 kB / 0.5639 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.3624, allocations: 0 / 0.5639 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3624, allocations: 0 / 0.5639 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3624, allocations: 3.938 kB / 0.5639 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.3626, allocations: 216.2 kB / 0.5641 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.3e-05/0.3626, allocations: 15.89 kB / 0.5641 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.3627, allocations: 4 kB / 0.5641 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.3627, allocations: 0 / 0.5641 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.3628, allocations: 19.92 kB / 0.5641 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.3628, allocations: 4 kB / 0.5641 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001449/0.363, allocations: 152.2 kB / 0.5643 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.363, allocations: 0 / 0.5643 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002858/0.3632, allocations: 27.92 kB / 0.5643 GB, free: 0.5586 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.002305/0.3655, allocations: 1.136 MB / 0.5654 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000202/0.3657, allocations: 55.97 kB / 0.5654 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3657, allocations: 3.938 kB / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.207e-05/0.3658, allocations: 31.92 kB / 0.5655 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.3662, allocations: 27.92 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.3682, allocations: 1.685 MB / 0.5672 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.782e-05/0.3683, allocations: 88.19 kB / 0.5672 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.557e-05/0.3684, allocations: 13.28 kB / 0.5673 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.532e-05/0.3685, allocations: 35.42 kB / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3685, allocations: 0 / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.392, allocations: 3.818 MB / 0.571 GB, free: 9.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.76, allocations: 14.52 kB / 0.571 GB, free: 9.812 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.91333002410829] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.985237448010594 12.017684406 11.65470189 Calling exit ...