Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.001732/0.001732, allocations: 116 kB / 18.45 MB, free: 4.605 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.002078/0.002078, allocations: 208.3 kB / 21.41 MB, free: 1.648 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.59/1.59, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2291/0.2291, allocations: 46.93 MB / 357.8 MB, free: 10.3 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: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 63.91 kB / 0.4921 GB, free: 7.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1452, allocations: 66 MB / 0.5565 GB, free: 5.285 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003462/0.1486, allocations: 1.655 MB / 0.5582 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.1498, allocations: 0.5806 MB / 0.5587 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.034e-05/0.1499, allocations: 4 kB / 0.5587 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006898/0.1506, allocations: 459.1 kB / 0.5592 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005273/0.1511, allocations: 291.3 kB / 0.5594 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004885/0.1516, allocations: 175.1 kB / 0.5596 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002848/0.1519, allocations: 183.5 kB / 0.5598 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.152, allocations: 8 kB / 0.5598 GB, free: 1.941 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.1521, allocations: 115.7 kB / 0.5599 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.1524, allocations: 243.5 kB / 0.5601 GB, free: 1.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.1524, allocations: 11.94 kB / 0.5601 GB, free: 1.578 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.1525, allocations: 35.98 kB / 0.5602 GB, free: 1.543 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.1526, allocations: 87.61 kB / 0.5603 GB, free: 1.457 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.1527, allocations: 99 kB / 0.5604 GB, free: 1.359 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003601/0.1531, allocations: 270.6 kB / 0.5606 GB, free: 1.094 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1531, allocations: 4 kB / 0.5606 GB, free: 1.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1531, allocations: 0 / 0.5606 GB, free: 1.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.1531, allocations: 0 / 0.5606 GB, free: 1.09 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009029/0.154, allocations: 0.649 MB / 0.5613 GB, free: 400 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/0.1541, allocations: 8.031 kB / 0.5613 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.725e-05/0.1542, allocations: 52.61 kB / 0.5613 GB, free: 340 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.1545, allocations: 308.6 kB / 0.5616 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1546, allocations: 4.375 kB / 0.5616 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.1546, allocations: 8.375 kB / 0.5616 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.1548, allocations: 53.81 kB / 0.5617 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.1548, allocations: 0 / 0.5617 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1548, allocations: 3.984 kB / 0.5617 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.1548, allocations: 4 kB / 0.5617 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.1549, allocations: 23.98 kB / 0.5617 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005662/0.1555, allocations: 400.6 kB / 0.5621 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.1557, allocations: 46.56 kB / 0.5621 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.077e-05/0.1558, allocations: 16.94 kB / 0.5621 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.1558, allocations: 4 kB / 0.5621 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1558, allocations: 34.56 kB / 0.5622 GB, free: 15.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 2.915e-06/0.1558, allocations: 7.922 kB / 0.5622 GB, free: 15.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006917/0.1565, allocations: 248.6 kB / 0.5624 GB, free: 15.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.1566, allocations: 51.41 kB / 0.5625 GB, free: 15 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008746/0.1574, allocations: 0.866 MB / 0.5633 GB, free: 14.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.1574, allocations: 25.7 kB / 0.5633 GB, free: 14.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.1576, allocations: 232.1 kB / 0.5636 GB, free: 13.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.1576, allocations: 11.94 kB / 0.5636 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-05/0.1577, allocations: 21.66 kB / 0.5636 GB, free: 13.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.1579, allocations: 370.7 kB / 0.5639 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.148e-05/0.158, allocations: 19.98 kB / 0.564 GB, free: 13.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.739e-05/0.158, allocations: 19.98 kB / 0.564 GB, free: 13.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.1582, allocations: 60.81 kB / 0.564 GB, free: 13.35 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.1582, allocations: 0 / 0.564 GB, free: 13.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002383/0.1584, allocations: 117.4 kB / 0.5642 GB, free: 13.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1584, allocations: 6.031 kB / 0.5642 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.1584, allocations: 0 / 0.5642 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.1585, allocations: 4 kB / 0.5642 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.142e-05/0.1585, allocations: 15.92 kB / 0.5642 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1585, allocations: 3.938 kB / 0.5642 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.922e-05/0.1586, allocations: 15.92 kB / 0.5642 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.1586, allocations: 0 / 0.5642 GB, free: 13.19 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0002001/0.1588, allocations: 216 kB / 0.5644 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-05/0.1589, allocations: 39.72 kB / 0.5644 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003636/0.1592, allocations: 149.4 kB / 0.5646 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1592, allocations: 4 kB / 0.5646 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.1592, allocations: 3.984 kB / 0.5646 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1592, allocations: 7.938 kB / 0.5646 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006469/0.1599, allocations: 470.4 kB / 0.565 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1599, allocations: 0 / 0.565 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.78e-05/0.16, allocations: 8 kB / 0.5651 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.16, allocations: 0 / 0.5651 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.16, allocations: 3.938 kB / 0.5651 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.16, allocations: 4 kB / 0.5651 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.16, allocations: 3.984 kB / 0.5651 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.1603, allocations: 219.2 kB / 0.5653 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.124e-05/0.1604, allocations: 120.8 kB / 0.5654 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.1604, allocations: 3.938 kB / 0.5654 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.247e-05/0.1605, allocations: 4 kB / 0.5654 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.1605, allocations: 3.984 kB / 0.5654 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.1605, allocations: 4 kB / 0.5654 GB, free: 11.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006772/0.1612, allocations: 0.655 MB / 0.566 GB, free: 11.19 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1612, allocations: 0 / 0.566 GB, free: 11.19 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.1615, allocations: 27.94 kB / 0.5661 GB, free: 11.16 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001535/0.163, allocations: 402.9 kB / 0.5665 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002311/0.1632, allocations: 55.89 kB / 0.5665 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1632, allocations: 0 / 0.5665 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.732e-05/0.1633, allocations: 31.98 kB / 0.5665 GB, free: 10.83 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.1637, allocations: 26.86 kB / 0.5666 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.165, allocations: 0.8394 MB / 0.5674 GB, free: 9.934 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005224/0.1655, allocations: 0.8221 MB / 0.5682 GB, free: 9.082 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.1655, allocations: 19.44 kB / 0.5682 GB, free: 9.066 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1655, allocations: 0 / 0.5682 GB, free: 9.066 MB / 430.1 MB Notification: Performance of Templates: time 0.007866/0.1734, allocations: 3.788 MB / 0.5719 GB, free: 5.27 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.964083360013319]