Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.0008079/0.0008079, allocations: 83.62 kB / 21.43 MB, free: 3.129 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.003462/0.003462, allocations: 159.5 kB / 24.7 MB, free: 8.359 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.8421/0.8421, 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.2593/0.2593, allocations: 34.26 MB / 295.7 MB, free: 0.7109 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.195e-06/2.195e-06, allocations: 0 / 443.5 MB, free: 1.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.329e-05/3.549e-05, allocations: 6.219 kB / 443.5 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.1848/0.1848, allocations: 1.67 MB / 445.2 MB, free: 43.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009693/0.1858, allocations: 0.9613 MB / 446.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.352e-05/0.1858, allocations: 0 / 446.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.1861, allocations: 54.14 kB / 446.2 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.1863, allocations: 103.9 kB / 446.3 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001102/0.1864, allocations: 70.09 kB / 446.4 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.1865, allocations: 111.6 kB / 446.5 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.907e-05/0.1866, allocations: 2.734 kB / 446.5 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.116e-05/0.1866, allocations: 49.91 kB / 446.5 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.473e-05/0.1867, allocations: 25.78 kB / 446.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.1867, allocations: 2.875 kB / 446.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.176e-05/0.1868, allocations: 37.06 kB / 446.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.1868, allocations: 26.11 kB / 446.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.1869, allocations: 23.34 kB / 446.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.187, allocations: 125.6 kB / 446.8 MB, free: 43.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.187, allocations: 0.7188 kB / 446.8 MB, free: 43.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.187, allocations: 3.312 kB / 446.8 MB, free: 43.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.187, allocations: 0 / 446.8 MB, free: 43.1 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00037/0.1874, allocations: 360.7 kB / 447.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.1874, allocations: 9.562 kB / 447.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.1875, allocations: 15.75 kB / 447.2 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.1876, allocations: 162.2 kB / 447.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.1877, allocations: 10.84 kB / 447.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.1877, allocations: 3.344 kB / 447.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.1878, allocations: 53.16 kB / 447.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1878, allocations: 6.875 kB / 447.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1878, allocations: 3.234 kB / 447.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.1878, allocations: 0 / 447.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.603e-05/0.1878, allocations: 20.53 kB / 447.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001158/0.188, allocations: 134.8 kB / 447.5 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.787e-05/0.1881, allocations: 56.25 kB / 447.6 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.892e-05/0.1881, allocations: 20.94 kB / 447.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.1881, allocations: 0 / 447.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.546e-05/0.1882, allocations: 71.98 kB / 447.7 MB, free: 42.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 7.91e-07/0.1882, allocations: 0 / 447.7 MB, free: 42.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001935/0.1884, allocations: 104 kB / 447.8 MB, free: 42.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.1884, allocations: 51.91 kB / 447.8 MB, free: 42.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.1885, allocations: 274.1 kB / 448.1 MB, free: 42.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/0.1886, allocations: 27.58 kB / 448.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.125e-05/0.1886, allocations: 115.5 kB / 448.2 MB, free: 41.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.1886, allocations: 17.89 kB / 448.3 MB, free: 41.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.1886, allocations: 16.66 kB / 448.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.641e-05/0.1887, allocations: 323.8 kB / 448.6 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.894e-05/0.1887, allocations: 19.52 kB / 448.6 MB, free: 41.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.979e-05/0.1887, allocations: 35.55 kB / 448.7 MB, free: 41.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.396e-05/0.1888, allocations: 44.62 kB / 448.7 MB, free: 41.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.1888, allocations: 1.75 kB / 448.7 MB, free: 41.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.456e-05/0.1889, allocations: 88.78 kB / 448.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.1889, allocations: 5.844 kB / 448.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1889, allocations: 3.938 kB / 448.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1889, allocations: 2.906 kB / 448.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.427e-05/0.189, allocations: 16.23 kB / 448.8 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.189, allocations: 0 / 448.8 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.962e-05/0.189, allocations: 6.875 kB / 448.8 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.189, allocations: 6.969 kB / 448.8 MB, free: 41.43 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 (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 5.782e-05/0.1891, allocations: 129.8 kB / 449 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/0.1891, allocations: 19.64 kB / 449 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.1892, allocations: 107.1 kB / 449.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1892, allocations: 2.562 kB / 449.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1892, allocations: 0 / 449.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1892, allocations: 7.938 kB / 449.1 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.034e-05/0.1893, allocations: 147.2 kB / 449.2 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1893, allocations: 3.375 kB / 449.2 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.327e-05/0.1893, allocations: 6.75 kB / 449.2 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1893, allocations: 2.719 kB / 449.2 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.1893, allocations: 0 / 449.2 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1893, allocations: 3.938 kB / 449.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1893, allocations: 0 / 449.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.7e-05/0.1894, allocations: 124.7 kB / 449.4 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.25e-05/0.1894, allocations: 10.78 kB / 449.4 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.1894, allocations: 2.938 kB / 449.4 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.811e-05/0.1894, allocations: 10.09 kB / 449.4 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/0.1895, allocations: 7.109 kB / 449.4 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.1895, allocations: 6.656 kB / 449.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.136e-05/0.1896, allocations: 206.8 kB / 449.6 MB, free: 40.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1896, allocations: 0 / 449.6 MB, free: 40.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001471/0.1897, allocations: 22.06 kB / 449.6 MB, free: 40.87 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: 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 (6): * Single equations (assignments): 4 * 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.0006694/0.1904, allocations: 433.5 kB / 450.1 MB, free: 40.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001063/0.1905, allocations: 52.36 kB / 450.1 MB, free: 40.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.1905, allocations: 4.062 kB / 450.1 MB, free: 40.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.15e-05/0.1905, allocations: 18.78 kB / 450.1 MB, free: 40.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.1907, allocations: 22.09 kB / 450.1 MB, free: 40.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.191, allocations: 299.5 kB / 450.4 MB, free: 40.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.637e-05/0.1911, allocations: 102.1 kB / 450.5 MB, free: 40.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.423e-05/0.1911, allocations: 20.55 kB / 450.6 MB, free: 40.42 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1911, allocations: 0 / 450.6 MB, free: 40.42 MB / 410.7 MB Notification: Performance of Templates: time 0.002362/0.1935, allocations: 1.951 MB / 452.5 MB, free: 40.18 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.681611524894834]