Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.001314/0.001314, allocations: 124.3 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.001358/0.001358, allocations: 203.3 kB / 20.75 MB, free: 2.277 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.483/1.483, 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.2276/0.2276, allocations: 44.9 MB / 355.1 MB, free: 12.33 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.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",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.002012/0.002012, allocations: 67.88 kB / 499.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1425, allocations: 65.42 MB / 0.5518 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.004424/0.1469, allocations: 1.83 MB / 0.5536 GB, free: 8.246 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.1493, allocations: 1.105 MB / 0.5547 GB, free: 7.137 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.1494, allocations: 4 kB / 0.5547 GB, free: 7.133 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006116/0.15, allocations: 315.2 kB / 0.555 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005397/0.1505, allocations: 259.2 kB / 0.5552 GB, free: 6.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.1508, allocations: 99.69 kB / 0.5553 GB, free: 6.473 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003623/0.1512, allocations: 267.2 kB / 0.5556 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.243e-05/0.1512, allocations: 9.672 kB / 0.5556 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.1514, allocations: 143.5 kB / 0.5557 GB, free: 6.059 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.1517, allocations: 223.5 kB / 0.5559 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.1517, allocations: 4 kB / 0.5559 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.1518, allocations: 43.98 kB / 0.556 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.152, allocations: 139.6 kB / 0.5561 GB, free: 5.656 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.1522, allocations: 146.8 kB / 0.5563 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004762/0.1526, allocations: 386.4 kB / 0.5566 GB, free: 5.133 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1526, allocations: 0 / 0.5566 GB, free: 5.133 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1526, allocations: 0 / 0.5566 GB, free: 5.133 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.1526, allocations: 4 kB / 0.5566 GB, free: 5.129 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.0011/0.1537, allocations: 0.7616 MB / 0.5574 GB, free: 4.316 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.1538, allocations: 8.031 kB / 0.5574 GB, free: 4.309 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.315e-05/0.1539, allocations: 50.73 kB / 0.5574 GB, free: 4.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.319e-05/0.1539, allocations: 48.61 kB / 0.5575 GB, free: 4.203 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007264/0.1547, allocations: 460.3 kB / 0.5579 GB, free: 3.711 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1547, allocations: 4.375 kB / 0.5579 GB, free: 3.707 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.1547, allocations: 7.938 kB / 0.5579 GB, free: 3.699 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.1549, allocations: 87.36 kB / 0.558 GB, free: 3.602 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1549, allocations: 0 / 0.558 GB, free: 3.602 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1549, allocations: 0 / 0.558 GB, free: 3.602 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.155, allocations: 4 kB / 0.558 GB, free: 3.598 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.1551, allocations: 31.91 kB / 0.558 GB, free: 3.566 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.1555, allocations: 386.3 kB / 0.5584 GB, free: 3.137 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.1558, allocations: 101.2 kB / 0.5585 GB, free: 3.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.1559, allocations: 41.64 kB / 0.5586 GB, free: 2.973 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.1559, allocations: 0 / 0.5586 GB, free: 2.973 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002428/0.1562, allocations: 109 kB / 0.5587 GB, free: 2.848 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.1562, allocations: 4 kB / 0.5587 GB, free: 2.844 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005335/0.1567, allocations: 197.2 kB / 0.5589 GB, free: 2.645 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.1568, allocations: 85.11 kB / 0.5589 GB, free: 2.543 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.158, allocations: 1.05 MB / 0.56 GB, free: 1.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.158, allocations: 29.7 kB / 0.56 GB, free: 1.445 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.1582, allocations: 236.1 kB / 0.5602 GB, free: 1.211 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.727e-05/0.1583, allocations: 35.73 kB / 0.5602 GB, free: 1.176 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-05/0.1584, allocations: 37.64 kB / 0.5603 GB, free: 1.133 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002224/0.1586, allocations: 366.8 kB / 0.5606 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.54e-05/0.1587, allocations: 23.98 kB / 0.5607 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.1588, allocations: 59.41 kB / 0.5607 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/0.159, allocations: 91.86 kB / 0.5608 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.159, allocations: 3.938 kB / 0.5608 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003619/0.1594, allocations: 177.2 kB / 0.561 GB, free: 396 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1594, allocations: 4 kB / 0.561 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1594, allocations: 0 / 0.561 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.1594, allocations: 4 kB / 0.561 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.1596, allocations: 23.92 kB / 0.561 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.1596, allocations: 0 / 0.561 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.1597, allocations: 20 kB / 0.561 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.1597, allocations: 4 kB / 0.561 GB, free: 340 kB / 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002748/0.16, allocations: 227.9 kB / 0.5612 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.728e-05/0.1601, allocations: 51.62 kB / 0.5613 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.1602, allocations: 60.19 kB / 0.5613 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1602, allocations: 0 / 0.5613 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.1602, allocations: 7.938 kB / 0.5614 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1602, allocations: 0 / 0.5614 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004007/0.1606, allocations: 349.3 kB / 0.5617 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.1606, allocations: 7.984 kB / 0.5617 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.792e-05/0.1606, allocations: 11.94 kB / 0.5617 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1606, allocations: 0 / 0.5617 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.1606, allocations: 7.984 kB / 0.5617 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1606, allocations: 0 / 0.5617 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1606, allocations: 0 / 0.5617 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000385/0.161, allocations: 213.4 kB / 0.5619 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.1612, allocations: 140.8 kB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.604e-05/0.1612, allocations: 4 kB / 0.5621 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.599e-05/0.1613, allocations: 7.984 kB / 0.5621 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.1614, allocations: 4 kB / 0.5621 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.1614, allocations: 16.11 kB / 0.5621 GB, free: 15.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009547/0.1624, allocations: 0.78 MB / 0.5628 GB, free: 14.37 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1624, allocations: 0 / 0.5628 GB, free: 14.37 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002977/0.1627, allocations: 44 kB / 0.5629 GB, free: 14.32 MB / 430.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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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.002213/0.1649, allocations: 1.054 MB / 0.5639 GB, free: 13.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002909/0.1652, allocations: 79.91 kB / 0.564 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1652, allocations: 4.125 kB / 0.564 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.1653, allocations: 36.3 kB / 0.564 GB, free: 13.28 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/0.1657, allocations: 70.75 kB / 0.5641 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006356/0.1721, allocations: 4.567 MB / 0.5686 GB, free: 8.547 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005531/0.1726, allocations: 0.8505 MB / 0.5694 GB, free: 7.668 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001658/0.1728, allocations: 58.94 kB / 0.5694 GB, free: 7.609 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.173, allocations: 147.4 kB / 0.5696 GB, free: 7.469 MB / 430.1 MB Notification: Performance of SimCode: time 1.232e-06/0.173, allocations: 0 / 0.5696 GB, free: 7.469 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03685/0.2099, allocations: 9.153 MB / 0.5785 GB, free: 14.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.842/9.052, allocations: 10.88 kB / 0.5785 GB, free: 14.38 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.57542 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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: 12.332314594183117]