Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.001311/0.001311, allocations: 87.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.007876/0.007876, allocations: 164 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.8683/0.8683, allocations: 177.1 MB / 205 MB, free: 5.746 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.2549/0.2549, allocations: 34.25 MB / 295.7 MB, free: 0.7031 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 443.5 MB, free: 1.062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.189e-05, allocations: 8.188 kB / 443.5 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.1847/0.1847, allocations: 1.716 MB / 445.2 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.1858, allocations: 0.9725 MB / 446.2 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.84e-05/0.1858, allocations: 2.969 kB / 446.2 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.1861, allocations: 56.73 kB / 446.3 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.1863, allocations: 98.14 kB / 446.4 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001262/0.1864, allocations: 79.7 kB / 446.4 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.1866, allocations: 109.5 kB / 446.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.842e-05/0.1867, allocations: 5.812 kB / 446.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.661e-05/0.1867, allocations: 52 kB / 446.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.285e-05/0.1868, allocations: 34.95 kB / 446.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.1868, allocations: 2.938 kB / 446.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.03e-05/0.1869, allocations: 50.02 kB / 446.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.053e-05/0.1869, allocations: 23.92 kB / 446.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.187, allocations: 28.14 kB / 446.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.1871, allocations: 120.7 kB / 446.9 MB, free: 43.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1871, allocations: 0 / 446.9 MB, free: 43.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1871, allocations: 0 / 446.9 MB, free: 43.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1871, allocations: 1.594 kB / 446.9 MB, free: 43.07 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.0003746/0.1875, allocations: 356.4 kB / 447.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1875, allocations: 10.53 kB / 447.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.1876, allocations: 16.81 kB / 447.2 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.1878, allocations: 154.3 kB / 447.4 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.1878, allocations: 11.88 kB / 447.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.1878, allocations: 3.312 kB / 447.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.1879, allocations: 57.62 kB / 447.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.1879, allocations: 3.938 kB / 447.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.1879, allocations: 0 / 447.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1879, allocations: 2.844 kB / 447.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.76e-05/0.188, allocations: 21.88 kB / 447.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000237/0.1882, allocations: 233.8 kB / 447.7 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.1883, allocations: 64.23 kB / 447.8 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.065e-05/0.1883, allocations: 25.56 kB / 447.8 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.1884, allocations: 0 / 447.8 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.723e-05/0.1885, allocations: 64.81 kB / 447.9 MB, free: 42.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.1885, allocations: 0 / 447.9 MB, free: 42.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003688/0.1888, allocations: 193.2 kB / 448.1 MB, free: 42.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.1888, allocations: 54.47 kB / 448.1 MB, free: 42.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.189, allocations: 236.2 kB / 448.3 MB, free: 41.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.713e-06/0.189, allocations: 28.11 kB / 448.4 MB, free: 41.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.189, allocations: 109.3 kB / 448.5 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.189, allocations: 28.91 kB / 448.5 MB, free: 41.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.1891, allocations: 23.44 kB / 448.5 MB, free: 41.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.164e-05/0.1891, allocations: 331.2 kB / 448.9 MB, free: 41.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.416e-05/0.1891, allocations: 18.31 kB / 448.9 MB, free: 41.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.557e-05/0.1892, allocations: 47.94 kB / 448.9 MB, free: 41.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.328e-05/0.1892, allocations: 58.17 kB / 449 MB, free: 41.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1892, allocations: 0 / 449 MB, free: 41.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001021/0.1893, allocations: 112.4 kB / 449.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1893, allocations: 6.656 kB / 449.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1893, allocations: 0 / 449.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1894, allocations: 5.375 kB / 449.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.975e-05/0.1894, allocations: 12.66 kB / 449.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.1894, allocations: 3.938 kB / 449.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.775e-05/0.1894, allocations: 9.797 kB / 449.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1895, allocations: 6.656 kB / 449.1 MB, free: 41.25 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.383e-05/0.1895, allocations: 131.5 kB / 449.3 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.1895, allocations: 13.19 kB / 449.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.1897, allocations: 130.4 kB / 449.4 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1897, allocations: 3.938 kB / 449.4 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1897, allocations: 3.094 kB / 449.4 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1897, allocations: 0 / 449.4 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.1899, allocations: 354.5 kB / 449.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1899, allocations: 2.875 kB / 449.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.105e-05/0.1899, allocations: 8.719 kB / 449.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1899, allocations: 0.9375 kB / 449.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.1899, allocations: 6.844 kB / 449.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1899, allocations: 3.328 kB / 449.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1899, allocations: 0 / 449.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.19, allocations: 220.4 kB / 450 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.121e-05/0.19, allocations: 13.56 kB / 450 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.1901, allocations: 0 / 450 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.741e-05/0.1901, allocations: 6.844 kB / 450 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.1901, allocations: 14.27 kB / 450 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.1901, allocations: 2.781 kB / 450 MB, free: 40.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.199e-05/0.1902, allocations: 184.2 kB / 450.2 MB, free: 40.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1902, allocations: 384 / 450.2 MB, free: 40.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001629/0.1904, allocations: 25.41 kB / 450.2 MB, free: 40.46 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.000728/0.1911, allocations: 0.4955 MB / 450.7 MB, free: 40.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.1912, allocations: 58.55 kB / 450.8 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1912, allocations: 2.656 kB / 450.8 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.797e-05/0.1913, allocations: 23.5 kB / 450.8 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.1915, allocations: 45.2 kB / 450.9 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/0.1918, allocations: 289.2 kB / 451.1 MB, free: 40.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.41e-05/0.1919, allocations: 110.7 kB / 451.2 MB, free: 39.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.1919, allocations: 14.16 kB / 451.3 MB, free: 39.96 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1919, allocations: 0 / 451.3 MB, free: 39.96 MB / 410.7 MB Notification: Performance of Templates: time 0.00234/0.1942, allocations: 2.091 MB / 453.3 MB, free: 39.72 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.862423585727811]