Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.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.001738/0.001737, allocations: 119.5 kB / 18.45 MB, free: 4.613 MB / 14.72 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.002324/0.002323, allocations: 201.8 kB / 21.4 MB, free: 1.668 MB / 14.72 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 1.517/1.517, allocations: 227.4 MB / 251.6 MB, free: 84 kB / 190.1 MB " [Timeout remaining time 178] 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.2519/0.2519, allocations: 46.16 MB / 351.1 MB, free: 14.29 MB / 286.1 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 78.89 kB / 490.2 MB, free: 28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1576, allocations: 62.45 MB / 0.5397 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.00373/0.1614, allocations: 1.65 MB / 0.5413 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1625, allocations: 0.5565 MB / 0.5419 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.346e-05/0.1626, allocations: 4 kB / 0.5419 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006271/0.1632, allocations: 447.1 kB / 0.5423 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004997/0.1637, allocations: 295.3 kB / 0.5426 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.1641, allocations: 128.3 kB / 0.5427 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.1644, allocations: 171.7 kB / 0.5429 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.1646, allocations: 23.91 kB / 0.5429 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.1647, allocations: 111.7 kB / 0.543 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.165, allocations: 215.5 kB / 0.5432 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.165, allocations: 8 kB / 0.5432 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.13e-05/0.1651, allocations: 31.98 kB / 0.5432 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.1652, allocations: 79.7 kB / 0.5433 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.924e-05/0.1653, allocations: 107 kB / 0.5434 GB, free: 444 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.1657, allocations: 258.6 kB / 0.5437 GB, free: 184 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1657, allocations: 0 / 0.5437 GB, free: 184 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1657, allocations: 0 / 0.5437 GB, free: 184 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.1657, allocations: 0 / 0.5437 GB, free: 184 kB / 398.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.0008811/0.1666, allocations: 0.6492 MB / 0.5443 GB, free: 15.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1666, allocations: 12.03 kB / 0.5443 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.925e-05/0.1667, allocations: 44.66 kB / 0.5443 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.1671, allocations: 300.6 kB / 0.5446 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1671, allocations: 4.375 kB / 0.5446 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.1671, allocations: 4.375 kB / 0.5446 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.1673, allocations: 58.17 kB / 0.5447 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1673, allocations: 192 / 0.5447 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.1673, allocations: 3.938 kB / 0.5447 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1673, allocations: 0 / 0.5447 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.349e-05/0.1674, allocations: 23.98 kB / 0.5447 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005224/0.168, allocations: 388.7 kB / 0.5451 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.1682, allocations: 46.5 kB / 0.5451 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.414e-05/0.1683, allocations: 16.94 kB / 0.5452 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.1683, allocations: 7.938 kB / 0.5452 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.1683, allocations: 34.56 kB / 0.5452 GB, free: 14.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1683, allocations: 0 / 0.5452 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000671/0.169, allocations: 236.6 kB / 0.5454 GB, free: 14.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.1691, allocations: 55.39 kB / 0.5455 GB, free: 14.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009295/0.17, allocations: 0.8614 MB / 0.5463 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.17, allocations: 25.7 kB / 0.5463 GB, free: 13.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.1702, allocations: 228.1 kB / 0.5466 GB, free: 13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.1703, allocations: 15.84 kB / 0.5466 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.1703, allocations: 17.72 kB / 0.5466 GB, free: 12.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.1705, allocations: 362.7 kB / 0.5469 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.22e-05/0.1706, allocations: 23.92 kB / 0.547 GB, free: 12.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.21e-05/0.1707, allocations: 19.98 kB / 0.547 GB, free: 12.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.1708, allocations: 60.95 kB / 0.547 GB, free: 12.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1708, allocations: 0 / 0.547 GB, free: 12.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002255/0.171, allocations: 113.3 kB / 0.5471 GB, free: 12.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1711, allocations: 8 kB / 0.5471 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1711, allocations: 0 / 0.5471 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1711, allocations: 0 / 0.5471 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.439e-05/0.1712, allocations: 11.98 kB / 0.5472 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1712, allocations: 0 / 0.5472 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.475e-05/0.1712, allocations: 7.984 kB / 0.5472 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.1713, allocations: 8 kB / 0.5472 GB, free: 12.34 MB / 414.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.0002135/0.1715, allocations: 217.7 kB / 0.5474 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.1715, allocations: 39.72 kB / 0.5474 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.1718, allocations: 137.1 kB / 0.5475 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1719, allocations: 0 / 0.5475 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1719, allocations: 0 / 0.5475 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1719, allocations: 0 / 0.5475 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006039/0.1725, allocations: 462.4 kB / 0.548 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1725, allocations: 0 / 0.548 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.72e-05/0.1726, allocations: 15.98 kB / 0.548 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1726, allocations: 0 / 0.548 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.964e-06/0.1726, allocations: 288 / 0.548 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1726, allocations: 0 / 0.548 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.1726, allocations: 7.875 kB / 0.548 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.1729, allocations: 223.4 kB / 0.5482 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.753e-05/0.173, allocations: 120.8 kB / 0.5483 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.1731, allocations: 4 kB / 0.5483 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.422e-05/0.1732, allocations: 7.984 kB / 0.5484 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.1732, allocations: 7.875 kB / 0.5484 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.653e-05/0.1733, allocations: 4 kB / 0.5484 GB, free: 11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007507/0.174, allocations: 0.655 MB / 0.549 GB, free: 10.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.174, allocations: 4 kB / 0.549 GB, free: 10.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.1743, allocations: 20 kB / 0.549 GB, free: 10.33 MB / 414.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.001511/0.1758, allocations: 401.7 kB / 0.5494 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.176, allocations: 51.97 kB / 0.5495 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1761, allocations: 3.938 kB / 0.5495 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.99e-05/0.1761, allocations: 31.92 kB / 0.5495 GB, free: 9.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.1766, allocations: 29.48 kB / 0.5495 GB, free: 9.957 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.1778, allocations: 0.7905 MB / 0.5503 GB, free: 9.141 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000603/0.1784, allocations: 0.826 MB / 0.5511 GB, free: 8.289 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.728e-05/0.1785, allocations: 7.781 kB / 0.5511 GB, free: 8.281 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.1785, allocations: 19.38 kB / 0.5511 GB, free: 8.266 MB / 414.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1785, allocations: 0 / 0.5511 GB, free: 8.266 MB / 414.1 MB Notification: Performance of Templates: time 0.005878/0.1844, allocations: 1.473 MB / 0.5526 GB, free: 6.797 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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: 5.274800760671496]