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.0009728/0.0009728, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001617/0.001617, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.006/1.006, allocations: 177 MB / 205.2 MB, free: 5.055 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.29/0.29, allocations: 34.86 MB / 296.6 MB, free: 460 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.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 1.683e-06/1.683e-06, allocations: 0 / 326 MB, free: 7.035 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.411e-05, allocations: 5.406 kB / 326 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002633/0.002657, allocations: 1.809 MB / 327.9 MB, free: 5.211 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.004018, allocations: 1.006 MB / 328.9 MB, free: 4.199 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.598e-05/0.004114, allocations: 3.938 kB / 328.9 MB, free: 4.195 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.004432, allocations: 47.77 kB / 328.9 MB, free: 4.148 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.004741, allocations: 103.4 kB / 329 MB, free: 4.047 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.004959, allocations: 75.66 kB / 329.1 MB, free: 3.973 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.005155, allocations: 116.3 kB / 329.2 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.005256, allocations: 7.984 kB / 329.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.005363, allocations: 59.88 kB / 329.3 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.676e-05/0.00545, allocations: 19.92 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.005466, allocations: 4 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.491e-05/0.005561, allocations: 47.91 kB / 329.3 MB, free: 3.723 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.59e-05/0.005616, allocations: 35.8 kB / 329.4 MB, free: 3.688 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.005652, allocations: 15.94 kB / 329.4 MB, free: 3.672 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.005845, allocations: 103.6 kB / 329.5 MB, free: 3.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.00585, allocations: 4 kB / 329.5 MB, free: 3.566 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005851, allocations: 0 / 329.5 MB, free: 3.566 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.005857, allocations: 0 / 329.5 MB, free: 3.566 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.0003914/0.006248, allocations: 337.4 kB / 329.8 MB, free: 3.215 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.006282, allocations: 12.03 kB / 329.8 MB, free: 3.203 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.006318, allocations: 8.922 kB / 329.8 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.006491, allocations: 154.3 kB / 330 MB, free: 3.016 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.006507, allocations: 4.375 kB / 330 MB, free: 3.012 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.006523, allocations: 384 / 330 MB, free: 3.012 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.006646, allocations: 65.77 kB / 330.1 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.006656, allocations: 192 / 330.1 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.006663, allocations: 384 / 330.1 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.006669, allocations: 3.938 kB / 330.1 MB, free: 2.934 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.544e-05/0.006694, allocations: 11.98 kB / 330.1 MB, free: 2.922 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002198/0.006914, allocations: 170 kB / 330.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.627e-05/0.007011, allocations: 93.16 kB / 330.3 MB, free: 2.637 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.877e-05/0.007029, allocations: 12.86 kB / 330.3 MB, free: 2.621 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.00704, allocations: 0 / 330.3 MB, free: 2.621 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.22e-05/0.007133, allocations: 62.22 kB / 330.4 MB, free: 2.547 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.007134, allocations: 0 / 330.4 MB, free: 2.547 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003125/0.007446, allocations: 121.4 kB / 330.5 MB, free: 2.422 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.007484, allocations: 51.41 kB / 330.6 MB, free: 2.359 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.007611, allocations: 205.6 kB / 330.8 MB, free: 2.145 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.007626, allocations: 25.7 kB / 330.8 MB, free: 2.113 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.018e-05/0.007666, allocations: 96.06 kB / 330.9 MB, free: 2.016 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.007698, allocations: 31.77 kB / 330.9 MB, free: 1.984 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.00773, allocations: 21.72 kB / 330.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.871e-05/0.007819, allocations: 326.8 kB / 331.3 MB, free: 1.629 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.394e-05/0.007843, allocations: 18.75 kB / 331.3 MB, free: 1.609 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.552e-05/0.007869, allocations: 21.7 kB / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.511e-05/0.007924, allocations: 40.89 kB / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.007925, allocations: 0 / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.719e-05/0.008012, allocations: 72.44 kB / 331.4 MB, free: 1.457 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.00803, allocations: 9.188 kB / 331.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.008036, allocations: 4 kB / 331.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.008052, allocations: 4 kB / 331.4 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.369e-05/0.008126, allocations: 12 kB / 331.4 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.00813, allocations: 0 / 331.4 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.305e-05/0.008163, allocations: 15.98 kB / 331.5 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.008168, allocations: 3.938 kB / 331.5 MB, free: 1.41 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.908e-05/0.008237, allocations: 124.6 kB / 331.6 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.008251, allocations: 19.95 kB / 331.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.008367, allocations: 75.08 kB / 331.7 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.00837, allocations: 0 / 331.7 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.008371, allocations: 0 / 331.7 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.008377, allocations: 7.984 kB / 331.7 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.008599, allocations: 291.6 kB / 332 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.008601, allocations: 3.938 kB / 332 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.607e-05/0.008627, allocations: 8 kB / 332 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.008629, allocations: 0 / 332 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.008639, allocations: 11.98 kB / 332 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.008641, allocations: 7.969 kB / 332 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008642, allocations: 0 / 332 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.008749, allocations: 207.1 kB / 332.2 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.389e-05/0.008763, allocations: 15.84 kB / 332.2 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.00878, allocations: 8 kB / 332.2 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.233e-05/0.008833, allocations: 3.984 kB / 332.2 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/0.008856, allocations: 4 kB / 332.2 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.00887, allocations: 7.984 kB / 332.2 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.322e-05/0.008923, allocations: 64.52 kB / 332.3 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008923, allocations: 0 / 332.3 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001489/0.009072, allocations: 27.94 kB / 332.3 MB, free: 476 kB / 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.001274/0.01035, allocations: 0.5539 MB / 332.9 MB, free: 200 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.01045, allocations: 44.78 kB / 332.9 MB, free: 152 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.01045, allocations: 0 / 332.9 MB, free: 152 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.28e-05/0.01049, allocations: 24.8 kB / 333 MB, free: 124 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.01069, allocations: 39.83 kB / 333 MB, free: 84 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003569/0.01105, allocations: 238.5 kB / 333.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.279e-05/0.01109, allocations: 75.33 kB / 333.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.811e-05/0.01113, allocations: 17.27 kB / 333.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.279e-05/0.01119, allocations: 71.48 kB / 333.4 MB, free: 15.64 MB / 314.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01119, allocations: 0 / 333.4 MB, free: 15.64 MB / 314.7 MB Notification: Performance of Templates: time 0.003671/0.01486, allocations: 2.014 MB / 335.4 MB, free: 13.66 MB / 314.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.993159329984337]