Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.001373/0.001373, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001627/0.001627, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.611/1.611, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2414/0.2414, allocations: 44.91 MB / 358.8 MB, free: 6.309 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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",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.002492/0.002492, allocations: 71.89 kB / 0.4932 GB, free: 10.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3643, allocations: 65.48 MB / 0.5571 GB, free: 7.414 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003285/0.3676, allocations: 1.74 MB / 0.5588 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.3694, allocations: 1.057 MB / 0.5598 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.17e-05/0.3695, allocations: 3.938 kB / 0.5598 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.3698, allocations: 35.78 kB / 0.5599 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.3701, allocations: 99.53 kB / 0.56 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.3703, allocations: 79.72 kB / 0.56 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.3705, allocations: 103.7 kB / 0.5601 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.543e-05/0.3706, allocations: 5.828 kB / 0.5601 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.3707, allocations: 55.7 kB / 0.5602 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.538e-05/0.3708, allocations: 27.86 kB / 0.5602 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.3708, allocations: 8 kB / 0.5602 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.539e-05/0.3709, allocations: 43.97 kB / 0.5603 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.9e-05/0.371, allocations: 23.86 kB / 0.5603 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.637e-05/0.371, allocations: 31.75 kB / 0.5603 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.3712, allocations: 123.5 kB / 0.5604 GB, free: 4.203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.3712, allocations: 7.922 kB / 0.5604 GB, free: 4.195 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3712, allocations: 0 / 0.5604 GB, free: 4.195 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.3712, allocations: 0 / 0.5604 GB, free: 4.195 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.0006271/0.3719, allocations: 341.6 kB / 0.5608 GB, free: 3.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.3719, allocations: 8.031 kB / 0.5608 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.827e-05/0.372, allocations: 38.73 kB / 0.5608 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.372, allocations: 12.89 kB / 0.5608 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.3723, allocations: 166.9 kB / 0.561 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.3724, allocations: 384 / 0.561 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.3724, allocations: 7.938 kB / 0.561 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.3726, allocations: 53.67 kB / 0.561 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.3726, allocations: 0 / 0.561 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.3726, allocations: 0 / 0.561 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3726, allocations: 0 / 0.561 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.976e-05/0.3727, allocations: 27.98 kB / 0.5611 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.3731, allocations: 255.9 kB / 0.5613 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.3733, allocations: 54.67 kB / 0.5614 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.179e-05/0.3734, allocations: 20.84 kB / 0.5614 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.3734, allocations: 4 kB / 0.5614 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001936/0.3736, allocations: 63.39 kB / 0.5615 GB, free: 3.027 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.033e-06/0.3736, allocations: 0 / 0.5615 GB, free: 3.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006719/0.3743, allocations: 189.5 kB / 0.5616 GB, free: 2.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/0.3743, allocations: 51.41 kB / 0.5617 GB, free: 2.773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.3746, allocations: 202.2 kB / 0.5619 GB, free: 2.566 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/0.3746, allocations: 33.64 kB / 0.5619 GB, free: 2.527 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.919e-05/0.3747, allocations: 108.1 kB / 0.562 GB, free: 2.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.3747, allocations: 23.8 kB / 0.562 GB, free: 2.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-05/0.3748, allocations: 21.72 kB / 0.5621 GB, free: 2.367 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.375, allocations: 330.8 kB / 0.5624 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.615e-05/0.375, allocations: 12.19 kB / 0.5624 GB, free: 2.023 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.92e-05/0.3751, allocations: 41.7 kB / 0.5624 GB, free: 1.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.3752, allocations: 61.7 kB / 0.5625 GB, free: 1.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3753, allocations: 0 / 0.5625 GB, free: 1.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000209/0.3755, allocations: 101.5 kB / 0.5626 GB, free: 1.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.3755, allocations: 4 kB / 0.5626 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3755, allocations: 0 / 0.5626 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.3755, allocations: 3.984 kB / 0.5626 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.3756, allocations: 19.94 kB / 0.5626 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3756, allocations: 0 / 0.5626 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.424e-05/0.3757, allocations: 11.94 kB / 0.5626 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.3757, allocations: 4.031 kB / 0.5626 GB, free: 1.762 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.0001304/0.3758, allocations: 125.8 kB / 0.5627 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.3758, allocations: 15.91 kB / 0.5628 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002991/0.3761, allocations: 115 kB / 0.5629 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.3761, allocations: 4 kB / 0.5629 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3761, allocations: 0 / 0.5629 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3761, allocations: 3.938 kB / 0.5629 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000522/0.3767, allocations: 370.6 kB / 0.5632 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.3767, allocations: 3.984 kB / 0.5632 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.201e-05/0.3767, allocations: 8 kB / 0.5632 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.3767, allocations: 3.938 kB / 0.5632 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.3767, allocations: 4 kB / 0.5632 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.3767, allocations: 4 kB / 0.5632 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3767, allocations: 0 / 0.5632 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.377, allocations: 204.3 kB / 0.5634 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/0.377, allocations: 11.94 kB / 0.5635 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.3771, allocations: 7.938 kB / 0.5635 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.057e-05/0.3771, allocations: 4 kB / 0.5635 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.3772, allocations: 11.91 kB / 0.5635 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.3772, allocations: 4 kB / 0.5635 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001415/0.3773, allocations: 148.4 kB / 0.5636 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3773, allocations: 0 / 0.5636 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.3776, allocations: 35.88 kB / 0.5637 GB, free: 0.6016 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 (8): * Single equations (assignments): 6 * 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.002242/0.3798, allocations: 1.086 MB / 0.5647 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.38, allocations: 59.91 kB / 0.5648 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.38, allocations: 0 / 0.5648 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.659e-05/0.3801, allocations: 23.92 kB / 0.5648 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.3805, allocations: 38.91 kB / 0.5648 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.3827, allocations: 1.658 MB / 0.5665 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.3831, allocations: 0.708 MB / 0.5671 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.904e-05/0.3831, allocations: 12.98 kB / 0.5672 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.3832, allocations: 39.42 kB / 0.5672 GB, free: 13.02 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3832, allocations: 0 / 0.5672 GB, free: 13.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0279/0.4111, allocations: 3.629 MB / 0.5707 GB, free: 9.457 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.37, allocations: 8.25 kB / 0.5707 GB, free: 9.453 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.78158093499951]