Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.001656/0.001656, allocations: 118.9 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.002089/0.002089, 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.464/1.464, 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.2297/0.2297, allocations: 44.9 MB / 355.1 MB, free: 12.36 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.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",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.002201/0.002201, allocations: 71.89 kB / 499.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1478, allocations: 65.42 MB / 0.5518 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003995/0.1518, allocations: 1.729 MB / 0.5535 GB, free: 8.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003021/0.1548, allocations: 1.652 MB / 0.5551 GB, free: 6.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.117e-05/0.1549, allocations: 0 / 0.5551 GB, free: 6.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.1553, allocations: 35.77 kB / 0.5552 GB, free: 6.645 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003796/0.1557, allocations: 103.5 kB / 0.5553 GB, free: 6.543 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.1559, allocations: 83.66 kB / 0.5554 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.1561, allocations: 103.6 kB / 0.5554 GB, free: 6.359 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.1562, allocations: 12.27 kB / 0.5555 GB, free: 6.348 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.1563, allocations: 51.77 kB / 0.5555 GB, free: 6.297 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.1565, allocations: 43.83 kB / 0.5556 GB, free: 6.254 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.1565, allocations: 4 kB / 0.5556 GB, free: 6.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.1568, allocations: 107.9 kB / 0.5557 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.908e-05/0.1568, allocations: 23.91 kB / 0.5557 GB, free: 6.121 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.177e-05/0.1569, allocations: 31.8 kB / 0.5557 GB, free: 6.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003859/0.1573, allocations: 175.3 kB / 0.5559 GB, free: 5.918 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.1573, allocations: 0 / 0.5559 GB, free: 5.918 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.168e-06/0.1573, allocations: 0 / 0.5559 GB, free: 5.918 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.1573, allocations: 0 / 0.5559 GB, free: 5.918 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0009398/0.1583, allocations: 430.5 kB / 0.5563 GB, free: 5.449 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.755e-05/0.1583, allocations: 8.031 kB / 0.5563 GB, free: 5.441 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.344e-05/0.1584, allocations: 46.73 kB / 0.5563 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.6e-05/0.1585, allocations: 12.84 kB / 0.5564 GB, free: 5.375 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004406/0.1589, allocations: 217.8 kB / 0.5566 GB, free: 5.125 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.1589, allocations: 0 / 0.5566 GB, free: 5.125 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.159, allocations: 7.938 kB / 0.5566 GB, free: 5.117 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.1592, allocations: 67.33 kB / 0.5566 GB, free: 5.039 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.1592, allocations: 0 / 0.5566 GB, free: 5.039 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.1592, allocations: 8 kB / 0.5566 GB, free: 5.031 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1592, allocations: 4 kB / 0.5566 GB, free: 5.027 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.375e-05/0.1593, allocations: 15.98 kB / 0.5567 GB, free: 5.012 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005072/0.1598, allocations: 292.9 kB / 0.5569 GB, free: 4.676 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.16, allocations: 62.55 kB / 0.557 GB, free: 4.605 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.59e-05/0.1601, allocations: 12.86 kB / 0.557 GB, free: 4.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.1601, allocations: 8 kB / 0.557 GB, free: 4.582 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.1602, allocations: 63.39 kB / 0.5571 GB, free: 4.508 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.1602, allocations: 0 / 0.5571 GB, free: 4.508 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005876/0.1608, allocations: 173.4 kB / 0.5572 GB, free: 4.332 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.314e-05/0.1609, allocations: 81.05 kB / 0.5573 GB, free: 4.234 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.1611, allocations: 161.5 kB / 0.5575 GB, free: 4.066 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.1611, allocations: 37.7 kB / 0.5575 GB, free: 4.023 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/0.1612, allocations: 96.12 kB / 0.5576 GB, free: 3.926 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.1612, allocations: 35.72 kB / 0.5576 GB, free: 3.891 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.307e-05/0.1613, allocations: 21.72 kB / 0.5577 GB, free: 3.863 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1614, allocations: 322.8 kB / 0.558 GB, free: 3.539 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.831e-05/0.1615, allocations: 23.98 kB / 0.558 GB, free: 3.516 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.689e-05/0.1616, allocations: 50.5 kB / 0.558 GB, free: 3.457 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.1617, allocations: 53.75 kB / 0.5581 GB, free: 3.398 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1617, allocations: 0 / 0.5581 GB, free: 3.398 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002046/0.1619, allocations: 105.5 kB / 0.5582 GB, free: 3.289 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1619, allocations: 8 kB / 0.5582 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1619, allocations: 0 / 0.5582 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1619, allocations: 0 / 0.5582 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.162, allocations: 15.94 kB / 0.5582 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.162, allocations: 7.984 kB / 0.5582 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.992e-05/0.1621, allocations: 4.031 kB / 0.5582 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.1621, allocations: 4 kB / 0.5582 GB, free: 3.25 MB / 414.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.000128/0.1622, allocations: 128 kB / 0.5584 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.1622, allocations: 7.953 kB / 0.5584 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.706e-05/0.1623, allocations: 16.7 kB / 0.5584 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1623, allocations: 3.938 kB / 0.5584 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1623, allocations: 3.938 kB / 0.5584 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1623, allocations: 0 / 0.5584 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005112/0.1628, allocations: 403.3 kB / 0.5588 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1628, allocations: 3.938 kB / 0.5588 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.302e-05/0.1629, allocations: 8.375 kB / 0.5588 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1629, allocations: 0 / 0.5588 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.1629, allocations: 7.984 kB / 0.5588 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.1629, allocations: 4.188 kB / 0.5588 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1629, allocations: 0 / 0.5588 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.1631, allocations: 212.2 kB / 0.559 GB, free: 2.383 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.704e-05/0.1632, allocations: 85 kB / 0.5591 GB, free: 2.281 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.1632, allocations: 8 kB / 0.5591 GB, free: 2.273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.911e-05/0.1633, allocations: 3.984 kB / 0.5591 GB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.1634, allocations: 4 kB / 0.5591 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.1634, allocations: 4 kB / 0.5591 GB, free: 2.262 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.1635, allocations: 127.2 kB / 0.5592 GB, free: 2.137 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1635, allocations: 8 kB / 0.5592 GB, free: 2.129 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000323/0.1638, allocations: 43.88 kB / 0.5593 GB, free: 2.086 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: 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.002509/0.1663, allocations: 1.192 MB / 0.5604 GB, free: 1.086 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000212/0.1665, allocations: 51.97 kB / 0.5605 GB, free: 1.035 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1665, allocations: 4 kB / 0.5605 GB, free: 1.031 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.182e-05/0.1666, allocations: 31.91 kB / 0.5605 GB, free: 1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.167, allocations: 38.02 kB / 0.5605 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.1689, allocations: 1.594 MB / 0.5621 GB, free: 15.28 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.1693, allocations: 0.7002 MB / 0.5628 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.794e-05/0.1693, allocations: 20.83 kB / 0.5628 GB, free: 14.53 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.183e-05/0.1694, allocations: 35.41 kB / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1694, allocations: 0 / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/0.199, allocations: 4.053 MB / 0.5668 GB, free: 10.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.988/8.187, allocations: 0 / 0.5668 GB, free: 10.46 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.397905352991074]