Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.0007402/0.0007402, allocations: 88.28 kB / 21.43 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.003725/0.003725, allocations: 158 kB / 24.7 MB, free: 9.418 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.9177/0.9177, allocations: 177 MB / 204.9 MB, free: 5.734 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.2306/0.2306, 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 443.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.567e-05, allocations: 2.281 kB / 443.4 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.1832/0.1832, allocations: 1.646 MB / 445.1 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.1844, allocations: 1.269 MB / 446.4 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.534e-05/0.1845, allocations: 2.875 kB / 446.4 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.1846, allocations: 28.8 kB / 446.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.1849, allocations: 87.91 kB / 446.5 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.1851, allocations: 185.3 kB / 446.7 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.1853, allocations: 84.45 kB / 446.7 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.986e-05/0.1853, allocations: 9.422 kB / 446.7 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.178e-05/0.1854, allocations: 44.8 kB / 446.8 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.918e-05/0.1855, allocations: 32.23 kB / 446.8 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.1855, allocations: 3.062 kB / 446.8 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1856, allocations: 90.06 kB / 446.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.008e-05/0.1856, allocations: 25.08 kB / 446.9 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.1857, allocations: 17.09 kB / 447 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.1858, allocations: 164.9 kB / 447.1 MB, free: 42.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1858, allocations: 0 / 447.1 MB, free: 42.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1858, allocations: 0 / 447.1 MB, free: 42.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1858, allocations: 0 / 447.1 MB, free: 42.7 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.0003506/0.1862, allocations: 333.6 kB / 447.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.1862, allocations: 8.156 kB / 447.5 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.1863, allocations: 13.17 kB / 447.5 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.1864, allocations: 146.1 kB / 447.6 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.535e-06/0.1864, allocations: 3.562 kB / 447.6 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.1864, allocations: 3.5 kB / 447.6 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.1865, allocations: 108.9 kB / 447.7 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1865, allocations: 192 / 447.7 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1866, allocations: 7.031 kB / 447.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1866, allocations: 384 / 447.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.36e-05/0.1866, allocations: 42.62 kB / 447.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002378/0.1869, allocations: 249.6 kB / 448 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.498e-05/0.1869, allocations: 46.28 kB / 448.1 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.536e-05/0.187, allocations: 22.98 kB / 448.1 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.187, allocations: 0 / 448.1 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.385e-05/0.187, allocations: 37.31 kB / 448.1 MB, free: 41.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.187, allocations: 0 / 448.1 MB, free: 41.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.000465/0.1875, allocations: 240.3 kB / 448.4 MB, free: 41.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.1875, allocations: 77.11 kB / 448.4 MB, free: 41.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.266e-05/0.1876, allocations: 145.9 kB / 448.6 MB, free: 41.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.111e-06/0.1876, allocations: 25.7 kB / 448.6 MB, free: 41.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.52e-05/0.1876, allocations: 98.2 kB / 448.7 MB, free: 41.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.1876, allocations: 29.22 kB / 448.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.1877, allocations: 26.27 kB / 448.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.802e-05/0.1877, allocations: 320.8 kB / 449.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.698e-05/0.1877, allocations: 34.73 kB / 449.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.275e-05/0.1878, allocations: 85.8 kB / 449.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.1879, allocations: 86.69 kB / 449.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1879, allocations: 8.438 kB / 449.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001431/0.1881, allocations: 124.4 kB / 449.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1881, allocations: 8.703 kB / 449.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1881, allocations: 0 / 449.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.1881, allocations: 0 / 449.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.64e-05/0.1882, allocations: 19.39 kB / 449.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.1882, allocations: 4 kB / 449.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.123e-05/0.1882, allocations: 8.375 kB / 449.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1882, allocations: 6.625 kB / 449.4 MB, free: 40.88 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.466e-05/0.1883, allocations: 119 kB / 449.6 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.1883, allocations: 17.48 kB / 449.6 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.1885, allocations: 138.2 kB / 449.7 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1885, allocations: 4 kB / 449.7 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.1885, allocations: 0 / 449.7 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1885, allocations: 6.156 kB / 449.7 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.1887, allocations: 355.7 kB / 450.1 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1887, allocations: 0 / 450.1 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.111e-05/0.1888, allocations: 21.19 kB / 450.1 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1888, allocations: 0 / 450.1 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1888, allocations: 3.938 kB / 450.1 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1888, allocations: 6.938 kB / 450.1 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1888, allocations: 1.641 kB / 450.1 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.1889, allocations: 222.7 kB / 450.3 MB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.285e-06/0.1889, allocations: 6.922 kB / 450.3 MB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.1889, allocations: 2.906 kB / 450.3 MB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.541e-05/0.189, allocations: 13.25 kB / 450.3 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.189, allocations: 6.219 kB / 450.3 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.189, allocations: 4 kB / 450.3 MB, free: 40.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.2e-05/0.1891, allocations: 116.3 kB / 450.5 MB, free: 40.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1891, allocations: 0 / 450.5 MB, free: 40.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001781/0.1892, allocations: 47.23 kB / 450.5 MB, free: 40.13 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.0007309/0.19, allocations: 0.5196 MB / 451 MB, free: 39.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001745/0.1901, allocations: 82.66 kB / 451.1 MB, free: 39.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1902, allocations: 0 / 451.1 MB, free: 39.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.818e-05/0.1902, allocations: 48.69 kB / 451.2 MB, free: 39.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.1904, allocations: 23.62 kB / 451.2 MB, free: 39.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.1908, allocations: 247.5 kB / 451.4 MB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.037e-05/0.1908, allocations: 84.55 kB / 451.5 MB, free: 39.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.1908, allocations: 20.52 kB / 451.5 MB, free: 39.63 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1908, allocations: 4 kB / 451.5 MB, free: 39.62 MB / 410.7 MB Notification: Performance of Templates: time 0.002415/0.1933, allocations: 2.229 MB / 453.8 MB, free: 39.38 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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: 5.06134778726846]