Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001161/0.001161, 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.004944/0.004944, allocations: 165.1 kB / 24.7 MB, free: 9.426 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.852/0.852, allocations: 177.2 MB / 205 MB, free: 5.723 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.2493/0.2493, allocations: 32.79 MB / 294.2 MB, free: 1.195 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 440.9 MB, free: 3.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.239e-05, allocations: 4.109 kB / 440.9 MB, free: 3.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002013/0.002035, allocations: 1.716 MB / 442.6 MB, free: 1.926 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.003207, allocations: 0.9723 MB / 443.6 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.62e-05/0.003283, allocations: 3.938 kB / 443.6 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.003587, allocations: 51.75 kB / 443.7 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.003867, allocations: 103.5 kB / 443.8 MB, free: 0.793 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.004017, allocations: 79.61 kB / 443.9 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.00418, allocations: 111.6 kB / 444 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.157e-05/0.004272, allocations: 4 kB / 444 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.165e-05/0.004353, allocations: 47.84 kB / 444 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.656e-05/0.00443, allocations: 35.89 kB / 444 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.004446, allocations: 4 kB / 444.1 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.662e-05/0.004522, allocations: 43.92 kB / 444.1 MB, free: 484 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.478e-05/0.004587, allocations: 31.84 kB / 444.1 MB, free: 452 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.004624, allocations: 19.94 kB / 444.1 MB, free: 432 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.00481, allocations: 127.5 kB / 444.3 MB, free: 304 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.004812, allocations: 3.938 kB / 444.3 MB, free: 300 kB / 410.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.004813, allocations: 0 / 444.3 MB, free: 300 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.004817, allocations: 0 / 444.3 MB, free: 300 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.1805/0.1854, allocations: 356.8 kB / 444.6 MB, free: 46.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.1854, allocations: 11.12 kB / 444.6 MB, free: 46.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.373e-05/0.1855, allocations: 17.89 kB / 444.7 MB, free: 46.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.1857, allocations: 150.9 kB / 444.8 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1857, allocations: 4.156 kB / 444.8 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.1858, allocations: 4.781 kB / 444.8 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.1859, allocations: 57.45 kB / 444.9 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1859, allocations: 2.469 kB / 444.9 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1859, allocations: 2.906 kB / 444.9 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1859, allocations: 0 / 444.9 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.381e-05/0.186, allocations: 24.31 kB / 444.9 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002753/0.1862, allocations: 243 kB / 445.1 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.1864, allocations: 55.59 kB / 445.2 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.554e-05/0.1864, allocations: 21.17 kB / 445.2 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.1864, allocations: 0.5625 kB / 445.2 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001122/0.1865, allocations: 72.23 kB / 445.3 MB, free: 46.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.01e-07/0.1865, allocations: 2.031 kB / 445.3 MB, free: 46.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000429/0.187, allocations: 192 kB / 445.5 MB, free: 46.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.187, allocations: 57.92 kB / 445.5 MB, free: 46.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.1871, allocations: 234.2 kB / 445.8 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.216e-06/0.1871, allocations: 32.55 kB / 445.8 MB, free: 46.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.419e-05/0.1871, allocations: 112.2 kB / 445.9 MB, free: 45.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.1872, allocations: 23.78 kB / 445.9 MB, free: 45.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.1872, allocations: 21.62 kB / 445.9 MB, free: 45.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.114e-05/0.1872, allocations: 329.2 kB / 446.3 MB, free: 45.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.508e-05/0.1873, allocations: 20.73 kB / 446.3 MB, free: 45.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.779e-05/0.1873, allocations: 37.77 kB / 446.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.552e-05/0.1874, allocations: 65.75 kB / 446.4 MB, free: 45.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1874, allocations: 0 / 446.4 MB, free: 45.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.754e-05/0.1875, allocations: 115.7 kB / 446.5 MB, free: 45.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.1875, allocations: 6 kB / 446.5 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1875, allocations: 0 / 446.5 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1875, allocations: 3.031 kB / 446.5 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.63e-05/0.1876, allocations: 23.05 kB / 446.5 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1876, allocations: 0 / 446.5 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.865e-05/0.1876, allocations: 3.094 kB / 446.5 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1876, allocations: 7.062 kB / 446.5 MB, free: 45.51 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.502e-05/0.1877, allocations: 129.6 kB / 446.7 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.1877, allocations: 21.16 kB / 446.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.1878, allocations: 127.2 kB / 446.8 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1878, allocations: 3.062 kB / 446.8 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1878, allocations: 0 / 446.8 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1878, allocations: 0 / 446.8 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.1881, allocations: 361.8 kB / 447.2 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1881, allocations: 3.609 kB / 447.2 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.126e-05/0.1881, allocations: 11.98 kB / 447.2 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1881, allocations: 3.844 kB / 447.2 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.1881, allocations: 2.906 kB / 447.2 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1881, allocations: 0 / 447.2 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1881, allocations: 0 / 447.2 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.1882, allocations: 217.9 kB / 447.4 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.095e-05/0.1882, allocations: 16.47 kB / 447.4 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.1882, allocations: 6.812 kB / 447.4 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.748e-05/0.1883, allocations: 0 / 447.4 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.1883, allocations: 13.36 kB / 447.4 MB, free: 44.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.1883, allocations: 9.375 kB / 447.4 MB, free: 44.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.228e-05/0.1884, allocations: 177.9 kB / 447.6 MB, free: 44.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1884, allocations: 0 / 447.6 MB, free: 44.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001744/0.1886, allocations: 25.67 kB / 447.6 MB, free: 44.75 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.0007796/0.1893, allocations: 0.489 MB / 448.1 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.1895, allocations: 56.61 kB / 448.2 MB, free: 44.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1895, allocations: 0 / 448.2 MB, free: 44.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.021e-05/0.1895, allocations: 30.16 kB / 448.2 MB, free: 44.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.1898, allocations: 39.58 kB / 448.3 MB, free: 44.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003812/0.1901, allocations: 300 kB / 448.5 MB, free: 44.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.254e-05/0.1902, allocations: 95.81 kB / 448.6 MB, free: 44.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.909e-05/0.1902, allocations: 23.86 kB / 448.7 MB, free: 44.29 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1902, allocations: 3.5 kB / 448.7 MB, free: 44.29 MB / 410.7 MB Notification: Performance of Templates: time 0.002423/0.1926, allocations: 2.082 MB / 450.7 MB, free: 44.05 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.991790233179927]