Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.005455/0.005455, allocations: 157.8 kB / 24.7 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.86/0.86, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2749/0.2749, allocations: 34.26 MB / 295.7 MB, free: 0.7305 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 443.5 MB, free: 1.164 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.393e-05, allocations: 5.094 kB / 443.5 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.1802/0.1802, allocations: 1.669 MB / 445.1 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.1813, allocations: 0.5692 MB / 445.7 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.821e-05/0.1814, allocations: 3.469 kB / 445.7 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002804/0.1816, allocations: 77.94 kB / 445.8 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003079/0.1819, allocations: 108.8 kB / 445.9 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.1823, allocations: 169 kB / 446 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.1824, allocations: 97.42 kB / 446.1 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.1826, allocations: 12.47 kB / 446.2 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.879e-05/0.1826, allocations: 52.06 kB / 446.2 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1827, allocations: 52.2 kB / 446.3 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.1828, allocations: 3.156 kB / 446.3 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.1829, allocations: 51.56 kB / 446.3 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.607e-05/0.1829, allocations: 31.42 kB / 446.3 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.429e-05/0.183, allocations: 17.64 kB / 446.4 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.1832, allocations: 125.8 kB / 446.5 MB, free: 43.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1832, allocations: 0 / 446.5 MB, free: 43.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1832, allocations: 0 / 446.5 MB, free: 43.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.1832, allocations: 0 / 446.5 MB, free: 43.39 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.0004019/0.1836, allocations: 358.5 kB / 446.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1836, allocations: 12.23 kB / 446.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.1837, allocations: 15.03 kB / 446.9 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.1838, allocations: 152.1 kB / 447 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.1838, allocations: 384 / 447 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.1838, allocations: 7.188 kB / 447 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.184, allocations: 68.89 kB / 447.1 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.184, allocations: 192 / 447.1 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.184, allocations: 7.688 kB / 447.1 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.184, allocations: 2.938 kB / 447.1 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.306e-05/0.1841, allocations: 40.95 kB / 447.1 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.1844, allocations: 263 kB / 447.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.1846, allocations: 60.06 kB / 447.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.749e-05/0.1846, allocations: 27.16 kB / 447.5 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.1846, allocations: 2.719 kB / 447.5 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.167e-05/0.1846, allocations: 36.09 kB / 447.5 MB, free: 42.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.482e-06/0.1846, allocations: 1.172 kB / 447.5 MB, free: 42.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008109/0.1855, allocations: 430.5 kB / 447.9 MB, free: 42.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.1855, allocations: 51.41 kB / 448 MB, free: 42.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.1856, allocations: 211.4 kB / 448.2 MB, free: 42.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.1856, allocations: 32.27 kB / 448.2 MB, free: 42.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.794e-05/0.1857, allocations: 108.3 kB / 448.3 MB, free: 42.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.1857, allocations: 36 kB / 448.4 MB, free: 42.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.1857, allocations: 24.94 kB / 448.4 MB, free: 42.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.645e-05/0.1858, allocations: 331.5 kB / 448.7 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.007e-05/0.1858, allocations: 56.02 kB / 448.8 MB, free: 41.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.129e-05/0.1859, allocations: 52.98 kB / 448.8 MB, free: 41.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.186, allocations: 132 kB / 448.9 MB, free: 41.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.186, allocations: 0 / 448.9 MB, free: 41.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00017/0.1862, allocations: 170.4 kB / 449.1 MB, free: 41.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.1862, allocations: 4.344 kB / 449.1 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1862, allocations: 3.281 kB / 449.1 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1862, allocations: 2.969 kB / 449.1 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.159e-05/0.1863, allocations: 30.44 kB / 449.2 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1863, allocations: 0 / 449.2 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.007e-05/0.1863, allocations: 13.09 kB / 449.2 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.1863, allocations: 2.906 kB / 449.2 MB, free: 41.56 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 (11): * Single equations (assignments): 11 * 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 5.687e-05/0.1864, allocations: 143.6 kB / 449.3 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.1864, allocations: 13.62 kB / 449.3 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.1866, allocations: 195.2 kB / 449.5 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.1866, allocations: 0 / 449.5 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1867, allocations: 2.75 kB / 449.5 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1867, allocations: 3.375 kB / 449.5 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003385/0.187, allocations: 450.4 kB / 450 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.187, allocations: 0 / 450 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.907e-05/0.187, allocations: 26.31 kB / 450 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.187, allocations: 2.969 kB / 450 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1871, allocations: 4 kB / 450 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.1871, allocations: 10.84 kB / 450 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1871, allocations: 0 / 450 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.1872, allocations: 267.2 kB / 450.3 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-06/0.1872, allocations: 14.72 kB / 450.3 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.1872, allocations: 6.094 kB / 450.3 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.595e-05/0.1873, allocations: 12.94 kB / 450.3 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.1873, allocations: 10.16 kB / 450.3 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.1873, allocations: 5.812 kB / 450.3 MB, free: 40.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.536e-05/0.1874, allocations: 171.3 kB / 450.5 MB, free: 40.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1874, allocations: 0 / 450.5 MB, free: 40.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001665/0.1876, allocations: 27.59 kB / 450.5 MB, free: 40.69 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0007421/0.1883, allocations: 499 kB / 451 MB, free: 40.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.1885, allocations: 121.1 kB / 451.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1885, allocations: 0 / 451.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.547e-05/0.1886, allocations: 66 kB / 451.2 MB, free: 40.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.1888, allocations: 25.2 kB / 451.2 MB, free: 40.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.1892, allocations: 353 kB / 451.5 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.644e-05/0.1893, allocations: 115.5 kB / 451.7 MB, free: 40.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.1893, allocations: 17.03 kB / 451.7 MB, free: 40.14 MB / 410.7 MB Notification: Performance of SimCode: time 3.6e-07/0.1893, allocations: 0 / 451.7 MB, free: 40.14 MB / 410.7 MB Notification: Performance of Templates: time 0.002558/0.1919, allocations: 2.185 MB / 453.9 MB, free: 39.88 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.014612501487136]