Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.0008661/0.0008661, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001106/0.001973, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001161/0.001161, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00162/0.002781, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.13/1.13, allocations: 177.5 MB / 190 MB, free: 4.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1278/1.258, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3033/0.3033, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03683/0.3401, allocations: 13.23 MB / 292.8 MB, free: 6.375 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 294.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/2.982e-05, allocations: 4 kB / 294.2 MB, free: 4.984 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003385/0.003415, allocations: 1.819 MB / 296 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.00521, allocations: 1.017 MB / 297 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.438e-05/0.005304, allocations: 3.938 kB / 297 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.005529, allocations: 39.72 kB / 297.1 MB, free: 2.082 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.005842, allocations: 95.41 kB / 297.2 MB, free: 1.988 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.006103, allocations: 83.55 kB / 297.2 MB, free: 1.906 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.006296, allocations: 103.6 kB / 297.3 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.851e-05/0.006374, allocations: 7.984 kB / 297.4 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.006533, allocations: 79.81 kB / 297.4 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.801e-05/0.006621, allocations: 27.91 kB / 297.5 MB, free: 1.691 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.006638, allocations: 8 kB / 297.5 MB, free: 1.684 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.006755, allocations: 47.86 kB / 297.5 MB, free: 1.637 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.616e-05/0.006811, allocations: 19.88 kB / 297.5 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.627e-05/0.006847, allocations: 15.94 kB / 297.5 MB, free: 1.602 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.007061, allocations: 95.66 kB / 297.6 MB, free: 1.508 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.312e-05/0.007074, allocations: 0 / 297.6 MB, free: 1.508 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.007076, allocations: 0 / 297.6 MB, free: 1.508 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.007088, allocations: 0 / 297.6 MB, free: 1.508 MB / 282.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.0005259/0.007614, allocations: 333 kB / 298 MB, free: 1.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.007659, allocations: 8.922 kB / 298 MB, free: 1.152 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.007703, allocations: 12.92 kB / 298 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.007882, allocations: 145.6 kB / 298.1 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.007899, allocations: 4.375 kB / 298.1 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.007921, allocations: 8.375 kB / 298.1 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.008045, allocations: 57.77 kB / 298.2 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.008055, allocations: 192 / 298.2 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-06/0.008062, allocations: 384 / 298.2 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.00807, allocations: 7.938 kB / 298.2 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.232e-05/0.008102, allocations: 15.92 kB / 298.2 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002374/0.00834, allocations: 169.9 kB / 298.4 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.008451, allocations: 89.28 kB / 298.5 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.274e-05/0.008474, allocations: 12.92 kB / 298.5 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.008484, allocations: 0 / 298.5 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001414/0.008626, allocations: 66.11 kB / 298.6 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.008627, allocations: 0 / 298.6 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003544/0.008982, allocations: 113.5 kB / 298.7 MB, free: 388 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.009013, allocations: 55.41 kB / 298.7 MB, free: 320 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.009157, allocations: 169 kB / 298.9 MB, free: 136 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.009178, allocations: 29.7 kB / 298.9 MB, free: 100 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.009219, allocations: 96.11 kB / 299 MB, free: 0 / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.009258, allocations: 27.73 kB / 299 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.009307, allocations: 25.7 kB / 299.1 MB, free: 15.94 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.009414, allocations: 322.8 kB / 299.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.418e-05/0.009438, allocations: 10.83 kB / 299.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.672e-05/0.009475, allocations: 26.62 kB / 299.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.901e-05/0.009544, allocations: 44.45 kB / 299.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.009545, allocations: 0 / 299.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001118/0.009657, allocations: 72.56 kB / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.009673, allocations: 11.97 kB / 299.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.009678, allocations: 0 / 299.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.009701, allocations: 3.984 kB / 299.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-05/0.009792, allocations: 19.94 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-06/0.009796, allocations: 0 / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.111e-05/0.009837, allocations: 4.375 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.009845, allocations: 7.984 kB / 299.6 MB, free: 15.4 MB / 298.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 7.681e-05/0.009922, allocations: 119.3 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.009943, allocations: 11.94 kB / 299.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.01008, allocations: 83 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01008, allocations: 8 kB / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.01008, allocations: 0 / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01009, allocations: 0 / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.01037, allocations: 291.5 kB / 300.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.01038, allocations: 3.938 kB / 300.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.009e-05/0.01043, allocations: 11.98 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.01044, allocations: 7.953 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.01045, allocations: 4 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.01045, allocations: 0 / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.01046, allocations: 0 / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01046, allocations: 4.031 kB / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.0106, allocations: 226.7 kB / 300.3 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.01062, allocations: 0 / 300.3 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-05/0.01069, allocations: 4 kB / 300.3 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.01072, allocations: 7.984 kB / 300.3 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.01073, allocations: 4 kB / 300.3 MB, free: 14.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.824e-05/0.01079, allocations: 53.2 kB / 300.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01079, allocations: 0 / 300.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002518/0.01104, allocations: 31.89 kB / 300.4 MB, free: 14.48 MB / 298.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.001948/0.01299, allocations: 0.6134 MB / 301 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001351/0.01312, allocations: 44.72 kB / 301.1 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.294e-05/0.01314, allocations: 4 kB / 301.1 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.876e-05/0.0132, allocations: 37.11 kB / 301.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.01355, allocations: 192.5 kB / 301.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005824/0.01413, allocations: 216.3 kB / 301.5 MB, free: 13.65 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.941e-05/0.01418, allocations: 63.34 kB / 301.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.14e-05/0.01423, allocations: 16.97 kB / 301.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.026e-05/0.01432, allocations: 67.36 kB / 301.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of SimCode: time 1.292e-06/0.01433, allocations: 4.094 kB / 301.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of Templates: time 0.005094/0.01942, allocations: 2.038 MB / 303.7 MB, free: 11.47 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0454887999221683]