Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001606/0.001606, allocations: 116.2 kB / 19.18 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002458/0.002458, allocations: 209 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 230.3 MB / 255.2 MB, free: 15.36 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2694/0.2694, allocations: 46.93 MB / 358.2 MB, free: 10.43 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003752/0.003752, allocations: 87.84 kB / 0.4926 GB, free: 7.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1766, allocations: 66 MB / 0.5571 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.004023/0.1806, allocations: 1.733 MB / 0.5588 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.1826, allocations: 1.038 MB / 0.5598 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.933e-05/0.1827, allocations: 0 / 0.5598 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003086/0.183, allocations: 39.77 kB / 0.5598 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004053/0.1834, allocations: 91.59 kB / 0.5599 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.1836, allocations: 83.67 kB / 0.56 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.1838, allocations: 103.6 kB / 0.5601 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1839, allocations: 15.98 kB / 0.5601 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.184, allocations: 43.8 kB / 0.5601 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.124e-05/0.1841, allocations: 35.77 kB / 0.5602 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.1841, allocations: 4 kB / 0.5602 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.1843, allocations: 43.98 kB / 0.5602 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.056e-05/0.1843, allocations: 23.86 kB / 0.5602 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.423e-05/0.1844, allocations: 35.75 kB / 0.5603 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.1846, allocations: 111.5 kB / 0.5604 GB, free: 2.035 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1846, allocations: 0 / 0.5604 GB, free: 2.035 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1846, allocations: 4 kB / 0.5604 GB, free: 2.031 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1846, allocations: 0 / 0.5604 GB, free: 2.031 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.0006162/0.1852, allocations: 414.8 kB / 0.5608 GB, free: 1.578 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1853, allocations: 8.031 kB / 0.5608 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.605e-05/0.1853, allocations: 12.89 kB / 0.5608 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.1857, allocations: 208.1 kB / 0.561 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.1857, allocations: 384 / 0.561 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.1857, allocations: 8.375 kB / 0.561 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.1859, allocations: 57.98 kB / 0.5611 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1859, allocations: 0 / 0.5611 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.1859, allocations: 7.938 kB / 0.5611 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.1859, allocations: 4 kB / 0.5611 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.099e-05/0.186, allocations: 15.98 kB / 0.5611 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.1864, allocations: 288.8 kB / 0.5614 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.1866, allocations: 62.61 kB / 0.5614 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.507e-05/0.1867, allocations: 16.86 kB / 0.5614 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.1867, allocations: 0 / 0.5614 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.1868, allocations: 63.39 kB / 0.5615 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1868, allocations: 0 / 0.5615 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005725/0.1874, allocations: 177.4 kB / 0.5617 GB, free: 0.543 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.828e-05/0.1875, allocations: 59.41 kB / 0.5617 GB, free: 484 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.1877, allocations: 166.2 kB / 0.5619 GB, free: 304 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.1877, allocations: 29.7 kB / 0.5619 GB, free: 268 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.1878, allocations: 96.14 kB / 0.562 GB, free: 168 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.1878, allocations: 27.78 kB / 0.562 GB, free: 140 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.1879, allocations: 21.66 kB / 0.562 GB, free: 112 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.1881, allocations: 326.8 kB / 0.5624 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.727e-05/0.1881, allocations: 27.98 kB / 0.5624 GB, free: 15.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.389e-05/0.1882, allocations: 33.7 kB / 0.5624 GB, free: 15.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.1883, allocations: 57.91 kB / 0.5625 GB, free: 15.65 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1883, allocations: 0 / 0.5625 GB, free: 15.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001963/0.1885, allocations: 105.5 kB / 0.5626 GB, free: 15.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1885, allocations: 4 kB / 0.5626 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1885, allocations: 4 kB / 0.5626 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1886, allocations: 4.031 kB / 0.5626 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.848e-05/0.1886, allocations: 15.98 kB / 0.5626 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.1887, allocations: 3.938 kB / 0.5626 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.866e-05/0.1887, allocations: 8.375 kB / 0.5626 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.1887, allocations: 4.156 kB / 0.5626 GB, free: 15.5 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.0001082/0.1888, allocations: 125.8 kB / 0.5627 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.1888, allocations: 11.95 kB / 0.5627 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.551e-05/0.1889, allocations: 20.7 kB / 0.5628 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1889, allocations: 4 kB / 0.5628 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1889, allocations: 0 / 0.5628 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1889, allocations: 0 / 0.5628 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004811/0.1894, allocations: 407.1 kB / 0.5632 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1894, allocations: 0 / 0.5632 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.339e-05/0.1894, allocations: 8 kB / 0.5632 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1894, allocations: 0 / 0.5632 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1894, allocations: 4 kB / 0.5632 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.1894, allocations: 7.938 kB / 0.5632 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1894, allocations: 4.031 kB / 0.5632 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.1897, allocations: 200.3 kB / 0.5634 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.591e-05/0.1898, allocations: 89 kB / 0.5635 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.1898, allocations: 8 kB / 0.5635 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.917e-05/0.1899, allocations: 3.938 kB / 0.5635 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.1899, allocations: 7.984 kB / 0.5635 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.1899, allocations: 8 kB / 0.5635 GB, free: 14.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.19, allocations: 128.1 kB / 0.5636 GB, free: 14.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.19, allocations: 0 / 0.5636 GB, free: 14.38 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.1903, allocations: 27.94 kB / 0.5636 GB, free: 14.35 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.001759/0.1921, allocations: 455.6 kB / 0.5641 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.1923, allocations: 55.92 kB / 0.5641 GB, free: 14.01 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.1923, allocations: 4 kB / 0.5641 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.348e-05/0.1923, allocations: 23.92 kB / 0.5641 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.1927, allocations: 27.98 kB / 0.5642 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004977/0.1932, allocations: 244.9 kB / 0.5644 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.1936, allocations: 0.7002 MB / 0.5651 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.1937, allocations: 15.44 kB / 0.5651 GB, free: 12.93 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1937, allocations: 0 / 0.5651 GB, free: 12.93 MB / 430.1 MB Notification: Performance of Templates: time 0.004542/0.1982, allocations: 1.931 MB / 0.567 GB, free: 11.01 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 7.8793916779977735]