Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001322/0.001322, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001352/0.001352, allocations: 203.3 kB / 20.74 MB, free: 2.316 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.533/1.533, 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.2318/0.2318, allocations: 44.9 MB / 355.1 MB, free: 12.34 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.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",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.002157/0.002157, allocations: 75.89 kB / 499.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1468, allocations: 65.41 MB / 0.5518 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003368/0.1502, allocations: 1.754 MB / 0.5536 GB, free: 8.297 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.152, allocations: 1.04 MB / 0.5546 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.553e-05/0.1521, allocations: 4 kB / 0.5546 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00033/0.1524, allocations: 87.67 kB / 0.5547 GB, free: 7.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000348/0.1528, allocations: 119.5 kB / 0.5548 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.153, allocations: 79.73 kB / 0.5548 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.1532, allocations: 127.6 kB / 0.555 GB, free: 6.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1533, allocations: 12.27 kB / 0.555 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.1534, allocations: 63.75 kB / 0.555 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.1536, allocations: 75.73 kB / 0.5551 GB, free: 6.691 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.1536, allocations: 4 kB / 0.5551 GB, free: 6.688 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.1537, allocations: 59.97 kB / 0.5552 GB, free: 6.629 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.905e-05/0.1538, allocations: 27.86 kB / 0.5552 GB, free: 6.602 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.013e-05/0.1538, allocations: 43.67 kB / 0.5552 GB, free: 6.559 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.1541, allocations: 139.4 kB / 0.5554 GB, free: 6.422 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1541, allocations: 0 / 0.5554 GB, free: 6.422 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1541, allocations: 3.938 kB / 0.5554 GB, free: 6.418 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1541, allocations: 0 / 0.5554 GB, free: 6.418 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.0006067/0.1547, allocations: 454.4 kB / 0.5558 GB, free: 5.926 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1547, allocations: 8.031 kB / 0.5558 GB, free: 5.918 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.558e-05/0.1548, allocations: 38.69 kB / 0.5559 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.1548, allocations: 12.84 kB / 0.5559 GB, free: 5.859 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.1551, allocations: 224.9 kB / 0.5561 GB, free: 5.598 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.1551, allocations: 384 / 0.5561 GB, free: 5.598 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.1552, allocations: 11.92 kB / 0.5561 GB, free: 5.586 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.1553, allocations: 61.66 kB / 0.5562 GB, free: 5.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1553, allocations: 0 / 0.5562 GB, free: 5.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.1553, allocations: 8 kB / 0.5562 GB, free: 5.512 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1553, allocations: 0 / 0.5562 GB, free: 5.512 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.185e-05/0.1554, allocations: 23.92 kB / 0.5562 GB, free: 5.488 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.1558, allocations: 300.8 kB / 0.5565 GB, free: 5.145 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.1561, allocations: 62.55 kB / 0.5565 GB, free: 5.074 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.834e-05/0.1561, allocations: 20.97 kB / 0.5566 GB, free: 5.051 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.1561, allocations: 4 kB / 0.5566 GB, free: 5.047 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.1563, allocations: 71.33 kB / 0.5566 GB, free: 4.965 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.1563, allocations: 0 / 0.5566 GB, free: 4.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007713/0.1571, allocations: 249.2 kB / 0.5569 GB, free: 4.715 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.1571, allocations: 59.34 kB / 0.5569 GB, free: 4.645 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.1573, allocations: 238.1 kB / 0.5571 GB, free: 4.402 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.1574, allocations: 29.7 kB / 0.5572 GB, free: 4.367 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.292e-05/0.1574, allocations: 112.1 kB / 0.5573 GB, free: 4.254 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.925e-05/0.1575, allocations: 31.73 kB / 0.5573 GB, free: 4.223 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.448e-05/0.1575, allocations: 29.72 kB / 0.5573 GB, free: 4.188 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1577, allocations: 330.8 kB / 0.5577 GB, free: 3.855 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.844e-05/0.1578, allocations: 20 kB / 0.5577 GB, free: 3.836 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.333e-05/0.1578, allocations: 61.25 kB / 0.5577 GB, free: 3.773 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.158, allocations: 77.66 kB / 0.5578 GB, free: 3.691 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.158, allocations: 0 / 0.5578 GB, free: 3.691 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002356/0.1582, allocations: 129.5 kB / 0.5579 GB, free: 3.559 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1582, allocations: 6.188 kB / 0.5579 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1583, allocations: 0 / 0.5579 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1583, allocations: 4 kB / 0.5579 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.852e-05/0.1584, allocations: 23.92 kB / 0.558 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1584, allocations: 4.734 kB / 0.558 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.692e-05/0.1584, allocations: 4 kB / 0.558 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.1584, allocations: 8 kB / 0.558 GB, free: 3.512 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 (13): * Single equations (assignments): 13 * 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.0001362/0.1586, allocations: 139.9 kB / 0.5581 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.1586, allocations: 15.91 kB / 0.5581 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.022e-05/0.1586, allocations: 25.33 kB / 0.5582 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1587, allocations: 3.938 kB / 0.5582 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1587, allocations: 0 / 0.5582 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1587, allocations: 0 / 0.5582 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006043/0.1593, allocations: 464 kB / 0.5586 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1593, allocations: 0 / 0.5586 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.451e-05/0.1593, allocations: 15.98 kB / 0.5586 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1593, allocations: 0 / 0.5586 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.1593, allocations: 4 kB / 0.5586 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1593, allocations: 0 / 0.5586 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.1593, allocations: 4 kB / 0.5586 GB, free: 2.777 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.1596, allocations: 241.1 kB / 0.5589 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-05/0.1597, allocations: 89.02 kB / 0.5589 GB, free: 2.414 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.1597, allocations: 4 kB / 0.5589 GB, free: 2.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.443e-05/0.1598, allocations: 7.938 kB / 0.5589 GB, free: 2.402 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.1599, allocations: 7.984 kB / 0.559 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.1599, allocations: 8 kB / 0.559 GB, free: 2.387 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001858/0.1601, allocations: 180.4 kB / 0.5591 GB, free: 2.211 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1601, allocations: 0 / 0.5591 GB, free: 2.211 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.1603, allocations: 27.94 kB / 0.5592 GB, free: 2.184 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002531/0.1629, allocations: 1.177 MB / 0.5603 GB, free: 1.188 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002313/0.1631, allocations: 75.91 kB / 0.5604 GB, free: 1.113 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1631, allocations: 0 / 0.5604 GB, free: 1.113 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.502e-05/0.1632, allocations: 31.92 kB / 0.5604 GB, free: 1.082 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.1636, allocations: 41.38 kB / 0.5605 GB, free: 1.043 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.1658, allocations: 1.869 MB / 0.5623 GB, free: 15.08 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.1662, allocations: 0.7158 MB / 0.563 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.876e-05/0.1663, allocations: 24.61 kB / 0.563 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.413e-05/0.1664, allocations: 43.42 kB / 0.563 GB, free: 14.27 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1664, allocations: 0 / 0.563 GB, free: 14.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.1912, allocations: 3.983 MB / 0.5669 GB, free: 10.35 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.894/8.086, allocations: 7.875 kB / 0.5669 GB, free: 10.34 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.41094161896035]