Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001321/0.001321, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.001493/0.001493, allocations: 203.3 kB / 20.74 MB, free: 2.34 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.441/1.441, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2143/0.2143, 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.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",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.003162/0.003162, allocations: 71.89 kB / 499.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1426, allocations: 65.42 MB / 0.5518 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003099/0.1457, allocations: 1.821 MB / 0.5536 GB, free: 8.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.1475, allocations: 1.115 MB / 0.5547 GB, free: 7.133 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.766e-05/0.1476, allocations: 3.938 kB / 0.5547 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000487/0.1481, allocations: 299.3 kB / 0.555 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004565/0.1486, allocations: 255.2 kB / 0.5552 GB, free: 6.586 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.1488, allocations: 103.7 kB / 0.5553 GB, free: 6.484 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003608/0.1491, allocations: 267.2 kB / 0.5556 GB, free: 6.223 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.188e-05/0.1492, allocations: 13.62 kB / 0.5556 GB, free: 6.207 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.1494, allocations: 131.6 kB / 0.5557 GB, free: 6.078 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.1496, allocations: 215.9 kB / 0.5559 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.1496, allocations: 4 kB / 0.5559 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.1497, allocations: 43.98 kB / 0.556 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.1499, allocations: 132.5 kB / 0.5561 GB, free: 5.691 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.15, allocations: 154.7 kB / 0.5562 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004208/0.1504, allocations: 370.5 kB / 0.5566 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.1504, allocations: 0 / 0.5566 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.1504, allocations: 3.938 kB / 0.5566 GB, free: 5.172 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.311e-06/0.1505, allocations: 0 / 0.5566 GB, free: 5.172 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.0009886/0.1514, allocations: 0.7578 MB / 0.5573 GB, free: 4.363 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.1515, allocations: 8.031 kB / 0.5573 GB, free: 4.355 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.745e-05/0.1515, allocations: 38.75 kB / 0.5574 GB, free: 4.309 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.29e-05/0.1516, allocations: 56.59 kB / 0.5574 GB, free: 4.254 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006255/0.1522, allocations: 456.3 kB / 0.5579 GB, free: 3.766 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.1522, allocations: 4.375 kB / 0.5579 GB, free: 3.762 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.1523, allocations: 7.938 kB / 0.5579 GB, free: 3.754 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.1525, allocations: 87.34 kB / 0.558 GB, free: 3.656 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1525, allocations: 3.984 kB / 0.558 GB, free: 3.652 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1525, allocations: 0 / 0.558 GB, free: 3.652 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1525, allocations: 0 / 0.558 GB, free: 3.652 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.1526, allocations: 35.92 kB / 0.558 GB, free: 3.617 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.153, allocations: 378.3 kB / 0.5584 GB, free: 3.195 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.1533, allocations: 101.1 kB / 0.5585 GB, free: 3.078 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.968e-05/0.1534, allocations: 45.69 kB / 0.5585 GB, free: 3.027 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.1534, allocations: 0 / 0.5585 GB, free: 3.027 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.1536, allocations: 109 kB / 0.5586 GB, free: 2.902 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.1536, allocations: 0 / 0.5586 GB, free: 2.902 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004867/0.1541, allocations: 201.3 kB / 0.5588 GB, free: 2.699 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.1542, allocations: 85.03 kB / 0.5589 GB, free: 2.598 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.1553, allocations: 1.019 MB / 0.5599 GB, free: 1.566 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.1553, allocations: 29.7 kB / 0.5599 GB, free: 1.531 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.1555, allocations: 236.1 kB / 0.5601 GB, free: 1.297 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.1556, allocations: 27.78 kB / 0.5602 GB, free: 1.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/0.1556, allocations: 25.72 kB / 0.5602 GB, free: 1.238 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.1558, allocations: 370.8 kB / 0.5605 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.237e-05/0.1559, allocations: 31.97 kB / 0.5606 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.156, allocations: 55.42 kB / 0.5606 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.1562, allocations: 91.34 kB / 0.5607 GB, free: 0.668 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1562, allocations: 4.438 kB / 0.5607 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003146/0.1565, allocations: 173.2 kB / 0.5609 GB, free: 500 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1565, allocations: 4 kB / 0.5609 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1565, allocations: 3.938 kB / 0.5609 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1565, allocations: 4 kB / 0.5609 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.1567, allocations: 27.86 kB / 0.5609 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.1567, allocations: 4 kB / 0.5609 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.503e-05/0.1568, allocations: 12.02 kB / 0.5609 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.1568, allocations: 11.98 kB / 0.5609 GB, free: 432 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.0002225/0.157, allocations: 215.9 kB / 0.5611 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-05/0.1571, allocations: 51.67 kB / 0.5612 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.726e-05/0.1571, allocations: 64.09 kB / 0.5613 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1572, allocations: 3.938 kB / 0.5613 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1572, allocations: 0 / 0.5613 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1572, allocations: 3.984 kB / 0.5613 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000339/0.1575, allocations: 345.3 kB / 0.5616 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1575, allocations: 0 / 0.5616 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/0.1575, allocations: 15.98 kB / 0.5616 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1575, allocations: 0 / 0.5616 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.1576, allocations: 4 kB / 0.5616 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1576, allocations: 0 / 0.5616 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1576, allocations: 0 / 0.5616 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.1579, allocations: 213.4 kB / 0.5618 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/0.1581, allocations: 144.8 kB / 0.562 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.1582, allocations: 4 kB / 0.562 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.076e-05/0.1582, allocations: 4 kB / 0.562 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.1583, allocations: 11.98 kB / 0.562 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.1583, allocations: 4 kB / 0.562 GB, free: 15.26 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008405/0.1591, allocations: 0.7643 MB / 0.5627 GB, free: 14.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1591, allocations: 0 / 0.5627 GB, free: 14.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.1594, allocations: 40 kB / 0.5628 GB, free: 14.46 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.002087/0.1615, allocations: 1.057 MB / 0.5638 GB, free: 13.53 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002611/0.1618, allocations: 79.84 kB / 0.5639 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1618, allocations: 0 / 0.5639 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.1619, allocations: 36.11 kB / 0.5639 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.1623, allocations: 69.52 kB / 0.564 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005499/0.1678, allocations: 4.484 MB / 0.5683 GB, free: 8.762 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004805/0.1683, allocations: 0.8388 MB / 0.5692 GB, free: 7.895 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001312/0.1684, allocations: 58.94 kB / 0.5692 GB, free: 7.836 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.1686, allocations: 151.4 kB / 0.5694 GB, free: 7.691 MB / 430.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1686, allocations: 0 / 0.5694 GB, free: 7.691 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03205/0.2007, allocations: 8.983 MB / 0.5781 GB, free: 14.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.887/9.087, allocations: 7.453 kB / 0.5781 GB, free: 14.77 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_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_Test69.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.168603955768049]