Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.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.000919/0.000919, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.004998/0.004998, allocations: 160.2 kB / 24.7 MB, free: 9.441 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.8557/0.8557, allocations: 177 MB / 204.9 MB, free: 5.707 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.2244/0.2244, allocations: 34.25 MB / 295.6 MB, free: 0.6719 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.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y.1.|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y.1.|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 4 kB / 443.4 MB, free: 1.008 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.457e-05, allocations: 2.281 kB / 443.4 MB, free: 1.004 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.1703/0.1704, allocations: 1.81 MB / 445.3 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.1714, allocations: 0.9917 MB / 446.2 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.371e-05/0.1715, allocations: 3.062 kB / 446.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.1717, allocations: 71.75 kB / 446.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.1719, allocations: 122 kB / 446.4 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003136/0.1723, allocations: 206.8 kB / 446.6 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.1724, allocations: 210 kB / 446.8 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.504e-05/0.1725, allocations: 15.45 kB / 446.9 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1726, allocations: 107.4 kB / 447 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.391e-05/0.1727, allocations: 96.3 kB / 447.1 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.1728, allocations: 14.5 kB / 447.1 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.476e-05/0.1728, allocations: 46.2 kB / 447.1 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.39e-05/0.1729, allocations: 48.33 kB / 447.2 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.913e-05/0.1729, allocations: 47.22 kB / 447.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.1731, allocations: 203.3 kB / 447.4 MB, free: 42.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1731, allocations: 0 / 447.4 MB, free: 42.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1731, allocations: 0 / 447.4 MB, free: 42.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1731, allocations: 0 / 447.4 MB, free: 42.58 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006111/0.1737, allocations: 0.5005 MB / 447.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.1738, allocations: 10.72 kB / 447.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.1738, allocations: 21.05 kB / 447.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.174, allocations: 180.3 kB / 448.1 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.174, allocations: 7.094 kB / 448.1 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.174, allocations: 12.86 kB / 448.1 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.1743, allocations: 144.6 kB / 448.3 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1743, allocations: 2.875 kB / 448.3 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1743, allocations: 384 / 448.3 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1743, allocations: 6.5 kB / 448.3 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003283/0.1746, allocations: 168 kB / 448.5 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004078/0.175, allocations: 342.9 kB / 448.8 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/0.1754, allocations: 191.9 kB / 449 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.1756, allocations: 92.39 kB / 449.1 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.1756, allocations: 8.094 kB / 449.1 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003025/0.1759, allocations: 172.7 kB / 449.2 MB, free: 41.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.1759, allocations: 0 / 449.2 MB, free: 41.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.001735/0.1776, allocations: 0.8393 MB / 450.1 MB, free: 41.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.1777, allocations: 58.44 kB / 450.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.1778, allocations: 243.5 kB / 450.4 MB, free: 41.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.1778, allocations: 32.61 kB / 450.4 MB, free: 41.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.1778, allocations: 123.8 kB / 450.5 MB, free: 41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.1779, allocations: 40.69 kB / 450.6 MB, free: 40.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.1779, allocations: 36.81 kB / 450.6 MB, free: 40.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.981e-05/0.178, allocations: 335.1 kB / 450.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000335/0.1783, allocations: 228.4 kB / 451.2 MB, free: 40.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/0.1786, allocations: 232.5 kB / 451.4 MB, free: 40.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005812/0.1792, allocations: 388.3 kB / 451.8 MB, free: 40.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1792, allocations: 2.781 kB / 451.8 MB, free: 40.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006897/0.1799, allocations: 0.5166 MB / 452.3 MB, free: 40.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.1799, allocations: 57.25 kB / 452.3 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.1799, allocations: 0 / 452.3 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.1799, allocations: 2.781 kB / 452.3 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.1801, allocations: 78.69 kB / 452.4 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1801, allocations: 2.578 kB / 452.4 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.1803, allocations: 67.7 kB / 452.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.1803, allocations: 5.797 kB / 452.5 MB, free: 39.98 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: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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 8.143e-05/0.1804, allocations: 138.9 kB / 452.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.1804, allocations: 24.55 kB / 452.7 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007337/0.1812, allocations: 414.7 kB / 453.1 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1812, allocations: 0 / 453.1 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1812, allocations: 0 / 453.1 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1812, allocations: 7.266 kB / 453.1 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008388/0.182, allocations: 0.6457 MB / 453.7 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.182, allocations: 5.266 kB / 453.7 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.1822, allocations: 63.36 kB / 453.8 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1822, allocations: 0 / 453.8 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.1822, allocations: 13.97 kB / 453.8 MB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1822, allocations: 0 / 453.8 MB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1822, allocations: 3.938 kB / 453.8 MB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006492/0.1828, allocations: 498.8 kB / 454.3 MB, free: 39.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.408e-05/0.1828, allocations: 13.75 kB / 454.3 MB, free: 39.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.1829, allocations: 6.938 kB / 454.3 MB, free: 39.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.183, allocations: 62.33 kB / 454.4 MB, free: 39.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.77e-05/0.1831, allocations: 53.16 kB / 454.4 MB, free: 39.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.1831, allocations: 2.938 kB / 454.4 MB, free: 39.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.467e-05/0.1832, allocations: 183 kB / 454.6 MB, free: 39.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1832, allocations: 3.938 kB / 454.6 MB, free: 39.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002082/0.1834, allocations: 50.83 kB / 454.7 MB, free: 39.06 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000621/0.1841, allocations: 431.9 kB / 455.1 MB, free: 38.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007135/0.1848, allocations: 0.518 MB / 455.6 MB, free: 38.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1848, allocations: 0 / 455.6 MB, free: 38.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003175/0.1851, allocations: 187.2 kB / 455.8 MB, free: 38.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.1853, allocations: 33.94 kB / 455.8 MB, free: 38.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005299/0.1859, allocations: 396.3 kB / 456.2 MB, free: 38.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.094e-05/0.1859, allocations: 111.1 kB / 456.3 MB, free: 38.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.404e-05/0.186, allocations: 26.86 kB / 456.3 MB, free: 38.27 MB / 410.7 MB Notification: Performance of SimCode: time 3.9e-07/0.186, allocations: 0 / 456.3 MB, free: 38.27 MB / 410.7 MB Notification: Performance of Templates: time 0.003044/0.189, allocations: 3.379 MB / 459.7 MB, free: 37.92 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y[1],d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:d_t_new.y,t_new.y[1],time,trapezoid1.y,trapezoid2.y [Calling sys.exit(0), Time elapsed: 5.0709314765408635]