Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008993/0.0008993, allocations: 88.28 kB / 21.44 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004277/0.004277, allocations: 158.3 kB / 24.7 MB, free: 9.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8657/0.8657, allocations: 177 MB / 204.9 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.224/0.224, allocations: 34.25 MB / 295.6 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 443.4 MB, free: 1.02 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.621e-05/1.743e-05, allocations: 6.219 kB / 443.4 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.17/0.1701, allocations: 1.645 MB / 445.1 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.1713, allocations: 1.256 MB / 446.3 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.185e-05/0.1714, allocations: 0 / 446.3 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.1716, allocations: 27.67 kB / 446.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.1718, allocations: 81.8 kB / 446.5 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.172, allocations: 135.5 kB / 446.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.1722, allocations: 78.81 kB / 446.7 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.244e-05/0.1722, allocations: 8.984 kB / 446.7 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.384e-05/0.1723, allocations: 39.5 kB / 446.7 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.531e-05/0.1724, allocations: 28.88 kB / 446.7 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.1724, allocations: 5.188 kB / 446.7 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.1725, allocations: 101.7 kB / 446.8 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.188e-05/0.1726, allocations: 16.28 kB / 446.9 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.162e-05/0.1726, allocations: 20.73 kB / 446.9 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.1728, allocations: 154.5 kB / 447 MB, free: 42.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1728, allocations: 0 / 447 MB, free: 42.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1728, allocations: 0 / 447 MB, free: 42.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1728, allocations: 0 / 447 MB, free: 42.67 MB / 410.7 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.0003694/0.1731, allocations: 337.8 kB / 447.4 MB, free: 42.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1732, allocations: 8.719 kB / 447.4 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.1732, allocations: 10.67 kB / 447.4 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.1733, allocations: 131.4 kB / 447.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.1733, allocations: 7.625 kB / 447.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.1734, allocations: 7.297 kB / 447.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.1735, allocations: 100.4 kB / 447.6 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.1735, allocations: 3.531 kB / 447.6 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.1735, allocations: 384 / 447.6 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1735, allocations: 384 / 447.6 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.911e-05/0.1736, allocations: 41.89 kB / 447.7 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002202/0.1738, allocations: 231.7 kB / 447.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.276e-05/0.1739, allocations: 44.28 kB / 447.9 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.548e-05/0.1739, allocations: 29.27 kB / 448 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.174, allocations: 0 / 448 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.174, allocations: 41.38 kB / 448 MB, free: 41.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.174, allocations: 0 / 448 MB, free: 41.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004675/0.1744, allocations: 210.3 kB / 448.2 MB, free: 41.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.1745, allocations: 80.67 kB / 448.3 MB, free: 41.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.965e-05/0.1746, allocations: 146.8 kB / 448.4 MB, free: 41.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.113e-06/0.1746, allocations: 25.7 kB / 448.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.826e-05/0.1746, allocations: 98.27 kB / 448.6 MB, free: 41.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.1746, allocations: 18.8 kB / 448.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.1746, allocations: 22.61 kB / 448.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.103e-05/0.1747, allocations: 317.5 kB / 448.9 MB, free: 41.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.052e-05/0.1747, allocations: 31.02 kB / 448.9 MB, free: 41.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.929e-05/0.1748, allocations: 83.69 kB / 449 MB, free: 40.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.1749, allocations: 76.98 kB / 449.1 MB, free: 40.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1749, allocations: 0 / 449.1 MB, free: 40.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001296/0.175, allocations: 114.7 kB / 449.2 MB, free: 40.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.175, allocations: 5.969 kB / 449.2 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.175, allocations: 4.031 kB / 449.2 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1751, allocations: 0 / 449.2 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.25e-05/0.1751, allocations: 18.19 kB / 449.2 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.1751, allocations: 2.938 kB / 449.2 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.017e-05/0.1752, allocations: 9.047 kB / 449.2 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.1752, allocations: 7.234 kB / 449.3 MB, free: 40.89 MB / 410.7 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 4.551e-05/0.1752, allocations: 124.6 kB / 449.4 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.763e-05/0.1752, allocations: 17.56 kB / 449.4 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.1754, allocations: 124.5 kB / 449.5 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1754, allocations: 0 / 449.5 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1754, allocations: 3.328 kB / 449.5 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1754, allocations: 2.688 kB / 449.5 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.1757, allocations: 333.8 kB / 449.8 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1757, allocations: 0 / 449.8 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.295e-05/0.1757, allocations: 21.03 kB / 449.9 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.1757, allocations: 3.938 kB / 449.9 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.1757, allocations: 6.109 kB / 449.9 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1757, allocations: 0 / 449.9 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1757, allocations: 2.344 kB / 449.9 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.1758, allocations: 210.7 kB / 450.1 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-06/0.1759, allocations: 6.922 kB / 450.1 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.1759, allocations: 10.94 kB / 450.1 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.358e-05/0.1759, allocations: 8.891 kB / 450.1 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.1759, allocations: 10.23 kB / 450.1 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.1759, allocations: 0 / 450.1 MB, free: 40.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.917e-05/0.176, allocations: 115.5 kB / 450.2 MB, free: 40.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.176, allocations: 0 / 450.2 MB, free: 40.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001841/0.1762, allocations: 40.59 kB / 450.3 MB, free: 40.15 MB / 410.7 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.0007459/0.1769, allocations: 0.5164 MB / 450.8 MB, free: 39.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001607/0.1771, allocations: 78.3 kB / 450.9 MB, free: 39.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1771, allocations: 0 / 450.9 MB, free: 39.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.417e-05/0.1771, allocations: 45.02 kB / 450.9 MB, free: 39.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.1774, allocations: 19.88 kB / 450.9 MB, free: 39.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/0.1777, allocations: 217.7 kB / 451.1 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.662e-05/0.1777, allocations: 78.84 kB / 451.2 MB, free: 39.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.1777, allocations: 20.39 kB / 451.2 MB, free: 39.67 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1777, allocations: 0 / 451.2 MB, free: 39.67 MB / 410.7 MB Notification: Performance of Templates: time 0.00236/0.1801, allocations: 2.139 MB / 453.4 MB, free: 39.42 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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: 4.932731729000807]