Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.001997/0.001997, 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.002399/0.002399, 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.554/1.554, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.2338/0.2338, 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.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",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.001971/0.001971, allocations: 67.89 kB / 499.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1563, allocations: 65.43 MB / 0.5519 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003281/0.1596, allocations: 1.747 MB / 0.5536 GB, free: 8.305 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.1616, allocations: 1.04 MB / 0.5546 GB, free: 7.258 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.133e-05/0.1617, allocations: 0 / 0.5546 GB, free: 7.258 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.162, allocations: 51.75 kB / 0.5546 GB, free: 7.207 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003461/0.1623, allocations: 103.5 kB / 0.5547 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.1625, allocations: 71.73 kB / 0.5548 GB, free: 7.035 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.1627, allocations: 135.6 kB / 0.5549 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1628, allocations: 16.25 kB / 0.5549 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.1629, allocations: 59.77 kB / 0.555 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.1631, allocations: 51.77 kB / 0.555 GB, free: 6.777 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.1631, allocations: 4 kB / 0.5551 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.1632, allocations: 63.97 kB / 0.5551 GB, free: 6.711 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.515e-05/0.1633, allocations: 31.86 kB / 0.5551 GB, free: 6.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.296e-05/0.1633, allocations: 47.66 kB / 0.5552 GB, free: 6.633 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.1636, allocations: 147.3 kB / 0.5553 GB, free: 6.488 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1636, allocations: 0 / 0.5553 GB, free: 6.488 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1636, allocations: 0 / 0.5553 GB, free: 6.488 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.1636, allocations: 4 kB / 0.5553 GB, free: 6.484 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006385/0.1642, allocations: 442.5 kB / 0.5558 GB, free: 6.004 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.1643, allocations: 8.031 kB / 0.5558 GB, free: 5.996 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.869e-05/0.1643, allocations: 38.69 kB / 0.5558 GB, free: 5.949 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.1644, allocations: 16.84 kB / 0.5558 GB, free: 5.934 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.1647, allocations: 236.1 kB / 0.556 GB, free: 5.664 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1647, allocations: 384 / 0.556 GB, free: 5.664 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.1648, allocations: 15.88 kB / 0.5561 GB, free: 5.648 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.1649, allocations: 73.59 kB / 0.5561 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1649, allocations: 7.938 kB / 0.5561 GB, free: 5.562 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.165, allocations: 4 kB / 0.5561 GB, free: 5.559 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.165, allocations: 0 / 0.5561 GB, free: 5.559 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.1651, allocations: 43.95 kB / 0.5562 GB, free: 5.516 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.1655, allocations: 316.7 kB / 0.5565 GB, free: 5.156 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.1658, allocations: 78.58 kB / 0.5566 GB, free: 5.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.533e-05/0.1659, allocations: 32.84 kB / 0.5566 GB, free: 5.035 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.1659, allocations: 12.12 kB / 0.5566 GB, free: 5.023 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.1661, allocations: 75.39 kB / 0.5567 GB, free: 4.938 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.1661, allocations: 0 / 0.5567 GB, free: 4.938 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008721/0.167, allocations: 293.9 kB / 0.557 GB, free: 4.645 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.167, allocations: 59.34 kB / 0.557 GB, free: 4.574 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.1672, allocations: 202 kB / 0.5572 GB, free: 4.367 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.1672, allocations: 25.7 kB / 0.5572 GB, free: 4.336 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.284e-05/0.1673, allocations: 108.4 kB / 0.5573 GB, free: 4.227 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.044e-05/0.1674, allocations: 43.64 kB / 0.5574 GB, free: 4.184 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/0.1674, allocations: 29.7 kB / 0.5574 GB, free: 4.148 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1676, allocations: 326.8 kB / 0.5577 GB, free: 3.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.525e-05/0.1676, allocations: 36.08 kB / 0.5577 GB, free: 3.785 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.1677, allocations: 65.56 kB / 0.5578 GB, free: 3.715 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.1679, allocations: 97.7 kB / 0.5579 GB, free: 3.613 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1679, allocations: 0 / 0.5579 GB, free: 3.613 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002671/0.1682, allocations: 157.5 kB / 0.5581 GB, free: 3.453 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1682, allocations: 4 kB / 0.5581 GB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1682, allocations: 0 / 0.5581 GB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.1682, allocations: 7.984 kB / 0.5581 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.44e-05/0.1683, allocations: 31.95 kB / 0.5581 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1683, allocations: 0 / 0.5581 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.443e-05/0.1684, allocations: 4 kB / 0.5581 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.1684, allocations: 8 kB / 0.5581 GB, free: 3.398 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 (15): * Single equations (assignments): 15 * 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.0001233/0.1685, allocations: 132 kB / 0.5582 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.1685, allocations: 15.91 kB / 0.5582 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.869e-05/0.1686, allocations: 29.45 kB / 0.5583 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1686, allocations: 3.938 kB / 0.5583 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1686, allocations: 0 / 0.5583 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1686, allocations: 4 kB / 0.5583 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006217/0.1692, allocations: 484 kB / 0.5587 GB, free: 2.672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.1692, allocations: 7.984 kB / 0.5588 GB, free: 2.664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.29e-05/0.1693, allocations: 19.94 kB / 0.5588 GB, free: 2.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.1693, allocations: 4 kB / 0.5588 GB, free: 2.641 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.1694, allocations: 0 / 0.5588 GB, free: 2.641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.1694, allocations: 4 kB / 0.5588 GB, free: 2.637 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.1694, allocations: 4.047 kB / 0.5588 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004872/0.1699, allocations: 260.7 kB / 0.559 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.767e-05/0.1699, allocations: 89.02 kB / 0.5591 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/0.17, allocations: 8 kB / 0.5591 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.1701, allocations: 0 / 0.5591 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.485e-05/0.1702, allocations: 19.92 kB / 0.5591 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.1702, allocations: 8 kB / 0.5591 GB, free: 2.219 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001946/0.1704, allocations: 144.3 kB / 0.5593 GB, free: 2.078 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1704, allocations: 4 kB / 0.5593 GB, free: 2.074 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005067/0.1709, allocations: 35.92 kB / 0.5593 GB, free: 2.039 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 (13): * Single equations (assignments): 11 * 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.003129/0.174, allocations: 1.194 MB / 0.5605 GB, free: 1.027 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003364/0.1744, allocations: 103.7 kB / 0.5606 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1744, allocations: 0 / 0.5606 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.1745, allocations: 43.92 kB / 0.5606 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005712/0.1751, allocations: 42.89 kB / 0.5607 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/0.1782, allocations: 1.871 MB / 0.5625 GB, free: 14.87 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/0.1787, allocations: 0.7123 MB / 0.5632 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.1788, allocations: 25.41 kB / 0.5632 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.179, allocations: 47.42 kB / 0.5633 GB, free: 14.06 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.179, allocations: 4 kB / 0.5633 GB, free: 14.05 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03275/0.2117, allocations: 4.078 MB / 0.5673 GB, free: 10.04 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.896/8.108, allocations: 7.938 kB / 0.5673 GB, free: 10.03 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv failed! Error: Could not read variable t_new.y[3] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv. Warning: Get data of variable t_new.y[3] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.478652189020067]