Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.001567/0.001567, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 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.002451/0.002451, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 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 1.596/1.596, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.2602/0.2602, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 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.Test46,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.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 71.91 kB / 0.4915 GB, free: 7.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.173, allocations: 66 MB / 0.5559 GB, free: 5.25 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.005664/0.1787, allocations: 1.735 MB / 0.5576 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003304/0.182, allocations: 1.034 MB / 0.5586 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.1821, allocations: 3.938 kB / 0.5586 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004735/0.1826, allocations: 59.73 kB / 0.5587 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005784/0.1831, allocations: 103.5 kB / 0.5588 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.1835, allocations: 71.73 kB / 0.5589 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003195/0.1838, allocations: 111.6 kB / 0.559 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.184, allocations: 11.98 kB / 0.559 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.1841, allocations: 39.8 kB / 0.559 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.1843, allocations: 39.83 kB / 0.5591 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.1843, allocations: 4 kB / 0.5591 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.1845, allocations: 47.92 kB / 0.5591 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.1846, allocations: 27.86 kB / 0.5591 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.344e-05/0.1847, allocations: 43.67 kB / 0.5592 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003797/0.185, allocations: 135.4 kB / 0.5593 GB, free: 1.773 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1851, allocations: 0 / 0.5593 GB, free: 1.773 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1851, allocations: 0 / 0.5593 GB, free: 1.773 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.1851, allocations: 4 kB / 0.5593 GB, free: 1.77 MB / 414.1 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.001059/0.1861, allocations: 454.3 kB / 0.5597 GB, free: 1.277 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.1862, allocations: 11.97 kB / 0.5598 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.125e-05/0.1863, allocations: 16.84 kB / 0.5598 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004646/0.1867, allocations: 221.1 kB / 0.56 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.1867, allocations: 4.375 kB / 0.56 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.1868, allocations: 8.125 kB / 0.56 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.187, allocations: 53.67 kB / 0.56 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.1871, allocations: 0 / 0.56 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.1871, allocations: 0 / 0.56 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1871, allocations: 0 / 0.56 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.1872, allocations: 19.98 kB / 0.5601 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000641/0.1879, allocations: 304.7 kB / 0.5604 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003861/0.1882, allocations: 66.66 kB / 0.5604 GB, free: 492 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.1884, allocations: 16.86 kB / 0.5604 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.1884, allocations: 0 / 0.5604 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.1886, allocations: 79.31 kB / 0.5605 GB, free: 380 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 6.412e-06/0.1886, allocations: 4 kB / 0.5605 GB, free: 376 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009178/0.1895, allocations: 173.3 kB / 0.5607 GB, free: 196 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/0.1896, allocations: 55.41 kB / 0.5607 GB, free: 128 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004756/0.1901, allocations: 274.8 kB / 0.561 GB, free: 15.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.1901, allocations: 25.7 kB / 0.561 GB, free: 15.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.1903, allocations: 116.1 kB / 0.5611 GB, free: 15.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.989e-05/0.1903, allocations: 27.78 kB / 0.5612 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.38e-05/0.1904, allocations: 25.7 kB / 0.5612 GB, free: 15.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002773/0.1907, allocations: 334.8 kB / 0.5615 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.1908, allocations: 23.92 kB / 0.5615 GB, free: 15.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.1909, allocations: 37.64 kB / 0.5616 GB, free: 15.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.1911, allocations: 61.66 kB / 0.5616 GB, free: 15.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1911, allocations: 0 / 0.5616 GB, free: 15.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003752/0.1915, allocations: 109.6 kB / 0.5617 GB, free: 15.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.1915, allocations: 8.031 kB / 0.5617 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1915, allocations: 0 / 0.5617 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.1916, allocations: 0 / 0.5617 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.1917, allocations: 23.92 kB / 0.5618 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.1917, allocations: 0 / 0.5618 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.108e-05/0.1918, allocations: 7.938 kB / 0.5618 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.1918, allocations: 4 kB / 0.5618 GB, free: 15.01 MB / 430.1 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 0.0001963/0.192, allocations: 138 kB / 0.5619 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.987e-05/0.1921, allocations: 15.91 kB / 0.5619 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.747e-05/0.1921, allocations: 25.39 kB / 0.5619 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1921, allocations: 0 / 0.5619 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1921, allocations: 0 / 0.5619 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.1922, allocations: 3.938 kB / 0.5619 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008475/0.193, allocations: 403.3 kB / 0.5623 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.193, allocations: 4 kB / 0.5623 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.152e-05/0.1931, allocations: 8 kB / 0.5623 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.1931, allocations: 0 / 0.5623 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.1931, allocations: 11.95 kB / 0.5623 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1931, allocations: 3.938 kB / 0.5624 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1931, allocations: 4 kB / 0.5624 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005133/0.1936, allocations: 204.3 kB / 0.5626 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.407e-05/0.1937, allocations: 89.39 kB / 0.5626 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.441e-05/0.1938, allocations: 7.938 kB / 0.5626 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.1939, allocations: 12 kB / 0.5627 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/0.1939, allocations: 7.984 kB / 0.5627 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.194, allocations: 4 kB / 0.5627 GB, free: 13.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003316/0.1943, allocations: 204.6 kB / 0.5629 GB, free: 13.79 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1943, allocations: 0 / 0.5629 GB, free: 13.79 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004943/0.1948, allocations: 31.88 kB / 0.5629 GB, free: 13.75 MB / 430.1 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 (8): * Single equations (assignments): 6 * 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.002769/0.1976, allocations: 460.5 kB / 0.5633 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003829/0.1979, allocations: 51.97 kB / 0.5634 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.198, allocations: 0 / 0.5634 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.1981, allocations: 31.92 kB / 0.5634 GB, free: 13.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005965/0.1987, allocations: 20.3 kB / 0.5634 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008976/0.1996, allocations: 307.6 kB / 0.5637 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006501/0.2002, allocations: 0.7252 MB / 0.5644 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.135e-05/0.2003, allocations: 12.89 kB / 0.5644 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.813e-05/0.2004, allocations: 23.42 kB / 0.5645 GB, free: 12.27 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2004, allocations: 3.938 kB / 0.5645 GB, free: 12.26 MB / 430.1 MB Notification: Performance of Templates: time 0.009059/0.2094, allocations: 1.771 MB / 0.5662 GB, free: 10.51 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.486612506210804]