Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.0008357/0.0008357, 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.003438/0.003438, allocations: 159.9 kB / 24.7 MB, free: 9.414 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.8818/0.8818, allocations: 177.1 MB / 205 MB, free: 5.719 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.2419/0.2419, allocations: 34.26 MB / 295.7 MB, free: 0.6875 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.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 443.5 MB, free: 1.051 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.883e-05, allocations: 2.281 kB / 443.5 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.1815/0.1815, allocations: 1.712 MB / 445.2 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.183, allocations: 1.677 MB / 446.9 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.087e-05/0.183, allocations: 2.844 kB / 446.9 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.1833, allocations: 38.44 kB / 447 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.1836, allocations: 100.4 kB / 447.1 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.1837, allocations: 77.72 kB / 447.1 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.1839, allocations: 112.5 kB / 447.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.046e-05/0.184, allocations: 10.16 kB / 447.3 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.019e-05/0.184, allocations: 61.94 kB / 447.3 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.141e-05/0.1841, allocations: 29.16 kB / 447.3 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.1841, allocations: 6.219 kB / 447.3 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.1843, allocations: 103.5 kB / 447.5 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.812e-05/0.1843, allocations: 28.09 kB / 447.5 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.1843, allocations: 17.72 kB / 447.5 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.1846, allocations: 188 kB / 447.7 MB, free: 42.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1846, allocations: 4 kB / 447.7 MB, free: 42.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1846, allocations: 0 / 447.7 MB, free: 42.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.708e-06/0.1846, allocations: 0 / 447.7 MB, free: 42.46 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000389/0.185, allocations: 348.6 kB / 448 MB, free: 42.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.185, allocations: 10.91 kB / 448 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.185, allocations: 13.83 kB / 448 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.1852, allocations: 145.1 kB / 448.2 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.1852, allocations: 4.375 kB / 448.2 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.1853, allocations: 6.984 kB / 448.2 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.1854, allocations: 103.2 kB / 448.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.1854, allocations: 0 / 448.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1854, allocations: 2.812 kB / 448.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1854, allocations: 0 / 448.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.706e-05/0.1855, allocations: 28.64 kB / 448.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002398/0.1857, allocations: 230.5 kB / 448.6 MB, free: 41.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.1858, allocations: 60.14 kB / 448.6 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.017e-05/0.1858, allocations: 20.25 kB / 448.6 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.1859, allocations: 2.688 kB / 448.6 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.969e-05/0.186, allocations: 70.55 kB / 448.7 MB, free: 41.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.186, allocations: 0 / 448.7 MB, free: 41.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003757/0.1863, allocations: 180.5 kB / 448.9 MB, free: 41.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.1864, allocations: 79.67 kB / 449 MB, free: 41.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.119e-05/0.1865, allocations: 167.6 kB / 449.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.714e-06/0.1865, allocations: 28.39 kB / 449.2 MB, free: 41.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.638e-05/0.1865, allocations: 98.06 kB / 449.2 MB, free: 41.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.1865, allocations: 21.2 kB / 449.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.1865, allocations: 29.19 kB / 449.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.055e-05/0.1866, allocations: 328.1 kB / 449.6 MB, free: 40.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.352e-05/0.1866, allocations: 24.19 kB / 449.6 MB, free: 40.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.868e-05/0.1866, allocations: 72.94 kB / 449.7 MB, free: 40.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.326e-05/0.1867, allocations: 60.05 kB / 449.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1867, allocations: 0 / 449.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001007/0.1868, allocations: 109.2 kB / 449.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.1868, allocations: 9.5 kB / 449.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1868, allocations: 0 / 449.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1868, allocations: 2.812 kB / 449.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.075e-05/0.1869, allocations: 15.12 kB / 449.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.1869, allocations: 2.812 kB / 449.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.1869, allocations: 10.69 kB / 449.9 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.1869, allocations: 5.969 kB / 449.9 MB, free: 40.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.411e-05/0.187, allocations: 124.3 kB / 450 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.187, allocations: 9.547 kB / 450.1 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.1871, allocations: 129.3 kB / 450.2 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1872, allocations: 2.938 kB / 450.2 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1872, allocations: 3.188 kB / 450.2 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1872, allocations: 0 / 450.2 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.1874, allocations: 352.3 kB / 450.5 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1874, allocations: 0 / 450.5 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.08e-05/0.1874, allocations: 8.562 kB / 450.5 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1874, allocations: 0 / 450.5 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.1874, allocations: 6.312 kB / 450.5 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1874, allocations: 4.031 kB / 450.5 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1874, allocations: 0 / 450.5 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.1875, allocations: 215.9 kB / 450.8 MB, free: 39.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.156e-05/0.1875, allocations: 13.7 kB / 450.8 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.1876, allocations: 0 / 450.8 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.886e-05/0.1876, allocations: 2.844 kB / 450.8 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.1876, allocations: 10.2 kB / 450.8 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.1876, allocations: 12.91 kB / 450.8 MB, free: 39.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.038e-05/0.1877, allocations: 126.3 kB / 450.9 MB, free: 39.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1877, allocations: 0 / 450.9 MB, free: 39.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002/0.1879, allocations: 46.89 kB / 451 MB, free: 39.82 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008706/0.1888, allocations: 0.5939 MB / 451.6 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001273/0.1889, allocations: 55.38 kB / 451.6 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1889, allocations: 0 / 451.6 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.001e-05/0.1889, allocations: 37.05 kB / 451.7 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.0002097/0.1891, allocations: 43.7 kB / 451.7 MB, free: 39.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003037/0.1894, allocations: 232.6 kB / 451.9 MB, free: 39.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.604e-05/0.1895, allocations: 90.36 kB / 452 MB, free: 39.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.1895, allocations: 24.42 kB / 452 MB, free: 39.3 MB / 410.7 MB Notification: Performance of SimCode: time 4.7e-07/0.1895, allocations: 0 / 452 MB, free: 39.3 MB / 410.7 MB Notification: Performance of Templates: time 0.002578/0.1921, allocations: 2.451 MB / 454.5 MB, free: 39.04 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.718350078910589]