Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.001277/0.001277, 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.001485/0.001485, 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.498/1.498, 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.233/0.233, allocations: 44.9 MB / 355.1 MB, free: 12.35 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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",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.002792/0.002792, allocations: 71.89 kB / 499.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1625, allocations: 65.42 MB / 0.5518 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.004288/0.1668, allocations: 1.745 MB / 0.5535 GB, free: 8.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00272/0.1695, allocations: 1.031 MB / 0.5545 GB, free: 7.285 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.1696, allocations: 3.938 kB / 0.5545 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004512/0.1701, allocations: 47.7 kB / 0.5546 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005184/0.1706, allocations: 95.59 kB / 0.5547 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.171, allocations: 83.66 kB / 0.5548 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002991/0.1713, allocations: 95.75 kB / 0.5549 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.1714, allocations: 12.28 kB / 0.5549 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.1716, allocations: 55.66 kB / 0.5549 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.1717, allocations: 27.84 kB / 0.5549 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.1717, allocations: 4 kB / 0.5549 GB, free: 6.867 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.1719, allocations: 43.98 kB / 0.555 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.995e-05/0.172, allocations: 27.91 kB / 0.555 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.586e-05/0.1721, allocations: 35.73 kB / 0.5551 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.1724, allocations: 123.4 kB / 0.5552 GB, free: 6.641 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1724, allocations: 0 / 0.5552 GB, free: 6.641 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1724, allocations: 3.938 kB / 0.5552 GB, free: 6.637 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1724, allocations: 0 / 0.5552 GB, free: 6.637 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.0008245/0.1732, allocations: 422.6 kB / 0.5556 GB, free: 6.176 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.1732, allocations: 12.03 kB / 0.5556 GB, free: 6.164 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.989e-05/0.1733, allocations: 30.75 kB / 0.5556 GB, free: 6.125 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.529e-05/0.1734, allocations: 12.89 kB / 0.5556 GB, free: 6.113 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005043/0.1739, allocations: 215.2 kB / 0.5558 GB, free: 5.867 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.1739, allocations: 8.375 kB / 0.5558 GB, free: 5.859 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.1739, allocations: 3.938 kB / 0.5558 GB, free: 5.855 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.1741, allocations: 57.61 kB / 0.5559 GB, free: 5.793 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.1741, allocations: 4 kB / 0.5559 GB, free: 5.789 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.1741, allocations: 0 / 0.5559 GB, free: 5.789 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1742, allocations: 0 / 0.5559 GB, free: 5.789 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.1743, allocations: 23.98 kB / 0.5559 GB, free: 5.766 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005766/0.1749, allocations: 280.9 kB / 0.5562 GB, free: 5.441 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.1751, allocations: 62.55 kB / 0.5563 GB, free: 5.371 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.719e-05/0.1752, allocations: 20.91 kB / 0.5563 GB, free: 5.348 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.1752, allocations: 4 kB / 0.5563 GB, free: 5.344 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.1755, allocations: 63.39 kB / 0.5563 GB, free: 5.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.1755, allocations: 4 kB / 0.5563 GB, free: 5.266 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008452/0.1763, allocations: 181.3 kB / 0.5565 GB, free: 5.082 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.909e-05/0.1764, allocations: 59.34 kB / 0.5566 GB, free: 5.012 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.1767, allocations: 194.3 kB / 0.5568 GB, free: 4.812 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.1767, allocations: 33.7 kB / 0.5568 GB, free: 4.773 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.665e-05/0.1768, allocations: 100.1 kB / 0.5569 GB, free: 4.672 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.488e-05/0.1768, allocations: 19.86 kB / 0.5569 GB, free: 4.652 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.1769, allocations: 21.7 kB / 0.5569 GB, free: 4.625 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.177, allocations: 334.8 kB / 0.5572 GB, free: 4.289 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.559e-05/0.1771, allocations: 16 kB / 0.5573 GB, free: 4.273 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.1772, allocations: 45.62 kB / 0.5573 GB, free: 4.223 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.1774, allocations: 57.7 kB / 0.5574 GB, free: 4.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1774, allocations: 0 / 0.5574 GB, free: 4.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002985/0.1777, allocations: 101.5 kB / 0.5575 GB, free: 4.055 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1777, allocations: 8 kB / 0.5575 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.1777, allocations: 3.984 kB / 0.5575 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1777, allocations: 0 / 0.5575 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.1779, allocations: 16 kB / 0.5575 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1779, allocations: 0 / 0.5575 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.368e-05/0.178, allocations: 7.938 kB / 0.5575 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.178, allocations: 4 kB / 0.5575 GB, free: 4.016 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.00017/0.1781, allocations: 131.9 kB / 0.5576 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.1782, allocations: 23.94 kB / 0.5576 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.786e-05/0.1782, allocations: 17.39 kB / 0.5577 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1782, allocations: 0 / 0.5577 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1782, allocations: 0 / 0.5577 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.1783, allocations: 7.938 kB / 0.5577 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006755/0.1789, allocations: 391.3 kB / 0.558 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1789, allocations: 0 / 0.558 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.728e-05/0.179, allocations: 11.98 kB / 0.5581 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/0.179, allocations: 11.97 kB / 0.5581 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.179, allocations: 384 / 0.5581 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.179, allocations: 0 / 0.5581 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.179, allocations: 4 kB / 0.5581 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.1793, allocations: 204.5 kB / 0.5583 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-05/0.1793, allocations: 88.95 kB / 0.5583 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.1794, allocations: 11.92 kB / 0.5584 GB, free: 3.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.64e-05/0.1794, allocations: 4 kB / 0.5584 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.1795, allocations: 8 kB / 0.5584 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.1795, allocations: 7.984 kB / 0.5584 GB, free: 3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001591/0.1797, allocations: 144.2 kB / 0.5585 GB, free: 2.859 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1797, allocations: 0 / 0.5585 GB, free: 2.859 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004649/0.1801, allocations: 23.98 kB / 0.5585 GB, free: 2.836 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.002896/0.183, allocations: 1.103 MB / 0.5596 GB, free: 1.891 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002648/0.1833, allocations: 55.97 kB / 0.5597 GB, free: 1.836 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.1833, allocations: 0 / 0.5597 GB, free: 1.836 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.1834, allocations: 31.92 kB / 0.5597 GB, free: 1.805 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005131/0.1839, allocations: 25.3 kB / 0.5597 GB, free: 1.785 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.1865, allocations: 1.662 MB / 0.5613 GB, free: 28 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/0.187, allocations: 0.708 MB / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.708e-05/0.1871, allocations: 17.17 kB / 0.5621 GB, free: 15.28 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.725e-05/0.1872, allocations: 35.42 kB / 0.5621 GB, free: 15.24 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1872, allocations: 0 / 0.5621 GB, free: 15.24 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.2171, allocations: 3.483 MB / 0.5655 GB, free: 11.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.904/8.121, allocations: 3.984 kB / 0.5655 GB, free: 11.82 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.351307144854218]