Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.0008842/0.0008842, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001303/0.002187, 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.0008684/0.0008684, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001166/0.002035, 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 0.9784/0.9784, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1101/1.088, allocations: 53.87 MB / 243.9 MB, free: 14.88 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.3051/0.3051, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03874/0.3438, allocations: 13.24 MB / 292.8 MB, free: 6.402 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.709e-06/4.709e-06, allocations: 4 kB / 294.2 MB, free: 5.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.304e-05/4.775e-05, allocations: 4.344 kB / 294.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.004369/0.004417, allocations: 1.813 MB / 296 MB, free: 3.188 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.006302, allocations: 1.021 MB / 297 MB, free: 2.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.006409, allocations: 3.938 kB / 297 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.006705, allocations: 51.69 kB / 297.1 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003657/0.007071, allocations: 95.42 kB / 297.2 MB, free: 2.012 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000289/0.00736, allocations: 87.53 kB / 297.3 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.007593, allocations: 107.6 kB / 297.4 MB, free: 1.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.983e-05/0.007692, allocations: 8 kB / 297.4 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.007892, allocations: 75.81 kB / 297.4 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.007994, allocations: 27.91 kB / 297.5 MB, free: 1.711 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.008015, allocations: 4 kB / 297.5 MB, free: 1.707 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.008148, allocations: 47.86 kB / 297.5 MB, free: 1.66 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.339e-05/0.008211, allocations: 23.88 kB / 297.5 MB, free: 1.637 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.442e-05/0.008256, allocations: 19.92 kB / 297.6 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.008516, allocations: 107.5 kB / 297.7 MB, free: 1.512 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.415e-05/0.00853, allocations: 0 / 297.7 MB, free: 1.512 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.587e-06/0.008534, allocations: 4 kB / 297.7 MB, free: 1.508 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.008547, allocations: 4 kB / 297.7 MB, free: 1.504 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.0006147/0.009162, allocations: 344.9 kB / 298 MB, free: 1.145 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.009204, allocations: 8.922 kB / 298 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.412e-05/0.009258, allocations: 12.92 kB / 298 MB, free: 1.125 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.009487, allocations: 158.3 kB / 298.2 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.009506, allocations: 384 / 298.2 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.009533, allocations: 4.375 kB / 298.2 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.009675, allocations: 61.77 kB / 298.3 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.009687, allocations: 192 / 298.3 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.009698, allocations: 4.375 kB / 298.3 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.009706, allocations: 7.938 kB / 298.3 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.416e-05/0.009741, allocations: 11.92 kB / 298.3 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003204/0.01006, allocations: 177.8 kB / 298.5 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.0102, allocations: 81.3 kB / 298.5 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.665e-05/0.01023, allocations: 16.91 kB / 298.5 MB, free: 0.543 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.01024, allocations: 4 kB / 298.6 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002351/0.01048, allocations: 70.08 kB / 298.6 MB, free: 468 kB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.505e-06/0.01048, allocations: 0 / 298.6 MB, free: 468 kB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004246/0.01091, allocations: 117.5 kB / 298.7 MB, free: 344 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.01094, allocations: 51.41 kB / 298.8 MB, free: 280 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.01107, allocations: 196.1 kB / 299 MB, free: 68 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.01109, allocations: 29.7 kB / 299 MB, free: 32 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.144e-05/0.01114, allocations: 96.09 kB / 299.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.01118, allocations: 31.73 kB / 299.1 MB, free: 15.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.01121, allocations: 25.7 kB / 299.2 MB, free: 15.87 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.984e-05/0.0113, allocations: 326.8 kB / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.046e-05/0.01132, allocations: 10.81 kB / 299.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.792e-05/0.01135, allocations: 22.66 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.109e-05/0.0114, allocations: 52.44 kB / 299.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.0114, allocations: 0 / 299.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.907e-05/0.0115, allocations: 72.56 kB / 299.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.01152, allocations: 7.938 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.01153, allocations: 3.938 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.01155, allocations: 4 kB / 299.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.01165, allocations: 15.98 kB / 299.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.01166, allocations: 0 / 299.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.863e-05/0.0117, allocations: 4.375 kB / 299.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.0117, allocations: 4.031 kB / 299.7 MB, free: 15.33 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.978e-05/0.01178, allocations: 116.7 kB / 299.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.0118, allocations: 15.92 kB / 299.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.01192, allocations: 79.08 kB / 299.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.01193, allocations: 4 kB / 299.9 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.01193, allocations: 3.984 kB / 299.9 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.01193, allocations: 0 / 299.9 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.0122, allocations: 291.5 kB / 300.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.0122, allocations: 3.938 kB / 300.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/0.01224, allocations: 20.02 kB / 300.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.01225, allocations: 11.91 kB / 300.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01225, allocations: 0 / 300.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.01226, allocations: 0 / 300.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.01226, allocations: 0 / 300.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.01226, allocations: 7.938 kB / 300.2 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.01241, allocations: 218.6 kB / 300.4 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.01244, allocations: 7.984 kB / 300.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.01251, allocations: 4 kB / 300.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.01254, allocations: 11.92 kB / 300.4 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.01256, allocations: 4 kB / 300.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.558e-05/0.01262, allocations: 65.72 kB / 300.5 MB, free: 14.42 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01262, allocations: 0 / 300.5 MB, free: 14.42 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001525/0.01277, allocations: 23.94 kB / 300.5 MB, free: 14.39 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.001561/0.01433, allocations: 0.6188 MB / 301.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001342/0.01446, allocations: 48.75 kB / 301.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/0.01448, allocations: 4 kB / 301.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.388e-05/0.01452, allocations: 32.72 kB / 301.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.01481, allocations: 190.6 kB / 301.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006442/0.01545, allocations: 238.8 kB / 301.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.744e-05/0.01551, allocations: 75.34 kB / 301.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.965e-05/0.01556, allocations: 12.97 kB / 301.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.451e-05/0.01565, allocations: 67.36 kB / 301.8 MB, free: 13.37 MB / 298.7 MB Notification: Performance of SimCode: time 1.433e-06/0.01565, allocations: 0 / 301.8 MB, free: 13.37 MB / 298.7 MB Notification: Performance of Templates: time 0.004017/0.01966, allocations: 2.058 MB / 303.9 MB, free: 11.34 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",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: 2.8511333353817463]