Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.001299/0.001299, allocations: 124.5 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.002052/0.002052, allocations: 211.2 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.616/1.616, 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.2322/0.2322, allocations: 44.9 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.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",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.001979/0.001979, allocations: 71.88 kB / 499.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1518, allocations: 65.42 MB / 0.5518 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003398/0.1552, allocations: 1.731 MB / 0.5535 GB, free: 8.305 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002545/0.1578, allocations: 1.647 MB / 0.5551 GB, free: 6.652 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.818e-05/0.1579, allocations: 0 / 0.5551 GB, free: 6.652 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.1581, allocations: 35.77 kB / 0.5552 GB, free: 6.617 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.1585, allocations: 107.5 kB / 0.5553 GB, free: 6.512 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.1587, allocations: 83.66 kB / 0.5554 GB, free: 6.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.1589, allocations: 107.7 kB / 0.5555 GB, free: 6.324 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.154e-05/0.1589, allocations: 8.281 kB / 0.5555 GB, free: 6.316 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.63e-05/0.159, allocations: 51.77 kB / 0.5555 GB, free: 6.266 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.1592, allocations: 47.77 kB / 0.5556 GB, free: 6.219 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.1592, allocations: 4 kB / 0.5556 GB, free: 6.215 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.1594, allocations: 107.9 kB / 0.5557 GB, free: 6.109 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.489e-05/0.1595, allocations: 23.86 kB / 0.5557 GB, free: 6.086 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.1595, allocations: 31.81 kB / 0.5557 GB, free: 6.055 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.1598, allocations: 175.3 kB / 0.5559 GB, free: 5.883 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1598, allocations: 0 / 0.5559 GB, free: 5.883 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1598, allocations: 0 / 0.5559 GB, free: 5.883 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1598, allocations: 0 / 0.5559 GB, free: 5.883 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.0006388/0.1605, allocations: 434.6 kB / 0.5563 GB, free: 5.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.1605, allocations: 8.031 kB / 0.5563 GB, free: 5.402 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.42e-05/0.1605, allocations: 42.69 kB / 0.5564 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.477e-05/0.1606, allocations: 12.84 kB / 0.5564 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.1609, allocations: 221.8 kB / 0.5566 GB, free: 5.086 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.1609, allocations: 0 / 0.5566 GB, free: 5.086 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.161, allocations: 3.938 kB / 0.5566 GB, free: 5.082 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.1611, allocations: 71.38 kB / 0.5566 GB, free: 5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1611, allocations: 0 / 0.5566 GB, free: 5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1612, allocations: 4 kB / 0.5567 GB, free: 4.996 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1612, allocations: 4 kB / 0.5567 GB, free: 4.992 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.485e-05/0.1612, allocations: 19.92 kB / 0.5567 GB, free: 4.973 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.1616, allocations: 284.9 kB / 0.5569 GB, free: 4.645 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.1618, allocations: 54.67 kB / 0.557 GB, free: 4.582 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.171e-05/0.1619, allocations: 16.86 kB / 0.557 GB, free: 4.562 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.1619, allocations: 7.984 kB / 0.557 GB, free: 4.555 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.162, allocations: 67.33 kB / 0.5571 GB, free: 4.477 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.162, allocations: 4 kB / 0.5571 GB, free: 4.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005657/0.1626, allocations: 173.4 kB / 0.5573 GB, free: 4.297 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.1627, allocations: 85.03 kB / 0.5573 GB, free: 4.195 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.1629, allocations: 161.5 kB / 0.5575 GB, free: 4.027 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.1629, allocations: 29.7 kB / 0.5575 GB, free: 3.992 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.989e-05/0.163, allocations: 96.14 kB / 0.5576 GB, free: 3.895 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.163, allocations: 31.73 kB / 0.5576 GB, free: 3.863 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.382e-05/0.1631, allocations: 25.72 kB / 0.5577 GB, free: 3.832 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1632, allocations: 322.8 kB / 0.558 GB, free: 3.508 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.293e-05/0.1633, allocations: 23.98 kB / 0.558 GB, free: 3.484 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.507e-05/0.1634, allocations: 46.5 kB / 0.558 GB, free: 3.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.1635, allocations: 61.69 kB / 0.5581 GB, free: 3.363 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1635, allocations: 0 / 0.5581 GB, free: 3.363 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001979/0.1637, allocations: 101.6 kB / 0.5582 GB, free: 3.258 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1637, allocations: 8 kB / 0.5582 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1637, allocations: 384 / 0.5582 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1637, allocations: 0 / 0.5582 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.138e-05/0.1638, allocations: 19.92 kB / 0.5582 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.1638, allocations: 8 kB / 0.5582 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.891e-05/0.1639, allocations: 0 / 0.5582 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.1639, allocations: 8.031 kB / 0.5582 GB, free: 3.215 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.0001107/0.164, allocations: 120 kB / 0.5584 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.164, allocations: 15.94 kB / 0.5584 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/0.1641, allocations: 12.72 kB / 0.5584 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1641, allocations: 3.938 kB / 0.5584 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1641, allocations: 3.938 kB / 0.5584 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1641, allocations: 0 / 0.5584 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005095/0.1646, allocations: 399.3 kB / 0.5588 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.1646, allocations: 7.938 kB / 0.5588 GB, free: 2.598 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.472e-05/0.1646, allocations: 11.92 kB / 0.5588 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1646, allocations: 4 kB / 0.5588 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1646, allocations: 0 / 0.5588 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1646, allocations: 0 / 0.5588 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.1646, allocations: 4 kB / 0.5588 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.1649, allocations: 208.6 kB / 0.559 GB, free: 2.355 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-05/0.1649, allocations: 88.98 kB / 0.5591 GB, free: 2.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.165, allocations: 8 kB / 0.5591 GB, free: 2.242 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.165, allocations: 0 / 0.5591 GB, free: 2.242 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.1651, allocations: 11.97 kB / 0.5591 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.1651, allocations: 4 kB / 0.5591 GB, free: 2.227 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.1652, allocations: 127.2 kB / 0.5592 GB, free: 2.102 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1652, allocations: 0 / 0.5592 GB, free: 2.102 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002983/0.1655, allocations: 51.86 kB / 0.5593 GB, free: 2.051 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.002454/0.168, allocations: 1.186 MB / 0.5604 GB, free: 1.055 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.1682, allocations: 55.91 kB / 0.5605 GB, free: 1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1682, allocations: 0 / 0.5605 GB, free: 1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.678e-05/0.1683, allocations: 31.92 kB / 0.5605 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.1686, allocations: 35.2 kB / 0.5605 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.1704, allocations: 1.589 MB / 0.5621 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.1707, allocations: 0.7002 MB / 0.5628 GB, free: 14.53 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.579e-05/0.1708, allocations: 13.19 kB / 0.5628 GB, free: 14.51 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.462e-05/0.1709, allocations: 35.42 kB / 0.5628 GB, free: 14.48 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1709, allocations: 4 kB / 0.5628 GB, free: 14.47 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.1987, allocations: 4.059 MB / 0.5668 GB, free: 10.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.986/8.185, allocations: 3.938 kB / 0.5668 GB, free: 10.43 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_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_Test60.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.565624697133899]