Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.00161/0.00161, allocations: 123.4 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.001979/0.001979, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.599/1.599, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2508/0.2508, allocations: 46.92 MB / 357.1 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test84,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003325/0.003325, allocations: 63.91 kB / 0.491 GB, free: 7.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1608, allocations: 66 MB / 0.5555 GB, free: 5.73 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.004169/0.1649, allocations: 1.727 MB / 0.5571 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002932/0.1679, allocations: 1.648 MB / 0.5588 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.168, allocations: 0 / 0.5588 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003494/0.1683, allocations: 31.78 kB / 0.5588 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005066/0.1688, allocations: 103.5 kB / 0.5589 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.1692, allocations: 79.66 kB / 0.559 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002771/0.1694, allocations: 107.7 kB / 0.5591 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.1695, allocations: 8 kB / 0.5591 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.1697, allocations: 63.7 kB / 0.5591 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.1699, allocations: 43.83 kB / 0.5592 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.1699, allocations: 4 kB / 0.5592 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002768/0.1702, allocations: 103.9 kB / 0.5593 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.575e-05/0.1703, allocations: 23.84 kB / 0.5593 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.039e-05/0.1703, allocations: 35.75 kB / 0.5593 GB, free: 1.738 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004378/0.1708, allocations: 175.4 kB / 0.5595 GB, free: 1.566 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1708, allocations: 0 / 0.5595 GB, free: 1.566 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1708, allocations: 0 / 0.5595 GB, free: 1.566 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.1708, allocations: 0 / 0.5595 GB, free: 1.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.000739/0.1715, allocations: 426.7 kB / 0.5599 GB, free: 1.102 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.1716, allocations: 11.97 kB / 0.5599 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.953e-05/0.1716, allocations: 34.69 kB / 0.56 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.946e-05/0.1717, allocations: 16.84 kB / 0.56 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004161/0.1721, allocations: 216.5 kB / 0.5602 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.1721, allocations: 3.984 kB / 0.5602 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.1722, allocations: 4 kB / 0.5602 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.1724, allocations: 75.39 kB / 0.5603 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1724, allocations: 0 / 0.5603 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1724, allocations: 0 / 0.5603 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1724, allocations: 4 kB / 0.5603 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.08e-05/0.1725, allocations: 19.92 kB / 0.5603 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/0.1729, allocations: 280.9 kB / 0.5605 GB, free: 348 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.1731, allocations: 62.67 kB / 0.5606 GB, free: 276 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.933e-05/0.1731, allocations: 20.84 kB / 0.5606 GB, free: 252 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.1732, allocations: 0 / 0.5606 GB, free: 252 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.1733, allocations: 71.33 kB / 0.5607 GB, free: 168 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1733, allocations: 4 kB / 0.5607 GB, free: 164 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006086/0.1739, allocations: 173.4 kB / 0.5609 GB, free: 15.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.174, allocations: 85.05 kB / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.1742, allocations: 165.5 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.1742, allocations: 25.7 kB / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.442e-05/0.1743, allocations: 96.14 kB / 0.5612 GB, free: 15.58 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.1743, allocations: 39.58 kB / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.1744, allocations: 21.72 kB / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1745, allocations: 322.8 kB / 0.5616 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.285e-05/0.1746, allocations: 23.98 kB / 0.5616 GB, free: 15.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.788e-05/0.1747, allocations: 42.56 kB / 0.5616 GB, free: 15.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.1748, allocations: 61.64 kB / 0.5617 GB, free: 15.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1748, allocations: 0 / 0.5617 GB, free: 15.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002089/0.175, allocations: 101.6 kB / 0.5618 GB, free: 14.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.175, allocations: 8 kB / 0.5618 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.175, allocations: 3.984 kB / 0.5618 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.175, allocations: 4.062 kB / 0.5618 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.359e-05/0.1751, allocations: 19.92 kB / 0.5618 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.1751, allocations: 7.938 kB / 0.5618 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.361e-05/0.1752, allocations: 0 / 0.5618 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.1752, allocations: 8 kB / 0.5619 GB, free: 14.89 MB / 430.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.0001171/0.1753, allocations: 122.3 kB / 0.562 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.772e-05/0.1754, allocations: 11.95 kB / 0.562 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.886e-05/0.1754, allocations: 12.72 kB / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1754, allocations: 7.938 kB / 0.562 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1754, allocations: 384 / 0.562 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1754, allocations: 3.984 kB / 0.562 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005176/0.176, allocations: 395.3 kB / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.176, allocations: 11.94 kB / 0.5624 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.353e-05/0.176, allocations: 7.938 kB / 0.5624 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.176, allocations: 4 kB / 0.5624 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.176, allocations: 4 kB / 0.5624 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.176, allocations: 0 / 0.5624 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.176, allocations: 8.031 kB / 0.5624 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.1763, allocations: 196.3 kB / 0.5626 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.838e-05/0.1764, allocations: 92.98 kB / 0.5627 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.1764, allocations: 4 kB / 0.5627 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-05/0.1765, allocations: 0 / 0.5627 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.1765, allocations: 15.92 kB / 0.5627 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.1765, allocations: 8 kB / 0.5627 GB, free: 13.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.1767, allocations: 123.2 kB / 0.5628 GB, free: 13.79 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1767, allocations: 0 / 0.5628 GB, free: 13.79 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003139/0.177, allocations: 48.05 kB / 0.5629 GB, free: 13.74 MB / 430.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.002541/0.1795, allocations: 1.186 MB / 0.564 GB, free: 12.74 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.1797, allocations: 59.89 kB / 0.5641 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1797, allocations: 0 / 0.5641 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.66e-05/0.1798, allocations: 27.92 kB / 0.5641 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.1802, allocations: 39 kB / 0.5642 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.1822, allocations: 1.581 MB / 0.5657 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.1825, allocations: 0.7012 MB / 0.5664 GB, free: 10.22 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.695e-05/0.1826, allocations: 21.17 kB / 0.5664 GB, free: 10.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.109e-05/0.1827, allocations: 35.42 kB / 0.5664 GB, free: 10.16 MB / 430.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1827, allocations: 0 / 0.5664 GB, free: 10.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03083/0.2135, allocations: 4.064 MB / 0.5704 GB, free: 6.109 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.923/8.136, allocations: 3.938 kB / 0.5704 GB, free: 6.105 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_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_1_0_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.624506131003727]