Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001702/0.001702, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001828/0.001828, allocations: 209.6 kB / 20.75 MB, free: 2.27 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.514/1.514, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2402/0.2402, allocations: 44.91 MB / 355.1 MB, free: 12.32 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.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",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.001922/0.001922, allocations: 75.89 kB / 499.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1388, allocations: 65.41 MB / 0.5518 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003554/0.1423, allocations: 1.838 MB / 0.5536 GB, free: 8.234 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002596/0.1449, allocations: 1.715 MB / 0.5553 GB, free: 6.512 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.383e-05/0.145, allocations: 4 kB / 0.5553 GB, free: 6.508 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.1453, allocations: 47.64 kB / 0.5553 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003994/0.1457, allocations: 143.4 kB / 0.5555 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.146, allocations: 103.7 kB / 0.5556 GB, free: 6.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.1462, allocations: 207.3 kB / 0.5558 GB, free: 6.016 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.365e-05/0.1463, allocations: 13.66 kB / 0.5558 GB, free: 6 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.1464, allocations: 87.58 kB / 0.5559 GB, free: 5.914 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.1467, allocations: 95.59 kB / 0.5559 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.1467, allocations: 8 kB / 0.556 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.1469, allocations: 115.9 kB / 0.5561 GB, free: 5.699 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.59e-05/0.147, allocations: 31.84 kB / 0.5561 GB, free: 5.668 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.772e-05/0.147, allocations: 67.59 kB / 0.5562 GB, free: 5.602 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.1474, allocations: 231.3 kB / 0.5564 GB, free: 5.375 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1474, allocations: 0 / 0.5564 GB, free: 5.375 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1474, allocations: 3.938 kB / 0.5564 GB, free: 5.371 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1474, allocations: 0 / 0.5564 GB, free: 5.371 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007537/0.1482, allocations: 0.4942 MB / 0.5569 GB, free: 4.828 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.1482, allocations: 8.031 kB / 0.5569 GB, free: 4.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.482e-05/0.1482, allocations: 38.75 kB / 0.5569 GB, free: 4.773 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.396e-05/0.1483, allocations: 16.84 kB / 0.5569 GB, free: 4.758 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.1487, allocations: 263.8 kB / 0.5572 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.1487, allocations: 4.375 kB / 0.5572 GB, free: 4.457 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.1487, allocations: 7.938 kB / 0.5572 GB, free: 4.449 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.1489, allocations: 101.1 kB / 0.5573 GB, free: 4.332 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1489, allocations: 0 / 0.5573 GB, free: 4.332 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.149, allocations: 0 / 0.5573 GB, free: 4.332 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.149, allocations: 4 kB / 0.5573 GB, free: 4.328 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.1491, allocations: 39.89 kB / 0.5573 GB, free: 4.289 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002467/0.1493, allocations: 214.5 kB / 0.5575 GB, free: 4.027 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.1496, allocations: 105.1 kB / 0.5576 GB, free: 3.906 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.197e-05/0.1497, allocations: 37.7 kB / 0.5577 GB, free: 3.863 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.1497, allocations: 0 / 0.5577 GB, free: 3.863 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002357/0.1499, allocations: 113 kB / 0.5578 GB, free: 3.734 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.15, allocations: 0 / 0.5578 GB, free: 3.734 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004563/0.1504, allocations: 165.9 kB / 0.5579 GB, free: 3.566 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.1505, allocations: 136.5 kB / 0.5581 GB, free: 3.402 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.1508, allocations: 236.2 kB / 0.5583 GB, free: 3.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.1508, allocations: 33.7 kB / 0.5583 GB, free: 3.121 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.151, allocations: 120.1 kB / 0.5584 GB, free: 3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.267e-05/0.151, allocations: 35.72 kB / 0.5585 GB, free: 2.965 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.432e-05/0.1511, allocations: 25.72 kB / 0.5585 GB, free: 2.934 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1513, allocations: 330.8 kB / 0.5588 GB, free: 2.602 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.751e-05/0.1513, allocations: 31.92 kB / 0.5588 GB, free: 2.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.1515, allocations: 73.2 kB / 0.5589 GB, free: 2.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.1517, allocations: 91.34 kB / 0.559 GB, free: 2.379 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.1517, allocations: 3.938 kB / 0.559 GB, free: 2.375 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002782/0.152, allocations: 129.6 kB / 0.5591 GB, free: 2.242 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.152, allocations: 12 kB / 0.5591 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.152, allocations: 0 / 0.5591 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.152, allocations: 4 kB / 0.5591 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.1521, allocations: 23.92 kB / 0.5592 GB, free: 2.203 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1521, allocations: 0 / 0.5592 GB, free: 2.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.685e-05/0.1522, allocations: 19.94 kB / 0.5592 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.1522, allocations: 7.938 kB / 0.5592 GB, free: 2.176 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001284/0.1523, allocations: 135.8 kB / 0.5593 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.1524, allocations: 23.91 kB / 0.5593 GB, free: 2.012 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/0.1524, allocations: 16.98 kB / 0.5594 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1524, allocations: 4 kB / 0.5594 GB, free: 1.988 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1524, allocations: 0 / 0.5594 GB, free: 1.988 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1524, allocations: 0 / 0.5594 GB, free: 1.988 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.1526, allocations: 233.5 kB / 0.5596 GB, free: 1.711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1526, allocations: 0 / 0.5596 GB, free: 1.711 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.26e-05/0.1527, allocations: 8.125 kB / 0.5596 GB, free: 1.703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1527, allocations: 4 kB / 0.5596 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1527, allocations: 0 / 0.5596 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1527, allocations: 0 / 0.5596 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.1527, allocations: 11.98 kB / 0.5596 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.153, allocations: 169.7 kB / 0.5598 GB, free: 1.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.479e-05/0.1531, allocations: 89.02 kB / 0.5599 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/0.1531, allocations: 11.98 kB / 0.5599 GB, free: 1.383 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.956e-05/0.1532, allocations: 4 kB / 0.5599 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.1532, allocations: 11.98 kB / 0.5599 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.1532, allocations: 4 kB / 0.5599 GB, free: 1.363 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001869/0.1534, allocations: 177.6 kB / 0.5601 GB, free: 1.191 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1534, allocations: 0 / 0.5601 GB, free: 1.191 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.1537, allocations: 59.86 kB / 0.5601 GB, free: 1.133 MB / 414.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002216/0.1559, allocations: 1.117 MB / 0.5612 GB, free: 180 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002535/0.1562, allocations: 83.89 kB / 0.5613 GB, free: 96 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1562, allocations: 0 / 0.5613 GB, free: 96 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.941e-05/0.1563, allocations: 31.98 kB / 0.5613 GB, free: 64 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.1566, allocations: 56.36 kB / 0.5614 GB, free: 16 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.1589, allocations: 1.897 MB / 0.5632 GB, free: 14.01 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.1593, allocations: 0.7242 MB / 0.5639 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.425e-05/0.1594, allocations: 29.52 kB / 0.564 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.1595, allocations: 63.34 kB / 0.564 GB, free: 13.17 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1595, allocations: 0 / 0.564 GB, free: 13.17 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03014/0.1897, allocations: 5.332 MB / 0.5692 GB, free: 7.867 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.194/8.384, allocations: 11.94 kB / 0.5692 GB, free: 7.855 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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: 11.642436459194869]