Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.0008292/0.0008292, allocations: 88.28 kB / 21.43 MB, free: 3.137 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.003056/0.003056, allocations: 155.5 kB / 24.7 MB, free: 8.895 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.8436/0.8436, allocations: 177 MB / 204.9 MB, free: 5.758 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.2372/0.2372, allocations: 34.25 MB / 295.6 MB, free: 0.6758 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 443.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.674e-05/2.91e-05, allocations: 2.281 kB / 443.5 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.1732/0.1732, allocations: 1.661 MB / 445.1 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007288/0.1739, allocations: 0.5409 MB / 445.7 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.771e-05/0.174, allocations: 0 / 445.7 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.1744, allocations: 462.4 kB / 446.1 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003307/0.1747, allocations: 291.7 kB / 446.4 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.1749, allocations: 133.1 kB / 446.5 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.1751, allocations: 183.2 kB / 446.7 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.813e-05/0.1752, allocations: 9.75 kB / 446.7 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.93e-05/0.1753, allocations: 124 kB / 446.8 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.1755, allocations: 236.5 kB / 447.1 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.1755, allocations: 2.906 kB / 447.1 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.014e-05/0.1755, allocations: 57.42 kB / 447.1 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.938e-05/0.1756, allocations: 83.69 kB / 447.2 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.1757, allocations: 48.84 kB / 447.2 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.1758, allocations: 249.4 kB / 447.5 MB, free: 43.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1758, allocations: 0 / 447.5 MB, free: 43.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1758, allocations: 0 / 447.5 MB, free: 43.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.1759, allocations: 0 / 447.5 MB, free: 43.21 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004363/0.1763, allocations: 0.5798 MB / 448.1 MB, free: 42.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1763, allocations: 8.531 kB / 448.1 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.1764, allocations: 44.81 kB / 448.1 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.1765, allocations: 246.4 kB / 448.4 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.1765, allocations: 8.312 kB / 448.4 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.1766, allocations: 9.969 kB / 448.4 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.1767, allocations: 59.39 kB / 448.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1767, allocations: 192 / 448.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1767, allocations: 384 / 448.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.1767, allocations: 384 / 448.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.978e-05/0.1768, allocations: 39.19 kB / 448.5 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002872/0.177, allocations: 332.8 kB / 448.8 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.944e-05/0.1771, allocations: 43.45 kB / 448.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.642e-05/0.1771, allocations: 20.08 kB / 448.9 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.1772, allocations: 10.91 kB / 448.9 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.38e-05/0.1772, allocations: 30.56 kB / 448.9 MB, free: 42.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1772, allocations: 0 / 448.9 MB, free: 42.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005823/0.1778, allocations: 313.4 kB / 449.2 MB, free: 41.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.1778, allocations: 55.41 kB / 449.3 MB, free: 41.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004762/0.1783, allocations: 0.8597 MB / 450.1 MB, free: 41.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.1783, allocations: 28.39 kB / 450.2 MB, free: 41.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.628e-05/0.1783, allocations: 219.4 kB / 450.4 MB, free: 41.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.1784, allocations: 21.88 kB / 450.4 MB, free: 41.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.1784, allocations: 26.88 kB / 450.4 MB, free: 41.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.043e-05/0.1784, allocations: 359.6 kB / 450.8 MB, free: 40.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.111e-05/0.1785, allocations: 28.39 kB / 450.8 MB, free: 40.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.415e-05/0.1785, allocations: 28 kB / 450.8 MB, free: 40.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.682e-05/0.1786, allocations: 66.95 kB / 450.9 MB, free: 40.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1786, allocations: 0 / 450.9 MB, free: 40.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001198/0.1787, allocations: 132 kB / 451 MB, free: 40.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.1787, allocations: 5.688 kB / 451 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1787, allocations: 3.281 kB / 451 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1787, allocations: 0 / 451 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.361e-05/0.1788, allocations: 16.84 kB / 451 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1788, allocations: 6.906 kB / 451 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.9e-05/0.1788, allocations: 10.72 kB / 451.1 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.1789, allocations: 5.656 kB / 451.1 MB, free: 40.84 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 (8): * Single equations (assignments): 8 * 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.000103/0.179, allocations: 220.8 kB / 451.3 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.179, allocations: 44.34 kB / 451.3 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/0.1792, allocations: 159.8 kB / 451.5 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1792, allocations: 2.906 kB / 451.5 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1792, allocations: 0 / 451.5 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1792, allocations: 4 kB / 451.5 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.1795, allocations: 450.4 kB / 451.9 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1795, allocations: 0 / 451.9 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.213e-05/0.1795, allocations: 21.84 kB / 451.9 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1795, allocations: 2.875 kB / 451.9 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.1795, allocations: 3.188 kB / 452 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1795, allocations: 0 / 452 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1795, allocations: 3 kB / 452 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.1796, allocations: 241.4 kB / 452.2 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.817e-05/0.1797, allocations: 36.03 kB / 452.2 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.1797, allocations: 6.172 kB / 452.2 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.101e-05/0.1797, allocations: 2.875 kB / 452.2 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.1797, allocations: 10.14 kB / 452.2 MB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-06/0.1797, allocations: 6.812 kB / 452.3 MB, free: 40.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003032/0.18, allocations: 0.6538 MB / 452.9 MB, free: 39.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.18, allocations: 0 / 452.9 MB, free: 39.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000174/0.1802, allocations: 32.95 kB / 452.9 MB, free: 39.8 MB / 410.7 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 (8): * Single equations (assignments): 8 * 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.0007/0.1809, allocations: 490.1 kB / 453.4 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.1811, allocations: 59.45 kB / 453.5 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1811, allocations: 6.938 kB / 453.5 MB, free: 39.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.093e-05/0.1811, allocations: 34.39 kB / 453.5 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.1814, allocations: 25.19 kB / 453.5 MB, free: 39.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006389/0.182, allocations: 0.8615 MB / 454.4 MB, free: 39.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.1821, allocations: 217.6 kB / 454.6 MB, free: 39.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.944e-05/0.1822, allocations: 24.31 kB / 454.6 MB, free: 39.07 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1822, allocations: 0 / 454.6 MB, free: 39.07 MB / 410.7 MB Notification: Performance of Templates: time 0.003879/0.186, allocations: 4.104 MB / 458.7 MB, free: 38.17 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.627043380402029]