Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.001809/0.001809, allocations: 120.5 kB / 17.79 MB, free: 5.344 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.002314/0.002314, allocations: 219.2 kB / 20.76 MB, free: 2.383 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.602/1.602, 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.2267/0.2267, 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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",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.002006/0.002006, allocations: 71.89 kB / 499.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1493, allocations: 65.42 MB / 0.5518 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003704/0.153, allocations: 1.735 MB / 0.5535 GB, free: 8.301 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.1549, allocations: 1.04 MB / 0.5545 GB, free: 7.258 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.84e-05/0.155, allocations: 7.938 kB / 0.5546 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.1553, allocations: 59.69 kB / 0.5546 GB, free: 7.191 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003198/0.1556, allocations: 91.59 kB / 0.5547 GB, free: 7.102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.1558, allocations: 79.67 kB / 0.5548 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.156, allocations: 99.75 kB / 0.5549 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1561, allocations: 20.27 kB / 0.5549 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.1562, allocations: 47.67 kB / 0.5549 GB, free: 6.859 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.887e-05/0.1563, allocations: 35.83 kB / 0.555 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1563, allocations: 4 kB / 0.555 GB, free: 6.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.1564, allocations: 43.98 kB / 0.555 GB, free: 6.777 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.546e-05/0.1565, allocations: 27.86 kB / 0.555 GB, free: 6.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.184e-05/0.1566, allocations: 43.67 kB / 0.5551 GB, free: 6.707 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.1568, allocations: 139.3 kB / 0.5552 GB, free: 6.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1568, allocations: 0 / 0.5552 GB, free: 6.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1568, allocations: 0 / 0.5552 GB, free: 6.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1568, allocations: 4 kB / 0.5552 GB, free: 6.566 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.000679/0.1575, allocations: 454.4 kB / 0.5556 GB, free: 6.074 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1575, allocations: 8.031 kB / 0.5557 GB, free: 6.066 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.1576, allocations: 34.75 kB / 0.5557 GB, free: 6.023 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.511e-05/0.1576, allocations: 16.84 kB / 0.5557 GB, free: 6.008 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.158, allocations: 225 kB / 0.5559 GB, free: 5.746 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.158, allocations: 4.375 kB / 0.5559 GB, free: 5.742 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.158, allocations: 7.938 kB / 0.5559 GB, free: 5.734 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.1582, allocations: 65.61 kB / 0.556 GB, free: 5.664 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.1582, allocations: 3.984 kB / 0.556 GB, free: 5.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.1582, allocations: 0 / 0.556 GB, free: 5.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.1582, allocations: 0 / 0.556 GB, free: 5.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.758e-05/0.1583, allocations: 19.98 kB / 0.556 GB, free: 5.641 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.1587, allocations: 296.8 kB / 0.5563 GB, free: 5.301 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.1589, allocations: 58.61 kB / 0.5564 GB, free: 5.234 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.839e-05/0.1589, allocations: 20.84 kB / 0.5564 GB, free: 5.211 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.159, allocations: 0 / 0.5564 GB, free: 5.211 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.1591, allocations: 67.39 kB / 0.5564 GB, free: 5.133 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1591, allocations: 0 / 0.5564 GB, free: 5.133 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006516/0.1598, allocations: 189.2 kB / 0.5566 GB, free: 4.941 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.1598, allocations: 55.41 kB / 0.5567 GB, free: 4.875 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.1601, allocations: 275.7 kB / 0.5569 GB, free: 4.594 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.1601, allocations: 25.7 kB / 0.557 GB, free: 4.562 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.366e-05/0.1602, allocations: 112.1 kB / 0.5571 GB, free: 4.449 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.1603, allocations: 27.83 kB / 0.5571 GB, free: 4.422 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.1603, allocations: 25.72 kB / 0.5571 GB, free: 4.391 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1605, allocations: 322.8 kB / 0.5574 GB, free: 4.066 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.273e-05/0.1605, allocations: 23.98 kB / 0.5575 GB, free: 4.043 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.145e-05/0.1606, allocations: 41.64 kB / 0.5575 GB, free: 3.996 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.1607, allocations: 61.7 kB / 0.5575 GB, free: 3.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1607, allocations: 0 / 0.5575 GB, free: 3.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001982/0.1609, allocations: 105.5 kB / 0.5577 GB, free: 3.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1609, allocations: 9.969 kB / 0.5577 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1609, allocations: 0 / 0.5577 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1609, allocations: 4.031 kB / 0.5577 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.161, allocations: 19.98 kB / 0.5577 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1611, allocations: 0 / 0.5577 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.911e-05/0.1611, allocations: 7.938 kB / 0.5577 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1611, allocations: 4 kB / 0.5577 GB, free: 3.777 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.0001256/0.1612, allocations: 140 kB / 0.5578 GB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.1613, allocations: 15.91 kB / 0.5578 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.483e-05/0.1613, allocations: 25.56 kB / 0.5579 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1613, allocations: 0 / 0.5579 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1613, allocations: 7.938 kB / 0.5579 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1613, allocations: 3.938 kB / 0.5579 GB, free: 3.578 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004862/0.1618, allocations: 411.6 kB / 0.5583 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1618, allocations: 0 / 0.5583 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.535e-05/0.1619, allocations: 15.98 kB / 0.5583 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1619, allocations: 3.938 kB / 0.5583 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.1619, allocations: 0 / 0.5583 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1619, allocations: 4 kB / 0.5583 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1619, allocations: 4.031 kB / 0.5583 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.1621, allocations: 208.2 kB / 0.5585 GB, free: 2.867 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.556e-05/0.1622, allocations: 89.02 kB / 0.5586 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.1622, allocations: 7.938 kB / 0.5586 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.315e-05/0.1623, allocations: 7.984 kB / 0.5586 GB, free: 2.746 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.1623, allocations: 4 kB / 0.5586 GB, free: 2.742 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.1623, allocations: 8 kB / 0.5586 GB, free: 2.734 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001959/0.1625, allocations: 200.6 kB / 0.5588 GB, free: 2.539 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1625, allocations: 0 / 0.5588 GB, free: 2.539 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000262/0.1628, allocations: 24 kB / 0.5588 GB, free: 2.516 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.002222/0.165, allocations: 1.107 MB / 0.5599 GB, free: 1.566 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.1652, allocations: 47.98 kB / 0.5599 GB, free: 1.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1652, allocations: 0 / 0.5599 GB, free: 1.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.571e-05/0.1653, allocations: 31.98 kB / 0.56 GB, free: 1.488 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.1657, allocations: 33.97 kB / 0.56 GB, free: 1.457 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.1679, allocations: 1.831 MB / 0.5618 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.1683, allocations: 0.7274 MB / 0.5625 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.324e-05/0.1683, allocations: 17.17 kB / 0.5625 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.929e-05/0.1684, allocations: 43.42 kB / 0.5626 GB, free: 14.72 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1684, allocations: 0 / 0.5626 GB, free: 14.72 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0281/0.1965, allocations: 3.815 MB / 0.5663 GB, free: 10.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.073/8.269, allocations: 7.938 kB / 0.5663 GB, free: 10.95 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498107 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.584521322976798]