Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.0008081/0.0008081, allocations: 87.62 kB / 21.43 MB, free: 3.125 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.004193/0.004193, allocations: 160.8 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.8865/0.8865, allocations: 177.1 MB / 205 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2272/0.2272, allocations: 32.8 MB / 294.2 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 440.9 MB, free: 3.648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.14e-05, allocations: 6.219 kB / 440.9 MB, free: 3.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002037/0.002058, allocations: 1.712 MB / 442.7 MB, free: 1.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.003168, allocations: 0.9742 MB / 443.6 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.05e-05/0.003239, allocations: 3.938 kB / 443.6 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.003511, allocations: 47.75 kB / 443.7 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002487/0.00376, allocations: 99.42 kB / 443.8 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.003889, allocations: 79.67 kB / 443.9 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.004032, allocations: 107.6 kB / 444 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.508e-05/0.004117, allocations: 4 kB / 444 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.478e-05/0.004192, allocations: 55.83 kB / 444 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.038e-05/0.004262, allocations: 27.91 kB / 444 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.004277, allocations: 4 kB / 444 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.054e-05/0.004348, allocations: 47.86 kB / 444.1 MB, free: 472 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.284e-05/0.0044, allocations: 27.86 kB / 444.1 MB, free: 444 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.004435, allocations: 23.91 kB / 444.1 MB, free: 420 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.004596, allocations: 119.6 kB / 444.3 MB, free: 300 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004599, allocations: 0 / 444.3 MB, free: 300 kB / 410.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004599, allocations: 4 kB / 444.3 MB, free: 296 kB / 410.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.004603, allocations: 0 / 444.3 MB, free: 296 kB / 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.1835/0.1881, allocations: 350.4 kB / 444.6 MB, free: 46.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1881, allocations: 8.656 kB / 444.6 MB, free: 46.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.1882, allocations: 14.03 kB / 444.6 MB, free: 46.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.1884, allocations: 149.4 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1884, allocations: 3.156 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.1884, allocations: 4.25 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.1885, allocations: 58.47 kB / 444.8 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1886, allocations: 1.625 kB / 444.8 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.1886, allocations: 2.969 kB / 444.8 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1886, allocations: 0 / 444.8 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.069e-05/0.1886, allocations: 27.88 kB / 444.9 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002412/0.1889, allocations: 231.2 kB / 445.1 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.189, allocations: 55.08 kB / 445.2 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/0.189, allocations: 21.25 kB / 445.2 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.189, allocations: 4.281 kB / 445.2 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.779e-05/0.1891, allocations: 75.61 kB / 445.2 MB, free: 46.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.1891, allocations: 0 / 445.2 MB, free: 46.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003831/0.1895, allocations: 189 kB / 445.4 MB, free: 46.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.1895, allocations: 54.16 kB / 445.5 MB, free: 46.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.1896, allocations: 215.6 kB / 445.7 MB, free: 46.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.092e-06/0.1896, allocations: 25.7 kB / 445.7 MB, free: 46.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.846e-05/0.1897, allocations: 107.8 kB / 445.8 MB, free: 45.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.1897, allocations: 21.58 kB / 445.8 MB, free: 45.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.1897, allocations: 25.7 kB / 445.9 MB, free: 45.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.934e-05/0.1897, allocations: 325.5 kB / 446.2 MB, free: 45.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.205e-05/0.1898, allocations: 21.42 kB / 446.2 MB, free: 45.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.443e-05/0.1898, allocations: 41.16 kB / 446.3 MB, free: 45.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.099e-05/0.1899, allocations: 58.27 kB / 446.3 MB, free: 45.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1899, allocations: 3.781 kB / 446.3 MB, free: 45.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.581e-05/0.19, allocations: 115.8 kB / 446.4 MB, free: 45.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.19, allocations: 8.594 kB / 446.4 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.19, allocations: 2.781 kB / 446.4 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.19, allocations: 3.469 kB / 446.4 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.181e-05/0.19, allocations: 20.61 kB / 446.5 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.19, allocations: 0 / 446.5 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.899e-05/0.1901, allocations: 10.06 kB / 446.5 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1901, allocations: 6.188 kB / 446.5 MB, free: 45.55 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 4.985e-05/0.1901, allocations: 130 kB / 446.6 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.1901, allocations: 13.11 kB / 446.6 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.1903, allocations: 118.5 kB / 446.7 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1903, allocations: 3.062 kB / 446.7 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1903, allocations: 1.812 kB / 446.7 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1903, allocations: 2.906 kB / 446.7 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.1905, allocations: 359.5 kB / 447.1 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1905, allocations: 0 / 447.1 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.968e-05/0.1905, allocations: 12.3 kB / 447.1 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.1905, allocations: 0 / 447.1 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.1905, allocations: 6.5 kB / 447.1 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1905, allocations: 0 / 447.1 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1905, allocations: 2.938 kB / 447.1 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.747e-05/0.1906, allocations: 215.7 kB / 447.3 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.018e-05/0.1906, allocations: 9.734 kB / 447.3 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.1906, allocations: 7.281 kB / 447.3 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.741e-05/0.1907, allocations: 2.969 kB / 447.3 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.1907, allocations: 15.38 kB / 447.4 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.1907, allocations: 2.906 kB / 447.4 MB, free: 44.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.174e-05/0.1908, allocations: 164.9 kB / 447.5 MB, free: 44.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1908, allocations: 1.688 kB / 447.5 MB, free: 44.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001663/0.191, allocations: 27.2 kB / 447.5 MB, free: 44.81 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.0006886/0.1916, allocations: 484.3 kB / 448 MB, free: 44.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.1918, allocations: 63.36 kB / 448.1 MB, free: 44.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.1918, allocations: 3.938 kB / 448.1 MB, free: 44.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.838e-05/0.1918, allocations: 29.28 kB / 448.1 MB, free: 44.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.192, allocations: 35.14 kB / 448.2 MB, free: 44.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.1923, allocations: 272 kB / 448.4 MB, free: 44.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.541e-05/0.1924, allocations: 96.8 kB / 448.5 MB, free: 44.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.1924, allocations: 20.47 kB / 448.5 MB, free: 44.35 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.1924, allocations: 4 kB / 448.5 MB, free: 44.35 MB / 410.7 MB Notification: Performance of Templates: time 0.002118/0.1945, allocations: 2.038 MB / 450.6 MB, free: 44.12 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.015865062363446]