Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.001503/0.001503, allocations: 115 kB / 18.46 MB, free: 4.621 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.001794/0.001794, allocations: 207.3 kB / 21.41 MB, free: 1.668 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.552/1.552, allocations: 230.6 MB / 254.8 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.2401/0.2401, allocations: 46.93 MB / 357.8 MB, free: 10.32 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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 63.91 kB / 0.4921 GB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1544, allocations: 66 MB / 0.5565 GB, free: 5.324 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003794/0.1582, allocations: 1.665 MB / 0.5582 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.1593, allocations: 0.5572 MB / 0.5587 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.429e-05/0.1594, allocations: 0 / 0.5587 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.1597, allocations: 99.67 kB / 0.5588 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.16, allocations: 111.6 kB / 0.5589 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.1603, allocations: 115.7 kB / 0.559 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.1605, allocations: 99.75 kB / 0.5591 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.1606, allocations: 23.97 kB / 0.5591 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.595e-05/0.1607, allocations: 43.84 kB / 0.5592 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.1608, allocations: 71.67 kB / 0.5593 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.1608, allocations: 8 kB / 0.5593 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.1609, allocations: 47.98 kB / 0.5593 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.23e-05/0.161, allocations: 35.84 kB / 0.5593 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.438e-05/0.161, allocations: 43.67 kB / 0.5594 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.1613, allocations: 131.4 kB / 0.5595 GB, free: 2.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1613, allocations: 0 / 0.5595 GB, free: 2.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1613, allocations: 0 / 0.5595 GB, free: 2.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1613, allocations: 0 / 0.5595 GB, free: 2.27 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005907/0.1619, allocations: 442.5 kB / 0.5599 GB, free: 1.789 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1619, allocations: 12.03 kB / 0.5599 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.324e-05/0.162, allocations: 16.84 kB / 0.56 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.1622, allocations: 212.1 kB / 0.5602 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.1622, allocations: 384 / 0.5602 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.1622, allocations: 12.36 kB / 0.5602 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.1624, allocations: 73.8 kB / 0.5602 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.1624, allocations: 11.88 kB / 0.5603 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.1625, allocations: 4 kB / 0.5603 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.413e-06/0.1625, allocations: 4 kB / 0.5603 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.1626, allocations: 43.97 kB / 0.5603 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000502/0.1631, allocations: 336.7 kB / 0.5606 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.1633, allocations: 70.47 kB / 0.5607 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.244e-05/0.1633, allocations: 24.84 kB / 0.5607 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.1633, allocations: 0 / 0.5607 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.1634, allocations: 38.56 kB / 0.5608 GB, free: 0.832 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.1634, allocations: 3.938 kB / 0.5608 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.00117/0.1645, allocations: 332.9 kB / 0.5611 GB, free: 0.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.1646, allocations: 59.34 kB / 0.5611 GB, free: 440 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.1648, allocations: 243.4 kB / 0.5614 GB, free: 180 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.1649, allocations: 29.7 kB / 0.5614 GB, free: 144 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.625e-05/0.1649, allocations: 116.1 kB / 0.5615 GB, free: 24 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.455e-05/0.165, allocations: 39.83 kB / 0.5615 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.032e-05/0.1651, allocations: 29.72 kB / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1652, allocations: 330.8 kB / 0.5619 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.1653, allocations: 47.97 kB / 0.5619 GB, free: 15.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.867e-05/0.1654, allocations: 43.97 kB / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.1656, allocations: 104.8 kB / 0.5621 GB, free: 15.42 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1656, allocations: 0 / 0.5621 GB, free: 15.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002959/0.1659, allocations: 157.6 kB / 0.5622 GB, free: 15.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1659, allocations: 4 kB / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1659, allocations: 4.234 kB / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.166, allocations: 7.75 kB / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.1661, allocations: 23.98 kB / 0.5623 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.1661, allocations: 3.984 kB / 0.5623 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.672e-05/0.1661, allocations: 7.984 kB / 0.5623 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.1662, allocations: 11.94 kB / 0.5623 GB, free: 15.2 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 (13): * Single equations (assignments): 13 * 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.000117/0.1663, allocations: 136 kB / 0.5624 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.1663, allocations: 11.91 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004088/0.1667, allocations: 206.8 kB / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1667, allocations: 0 / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1667, allocations: 0 / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1667, allocations: 3.984 kB / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006918/0.1674, allocations: 0.4913 MB / 0.5631 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1674, allocations: 0 / 0.5631 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.856e-05/0.1675, allocations: 31.95 kB / 0.5631 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1675, allocations: 0 / 0.5631 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.1675, allocations: 8 kB / 0.5631 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1675, allocations: 0 / 0.5631 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1675, allocations: 0 / 0.5631 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.1679, allocations: 260.2 kB / 0.5634 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/0.168, allocations: 97.02 kB / 0.5635 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.168, allocations: 0 / 0.5635 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.8e-05/0.168, allocations: 8 kB / 0.5635 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.1681, allocations: 11.92 kB / 0.5635 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.1681, allocations: 4 kB / 0.5635 GB, free: 13.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001684/0.1683, allocations: 185.2 kB / 0.5637 GB, free: 13.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1683, allocations: 0 / 0.5637 GB, free: 13.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.1685, allocations: 27.94 kB / 0.5637 GB, free: 13.63 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.001737/0.1703, allocations: 453.9 kB / 0.5641 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003281/0.1706, allocations: 111.9 kB / 0.5642 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1706, allocations: 4 kB / 0.5643 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.1707, allocations: 59.91 kB / 0.5643 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.1711, allocations: 31.17 kB / 0.5643 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007231/0.1718, allocations: 361.3 kB / 0.5647 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.1722, allocations: 0.7236 MB / 0.5654 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.726e-05/0.1723, allocations: 19.42 kB / 0.5654 GB, free: 12 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1723, allocations: 0 / 0.5654 GB, free: 12 MB / 430.1 MB Notification: Performance of Templates: time 0.00454/0.1768, allocations: 2.167 MB / 0.5675 GB, free: 9.832 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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: 8.01480502000777]