Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.001421/0.001421, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001589/0.001589, allocations: 211.3 kB / 23.73 MB, free: 4.387 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.473/1.473, allocations: 230.6 MB / 257.5 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.2239/0.2239, allocations: 44.93 MB / 358.8 MB, free: 6.172 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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",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.002113/0.002113, allocations: 63.91 kB / 0.4931 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3483, allocations: 65.47 MB / 0.557 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003435/0.3518, allocations: 1.9 MB / 0.5589 GB, free: 5.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.3536, allocations: 1.007 MB / 0.5599 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.113e-05/0.3537, allocations: 0 / 0.5599 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003248/0.354, allocations: 55.62 kB / 0.5599 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.3543, allocations: 95.55 kB / 0.56 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.3546, allocations: 103.6 kB / 0.5601 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.3548, allocations: 139.6 kB / 0.5602 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.3549, allocations: 27.5 kB / 0.5603 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.486e-05/0.355, allocations: 63.72 kB / 0.5603 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.3551, allocations: 47.7 kB / 0.5604 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.3551, allocations: 8 kB / 0.5604 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.3552, allocations: 47.98 kB / 0.5604 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.3553, allocations: 31.84 kB / 0.5605 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.796e-05/0.3554, allocations: 39.73 kB / 0.5605 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.3556, allocations: 159.2 kB / 0.5606 GB, free: 3.816 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3556, allocations: 0 / 0.5606 GB, free: 3.816 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3556, allocations: 7.938 kB / 0.5606 GB, free: 3.809 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.3556, allocations: 0 / 0.5606 GB, free: 3.809 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006748/0.3563, allocations: 409.5 kB / 0.561 GB, free: 3.375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3563, allocations: 8.031 kB / 0.561 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.001e-05/0.3564, allocations: 38.75 kB / 0.5611 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.3564, allocations: 20.83 kB / 0.5611 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.3568, allocations: 171 kB / 0.5613 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.3568, allocations: 12.36 kB / 0.5613 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.3568, allocations: 7.938 kB / 0.5613 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.3571, allocations: 137 kB / 0.5614 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3571, allocations: 8 kB / 0.5614 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.3571, allocations: 0 / 0.5614 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.3571, allocations: 4 kB / 0.5614 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.3573, allocations: 51.91 kB / 0.5615 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006747/0.3579, allocations: 476 kB / 0.5619 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.3583, allocations: 82.66 kB / 0.562 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.741e-05/0.3584, allocations: 32.84 kB / 0.562 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.3584, allocations: 11.94 kB / 0.5621 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002527/0.3586, allocations: 113 kB / 0.5622 GB, free: 2.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.814e-06/0.3586, allocations: 4 kB / 0.5622 GB, free: 2.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004581/0.3591, allocations: 149.4 kB / 0.5623 GB, free: 1.934 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.3592, allocations: 51.41 kB / 0.5624 GB, free: 1.871 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.3594, allocations: 207.1 kB / 0.5626 GB, free: 1.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.3594, allocations: 29.7 kB / 0.5626 GB, free: 1.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.593e-05/0.3595, allocations: 116 kB / 0.5627 GB, free: 1.508 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/0.3596, allocations: 43.72 kB / 0.5627 GB, free: 1.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/0.3596, allocations: 21.72 kB / 0.5628 GB, free: 1.438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.3598, allocations: 326.8 kB / 0.5631 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.434e-05/0.3599, allocations: 31.97 kB / 0.5631 GB, free: 1.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.36, allocations: 72.2 kB / 0.5632 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.3602, allocations: 96.22 kB / 0.5633 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3602, allocations: 0 / 0.5633 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00029/0.3605, allocations: 137.8 kB / 0.5634 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.3605, allocations: 12.08 kB / 0.5634 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.3606, allocations: 3.938 kB / 0.5634 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/0.3606, allocations: 7.938 kB / 0.5634 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.3607, allocations: 16 kB / 0.5634 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-05/0.3607, allocations: 12.05 kB / 0.5634 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.649e-05/0.3608, allocations: 23.88 kB / 0.5635 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.3608, allocations: 4 kB / 0.5635 GB, free: 0.6641 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001354/0.3609, allocations: 128.5 kB / 0.5636 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.361, allocations: 15.91 kB / 0.5636 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.3613, allocations: 131 kB / 0.5637 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3613, allocations: 3.938 kB / 0.5637 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3613, allocations: 0 / 0.5637 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3613, allocations: 0 / 0.5637 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.3615, allocations: 180.7 kB / 0.5639 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3615, allocations: 0 / 0.5639 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.045e-05/0.3616, allocations: 12 kB / 0.5639 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3616, allocations: 0 / 0.5639 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.3616, allocations: 7.938 kB / 0.5639 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.3616, allocations: 3.938 kB / 0.5639 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3616, allocations: 0 / 0.5639 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004194/0.362, allocations: 192.9 kB / 0.5641 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.3621, allocations: 19.88 kB / 0.5641 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.3621, allocations: 8.047 kB / 0.5641 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.395e-05/0.3621, allocations: 11.94 kB / 0.5641 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.3622, allocations: 11.98 kB / 0.5642 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.3622, allocations: 3.938 kB / 0.5642 GB, free: 15.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001531/0.3624, allocations: 147.2 kB / 0.5643 GB, free: 15.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3624, allocations: 0 / 0.5643 GB, free: 15.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.3626, allocations: 27.98 kB / 0.5643 GB, free: 15.7 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.002421/0.365, allocations: 1.069 MB / 0.5654 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002848/0.3653, allocations: 87.77 kB / 0.5655 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3653, allocations: 0 / 0.5655 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.3654, allocations: 31.98 kB / 0.5655 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.3658, allocations: 48.28 kB / 0.5655 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.3681, allocations: 1.77 MB / 0.5673 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.3682, allocations: 105.8 kB / 0.5674 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.176e-05/0.3683, allocations: 17.42 kB / 0.5674 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.012e-05/0.3683, allocations: 43.42 kB / 0.5674 GB, free: 12.56 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3683, allocations: 0 / 0.5674 GB, free: 12.56 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03266/0.401, allocations: 4.558 MB / 0.5719 GB, free: 8.066 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.73, allocations: 11.19 kB / 0.5719 GB, free: 8.059 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.859818859957159]