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.0009901/0.0009901, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001065/0.001065, allocations: 158.6 kB / 24.91 MB, free: 8.719 MB / 18.57 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.003/1.003, allocations: 177 MB / 205.2 MB, free: 5.035 MB / 186.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.2645/0.2645, allocations: 34.86 MB / 296.6 MB, free: 452 kB / 266.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.302e-06/1.302e-06, allocations: 0 / 326 MB, free: 7.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.123e-05, allocations: 5.125 kB / 326.1 MB, free: 7.016 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002312/0.002333, allocations: 1.814 MB / 327.9 MB, free: 5.191 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.003658, allocations: 1.002 MB / 328.9 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.822e-05/0.003756, allocations: 4 kB / 328.9 MB, free: 4.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003375/0.004094, allocations: 35.78 kB / 328.9 MB, free: 4.145 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003264/0.00442, allocations: 99.41 kB / 329 MB, free: 4.047 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.004642, allocations: 75.66 kB / 329.1 MB, free: 3.973 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.004812, allocations: 112.4 kB / 329.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.692e-05/0.004909, allocations: 11.97 kB / 329.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.616e-05/0.005005, allocations: 51.84 kB / 329.2 MB, free: 3.801 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.01e-05/0.005085, allocations: 23.91 kB / 329.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.0051, allocations: 4 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.466e-05/0.005195, allocations: 47.86 kB / 329.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.248e-05/0.005247, allocations: 27.86 kB / 329.3 MB, free: 3.699 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.938e-05/0.005287, allocations: 23.91 kB / 329.4 MB, free: 3.676 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.005471, allocations: 95.66 kB / 329.5 MB, free: 3.582 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.005473, allocations: 0 / 329.5 MB, free: 3.582 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.005474, allocations: 0 / 329.5 MB, free: 3.582 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.005479, allocations: 0 / 329.5 MB, free: 3.582 MB / 298.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.0004452/0.005924, allocations: 317.6 kB / 329.8 MB, free: 3.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.005958, allocations: 8.031 kB / 329.8 MB, free: 3.242 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.005985, allocations: 4.938 kB / 329.8 MB, free: 3.238 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.00613, allocations: 153.5 kB / 329.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.006145, allocations: 8.375 kB / 329.9 MB, free: 3.055 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.006161, allocations: 4.375 kB / 330 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.57e-05/0.006257, allocations: 61.77 kB / 330 MB, free: 2.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.006266, allocations: 192 / 330 MB, free: 2.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.006272, allocations: 384 / 330 MB, free: 2.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.006278, allocations: 3.938 kB / 330 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.426e-05/0.006302, allocations: 11.98 kB / 330 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001896/0.006492, allocations: 165.8 kB / 330.2 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.907e-05/0.006571, allocations: 81.3 kB / 330.3 MB, free: 2.695 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.109e-05/0.006592, allocations: 24.91 kB / 330.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.006602, allocations: 0 / 330.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.776e-05/0.00668, allocations: 62.2 kB / 330.4 MB, free: 2.594 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.22e-07/0.006681, allocations: 0 / 330.4 MB, free: 2.594 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002673/0.006948, allocations: 117.5 kB / 330.5 MB, free: 2.473 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.006975, allocations: 51.41 kB / 330.5 MB, free: 2.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.449e-05/0.007069, allocations: 169.7 kB / 330.7 MB, free: 2.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.007085, allocations: 33.7 kB / 330.7 MB, free: 2.191 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.048e-05/0.007115, allocations: 92.11 kB / 330.8 MB, free: 2.098 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.007142, allocations: 23.75 kB / 330.8 MB, free: 2.074 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.007171, allocations: 29.69 kB / 330.9 MB, free: 2.039 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.959e-05/0.00725, allocations: 326.8 kB / 331.2 MB, free: 1.711 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.539e-05/0.007266, allocations: 10.83 kB / 331.2 MB, free: 1.695 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.361e-05/0.007289, allocations: 21.7 kB / 331.2 MB, free: 1.668 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.371e-05/0.007333, allocations: 40.89 kB / 331.3 MB, free: 1.621 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.007334, allocations: 0 / 331.3 MB, free: 1.621 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002372/0.007571, allocations: 76.42 kB / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.007586, allocations: 9.188 kB / 331.3 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.007593, allocations: 8 kB / 331.3 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.007607, allocations: 4.031 kB / 331.3 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.767e-05/0.007675, allocations: 15.98 kB / 331.4 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.00768, allocations: 3.938 kB / 331.4 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.778e-05/0.007708, allocations: 8 kB / 331.4 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.007715, allocations: 7.984 kB / 331.4 MB, free: 1.484 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 6.467e-05/0.00778, allocations: 112.7 kB / 331.5 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.319e-05/0.007793, allocations: 19.86 kB / 331.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.007905, allocations: 75.08 kB / 331.6 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.007908, allocations: 0 / 331.6 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.00791, allocations: 0 / 331.6 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.007915, allocations: 7.984 kB / 331.6 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.008143, allocations: 291.6 kB / 331.9 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.008146, allocations: 3.938 kB / 331.9 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.602e-05/0.008172, allocations: 8 kB / 331.9 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.008176, allocations: 0 / 331.9 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.008182, allocations: 4 kB / 331.9 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.008185, allocations: 0 / 331.9 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.008187, allocations: 0 / 331.9 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.008296, allocations: 219 kB / 332.1 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.174e-05/0.008308, allocations: 15.88 kB / 332.1 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.008322, allocations: 8 kB / 332.1 MB, free: 0.668 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.626e-05/0.008358, allocations: 0 / 332.1 MB, free: 0.668 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.68e-05/0.008385, allocations: 11.98 kB / 332.1 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.008396, allocations: 4 kB / 332.1 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.667e-05/0.008433, allocations: 48.56 kB / 332.2 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008433, allocations: 0 / 332.2 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001404/0.008573, allocations: 23.94 kB / 332.2 MB, free: 0.5781 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.001128/0.009701, allocations: 0.5643 MB / 332.8 MB, free: 304 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.388e-05/0.009795, allocations: 36.83 kB / 332.8 MB, free: 264 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.009799, allocations: 0 / 332.8 MB, free: 264 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.885e-05/0.009828, allocations: 28.8 kB / 332.8 MB, free: 232 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.009996, allocations: 44.08 kB / 332.9 MB, free: 192 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002819/0.01028, allocations: 216.3 kB / 333.1 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.458e-05/0.01031, allocations: 67.34 kB / 333.2 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.63e-05/0.01035, allocations: 17.27 kB / 333.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.016e-05/0.01041, allocations: 79.23 kB / 333.3 MB, free: 15.76 MB / 314.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01041, allocations: 0 / 333.3 MB, free: 15.76 MB / 314.7 MB Notification: Performance of Templates: time 0.003636/0.01405, allocations: 2.002 MB / 335.3 MB, free: 13.79 MB / 314.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9400805211625993]