Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001981/0.001981, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.002426/0.002426, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.757/1.757, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.239/0.239, allocations: 46.92 MB / 357.1 MB, free: 10.4 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 67.91 kB / 0.4914 GB, free: 7.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1426, allocations: 66 MB / 0.5559 GB, free: 5.406 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003277/0.1459, allocations: 1.664 MB / 0.5575 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.1479, allocations: 1.21 MB / 0.5587 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.238e-05/0.148, allocations: 4 kB / 0.5587 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.1482, allocations: 35.78 kB / 0.5587 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.1485, allocations: 75.62 kB / 0.5588 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.1489, allocations: 183 kB / 0.559 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.1491, allocations: 75.83 kB / 0.559 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1492, allocations: 16 kB / 0.5591 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.555e-05/0.1493, allocations: 31.84 kB / 0.5591 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.1494, allocations: 35.84 kB / 0.5591 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.1494, allocations: 4 kB / 0.5591 GB, free: 2.062 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.1496, allocations: 107.9 kB / 0.5592 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.393e-05/0.1497, allocations: 27.91 kB / 0.5593 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.048e-05/0.1497, allocations: 23.81 kB / 0.5593 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.15, allocations: 155.4 kB / 0.5594 GB, free: 1.754 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.15, allocations: 0 / 0.5594 GB, free: 1.754 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.15, allocations: 0 / 0.5594 GB, free: 1.754 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.15, allocations: 4 kB / 0.5594 GB, free: 1.75 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.0006391/0.1506, allocations: 418.7 kB / 0.5598 GB, free: 1.293 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1507, allocations: 8.031 kB / 0.5598 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.1507, allocations: 8.891 kB / 0.5598 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.1509, allocations: 190.2 kB / 0.56 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-06/0.1509, allocations: 4.375 kB / 0.56 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.151, allocations: 4.312 kB / 0.56 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.1512, allocations: 87.44 kB / 0.5601 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1512, allocations: 0 / 0.5601 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1512, allocations: 4 kB / 0.5601 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1512, allocations: 0 / 0.5601 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.1514, allocations: 43.95 kB / 0.5602 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004919/0.1519, allocations: 320.6 kB / 0.5605 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.152, allocations: 42.56 kB / 0.5605 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.457e-05/0.1521, allocations: 24.94 kB / 0.5605 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.1521, allocations: 0 / 0.5605 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.328e-05/0.1522, allocations: 38.55 kB / 0.5606 GB, free: 424 kB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.1522, allocations: 0 / 0.5606 GB, free: 424 kB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.000866/0.153, allocations: 233.3 kB / 0.5608 GB, free: 184 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.1531, allocations: 77.11 kB / 0.5609 GB, free: 88 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.1533, allocations: 153.5 kB / 0.561 GB, free: 15.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.1533, allocations: 29.7 kB / 0.561 GB, free: 15.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.1533, allocations: 100.1 kB / 0.5611 GB, free: 15.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.1534, allocations: 23.78 kB / 0.5612 GB, free: 15.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/0.1534, allocations: 21.72 kB / 0.5612 GB, free: 15.74 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1536, allocations: 318.8 kB / 0.5615 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.1537, allocations: 40.05 kB / 0.5615 GB, free: 15.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.1539, allocations: 65.59 kB / 0.5616 GB, free: 15.31 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.1541, allocations: 84.8 kB / 0.5617 GB, free: 15.22 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1541, allocations: 0 / 0.5617 GB, free: 15.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003247/0.1545, allocations: 121.6 kB / 0.5618 GB, free: 15.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1545, allocations: 6.031 kB / 0.5618 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1545, allocations: 4.031 kB / 0.5618 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1545, allocations: 4 kB / 0.5618 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.1546, allocations: 19.98 kB / 0.5618 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1546, allocations: 3.938 kB / 0.5618 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.182e-05/0.1547, allocations: 15.92 kB / 0.5618 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.1547, allocations: 4 kB / 0.5618 GB, free: 15.04 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 (7): * Single equations (assignments): 7 * 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.000109/0.1548, allocations: 120 kB / 0.5619 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.1549, allocations: 11.95 kB / 0.562 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003932/0.1553, allocations: 138.3 kB / 0.5621 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1553, allocations: 0 / 0.5621 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1553, allocations: 3.938 kB / 0.5621 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1553, allocations: 7.938 kB / 0.5621 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006258/0.1559, allocations: 414.4 kB / 0.5625 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1559, allocations: 4 kB / 0.5625 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.173e-05/0.156, allocations: 15.98 kB / 0.5625 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.156, allocations: 0 / 0.5625 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.156, allocations: 11.94 kB / 0.5625 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.156, allocations: 480 / 0.5625 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.156, allocations: 0 / 0.5625 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004095/0.1564, allocations: 231.3 kB / 0.5627 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.713e-05/0.1565, allocations: 89.05 kB / 0.5628 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.1565, allocations: 3.938 kB / 0.5628 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.907e-05/0.1566, allocations: 11.92 kB / 0.5628 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.1566, allocations: 4 kB / 0.5629 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.1566, allocations: 8 kB / 0.5629 GB, free: 13.88 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001921/0.1568, allocations: 111.2 kB / 0.563 GB, free: 13.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1568, allocations: 4 kB / 0.563 GB, free: 13.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003035/0.1571, allocations: 43.86 kB / 0.563 GB, free: 13.73 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 (7): * Single equations (assignments): 7 * 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.001743/0.1589, allocations: 491.1 kB / 0.5635 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000342/0.1592, allocations: 95.84 kB / 0.5636 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1592, allocations: 0 / 0.5636 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.1593, allocations: 47.95 kB / 0.5636 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.1596, allocations: 18.44 kB / 0.5636 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005461/0.1602, allocations: 217.8 kB / 0.5638 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005504/0.1607, allocations: 0.7002 MB / 0.5645 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.468e-05/0.1608, allocations: 40.88 kB / 0.5646 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.1609, allocations: 19.42 kB / 0.5646 GB, free: 12.25 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1609, allocations: 4 kB / 0.5646 GB, free: 12.24 MB / 430.1 MB Notification: Performance of Templates: time 0.005627/0.1665, allocations: 1.934 MB / 0.5665 GB, free: 10.32 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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: 5.528155833482742]