Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.001221/0.001221, allocations: 87.62 kB / 21.44 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.007708/0.007708, allocations: 162.7 kB / 24.7 MB, free: 9.43 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.8998/0.8998, 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.2607/0.2607, allocations: 34.25 MB / 295.7 MB, free: 0.6719 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 443.5 MB, free: 1.059 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/2.929e-05, allocations: 7.062 kB / 443.5 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.1871/0.1871, allocations: 1.711 MB / 445.2 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008936/0.188, allocations: 0.9698 MB / 446.2 MB, free: 43.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.203e-05/0.1881, allocations: 3.688 kB / 446.2 MB, free: 43.35 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.1882, allocations: 34.45 kB / 446.2 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.1884, allocations: 97.77 kB / 446.3 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001027/0.1885, allocations: 78.36 kB / 446.4 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.1886, allocations: 111.6 kB / 446.5 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.666e-05/0.1887, allocations: 6.875 kB / 446.5 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.122e-05/0.1888, allocations: 58.05 kB / 446.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.879e-05/0.1888, allocations: 30.81 kB / 446.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.1888, allocations: 5.844 kB / 446.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.645e-05/0.1889, allocations: 43.14 kB / 446.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.369e-05/0.1889, allocations: 19.94 kB / 446.7 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.189, allocations: 23.98 kB / 446.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.1891, allocations: 109.8 kB / 446.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.1891, allocations: 0 / 446.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1891, allocations: 3.281 kB / 446.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.1891, allocations: 0 / 446.8 MB, free: 43.11 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.0002864/0.1894, allocations: 343.1 kB / 447.2 MB, free: 42.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.793e-05/0.1894, allocations: 11.25 kB / 447.2 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.1894, allocations: 10.77 kB / 447.2 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.1896, allocations: 147.8 kB / 447.3 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.1896, allocations: 3.281 kB / 447.3 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.1896, allocations: 2.938 kB / 447.3 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.889e-05/0.1897, allocations: 51.48 kB / 447.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1897, allocations: 6.875 kB / 447.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.1897, allocations: 3.328 kB / 447.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-06/0.1897, allocations: 0 / 447.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.147e-05/0.1898, allocations: 28.08 kB / 447.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001776/0.19, allocations: 233.7 kB / 447.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.005e-05/0.19, allocations: 57.81 kB / 447.7 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.747e-05/0.1901, allocations: 26.38 kB / 447.7 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.1901, allocations: 0 / 447.7 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.994e-05/0.1902, allocations: 72.25 kB / 447.8 MB, free: 42.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 7.41e-07/0.1902, allocations: 0 / 447.8 MB, free: 42.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003102/0.1905, allocations: 180.6 kB / 448 MB, free: 42.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.707e-05/0.1905, allocations: 51.41 kB / 448 MB, free: 42.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.399e-05/0.1906, allocations: 178.7 kB / 448.2 MB, free: 41.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.1906, allocations: 32.73 kB / 448.2 MB, free: 41.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.451e-05/0.1906, allocations: 98.25 kB / 448.3 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.1906, allocations: 18.89 kB / 448.3 MB, free: 41.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.382e-05/0.1906, allocations: 25.55 kB / 448.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.475e-05/0.1907, allocations: 321.1 kB / 448.7 MB, free: 41.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.879e-05/0.1907, allocations: 26.44 kB / 448.7 MB, free: 41.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.225e-05/0.1907, allocations: 39.06 kB / 448.8 MB, free: 41.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.935e-05/0.1908, allocations: 72.67 kB / 448.8 MB, free: 41.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1908, allocations: 3.938 kB / 448.8 MB, free: 41.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.025e-05/0.1909, allocations: 97.7 kB / 448.9 MB, free: 41.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.1909, allocations: 11.2 kB / 448.9 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.1909, allocations: 0 / 448.9 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.1909, allocations: 0 / 448.9 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.954e-05/0.191, allocations: 23.12 kB / 449 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.191, allocations: 7.281 kB / 449 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.438e-05/0.191, allocations: 3.25 kB / 449 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.191, allocations: 2.594 kB / 449 MB, free: 41.36 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.288e-05/0.191, allocations: 121.9 kB / 449.1 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.191, allocations: 13.95 kB / 449.1 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/0.1912, allocations: 119.2 kB / 449.2 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1912, allocations: 3 kB / 449.2 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.1912, allocations: 3.234 kB / 449.2 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1912, allocations: 0 / 449.2 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.1914, allocations: 356.8 kB / 449.6 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1914, allocations: 3.234 kB / 449.6 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.847e-05/0.1914, allocations: 10.91 kB / 449.6 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.1914, allocations: 0 / 449.6 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.1914, allocations: 2.625 kB / 449.6 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1914, allocations: 0 / 449.6 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1914, allocations: 3.938 kB / 449.6 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.821e-05/0.1915, allocations: 209 kB / 449.8 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.235e-06/0.1915, allocations: 9.453 kB / 449.8 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.1915, allocations: 11.08 kB / 449.8 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.569e-05/0.1916, allocations: 6.5 kB / 449.8 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/0.1916, allocations: 6.094 kB / 449.8 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.1916, allocations: 5.281 kB / 449.8 MB, free: 40.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.722e-05/0.1916, allocations: 136.3 kB / 450 MB, free: 40.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1916, allocations: 0 / 450 MB, free: 40.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000161/0.1918, allocations: 25.64 kB / 450 MB, free: 40.59 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.0006377/0.1924, allocations: 0.4998 MB / 450.5 MB, free: 40.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.1925, allocations: 57.44 kB / 450.5 MB, free: 40.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.1925, allocations: 0 / 450.5 MB, free: 40.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.461e-05/0.1926, allocations: 32.95 kB / 450.6 MB, free: 40.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.1928, allocations: 31.2 kB / 450.6 MB, free: 40.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.193, allocations: 241 kB / 450.8 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.857e-05/0.1931, allocations: 89.64 kB / 450.9 MB, free: 40.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.1931, allocations: 14.53 kB / 450.9 MB, free: 40.11 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.1931, allocations: 3 kB / 450.9 MB, free: 40.11 MB / 410.7 MB Notification: Performance of Templates: time 0.001969/0.195, allocations: 1.944 MB / 452.9 MB, free: 39.91 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.7596076261252165]