Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.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.001308/0.001308, allocations: 106.5 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.001412/0.001412, allocations: 213.2 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.471/1.471, allocations: 230.5 MB / 258.2 MB, free: 8.031 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.2377/0.2377, allocations: 46.93 MB / 361.6 MB, free: 4.227 MB / 286.1 MB " [Timeout remaining time 180] 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.Test77,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77",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.002316/0.002316, allocations: 75.88 kB / 0.497 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3705, allocations: 66.09 MB / 0.5616 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003361/0.3739, allocations: 1.936 MB / 0.5635 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.3759, allocations: 1.15 MB / 0.5646 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.376, allocations: 3.938 kB / 0.5646 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003962/0.3764, allocations: 163.5 kB / 0.5648 GB, free: 1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004219/0.3768, allocations: 183.3 kB / 0.5649 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.3771, allocations: 127.5 kB / 0.5651 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.3774, allocations: 239.3 kB / 0.5653 GB, free: 472 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.3775, allocations: 23.92 kB / 0.5653 GB, free: 448 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.3777, allocations: 119.5 kB / 0.5654 GB, free: 328 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.3779, allocations: 143.5 kB / 0.5656 GB, free: 184 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.3779, allocations: 8 kB / 0.5656 GB, free: 176 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.378, allocations: 63.98 kB / 0.5656 GB, free: 112 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.311e-05/0.3781, allocations: 59.75 kB / 0.5657 GB, free: 52 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.3782, allocations: 83.34 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003141/0.3785, allocations: 223 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3785, allocations: 0 / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3785, allocations: 4 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3785, allocations: 0 / 0.566 GB, free: 15.75 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007098/0.3792, allocations: 484.4 kB / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3793, allocations: 8.031 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.709e-05/0.3793, allocations: 38.75 kB / 0.5665 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.22e-05/0.3794, allocations: 28.75 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.3798, allocations: 222.5 kB / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.3798, allocations: 8.375 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.3798, allocations: 8.375 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.3801, allocations: 119.3 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.3801, allocations: 3.984 kB / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.3801, allocations: 4 kB / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3801, allocations: 4 kB / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.3802, allocations: 39.97 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006148/0.3808, allocations: 443.8 kB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/0.3812, allocations: 117.1 kB / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.3813, allocations: 49.83 kB / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.3814, allocations: 0 / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002691/0.3816, allocations: 125 kB / 0.5676 GB, free: 13.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.022e-06/0.3816, allocations: 3.938 kB / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001357/0.383, allocations: 497.7 kB / 0.5681 GB, free: 13.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/0.3831, allocations: 81.11 kB / 0.5682 GB, free: 13.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004632/0.3835, allocations: 372.5 kB / 0.5685 GB, free: 12.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.3836, allocations: 33.7 kB / 0.5686 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.3837, allocations: 140.5 kB / 0.5687 GB, free: 12.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.382e-05/0.3838, allocations: 83.3 kB / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.014e-05/0.3839, allocations: 45.64 kB / 0.5688 GB, free: 12.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002246/0.3841, allocations: 342.8 kB / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.3842, allocations: 59.97 kB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.3844, allocations: 92.22 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.3847, allocations: 163.5 kB / 0.5694 GB, free: 11.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3847, allocations: 3.938 kB / 0.5694 GB, free: 11.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004015/0.3851, allocations: 225.3 kB / 0.5697 GB, free: 11.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3851, allocations: 10.19 kB / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3851, allocations: 3.938 kB / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.3851, allocations: 7.984 kB / 0.5697 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.3853, allocations: 43.92 kB / 0.5697 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.3853, allocations: 4.234 kB / 0.5697 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.842e-05/0.3854, allocations: 8.062 kB / 0.5697 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.3854, allocations: 11.98 kB / 0.5697 GB, free: 11.64 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001669/0.3855, allocations: 161.8 kB / 0.5699 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.3856, allocations: 27.81 kB / 0.5699 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005008/0.3861, allocations: 263.2 kB / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.3861, allocations: 4 kB / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3861, allocations: 0 / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3861, allocations: 3.984 kB / 0.5702 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009203/0.387, allocations: 0.6911 MB / 0.5709 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.387, allocations: 0 / 0.5709 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.722e-05/0.3871, allocations: 35.92 kB / 0.5709 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.3871, allocations: 4 kB / 0.5709 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.3871, allocations: 12.11 kB / 0.5709 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3871, allocations: 4 kB / 0.5709 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3871, allocations: 4 kB / 0.5709 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000488/0.3876, allocations: 426 kB / 0.5713 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.706e-05/0.3877, allocations: 27.8 kB / 0.5713 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.3877, allocations: 8 kB / 0.5714 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.3878, allocations: 7.984 kB / 0.5714 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.787e-05/0.3879, allocations: 27.89 kB / 0.5714 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.3879, allocations: 8 kB / 0.5714 GB, free: 9.836 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002795/0.3882, allocations: 279 kB / 0.5717 GB, free: 9.562 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3882, allocations: 0 / 0.5717 GB, free: 9.562 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003634/0.3886, allocations: 55.92 kB / 0.5717 GB, free: 9.508 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002637/0.3912, allocations: 1.357 MB / 0.573 GB, free: 8.297 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003725/0.3916, allocations: 152 kB / 0.5732 GB, free: 8.148 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3916, allocations: 0 / 0.5732 GB, free: 8.148 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.3917, allocations: 76.16 kB / 0.5733 GB, free: 8.074 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005648/0.3923, allocations: 75.55 kB / 0.5733 GB, free: 8.004 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003424/0.3957, allocations: 2.699 MB / 0.576 GB, free: 5.176 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/0.3962, allocations: 0.7636 MB / 0.5767 GB, free: 4.387 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001457/0.3963, allocations: 37.92 kB / 0.5767 GB, free: 4.352 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.3965, allocations: 87.41 kB / 0.5768 GB, free: 4.266 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3965, allocations: 3.938 kB / 0.5768 GB, free: 4.262 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03256/0.429, allocations: 6.253 MB / 0.5829 GB, free: 14.03 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.274/8.703, allocations: 4.766 kB / 0.5829 GB, free: 14.02 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.809542503673583] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new.y', 'd2_t_new_2.y'] 8.84891280112788 8.87708695 8.493394355 Calling exit ...