Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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.0009202/0.0009202, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.0009466/0.0009466, allocations: 166.2 kB / 24.91 MB, free: 8.77 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.104/1.104, allocations: 177 MB / 205.2 MB, free: 5.051 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.2804/0.2804, allocations: 34.86 MB / 296.6 MB, free: 408 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.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 326 MB, free: 7.008 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.813e-05, allocations: 9.25 kB / 326.1 MB, free: 7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.002433/0.002451, allocations: 1.814 MB / 327.9 MB, free: 5.176 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.004277, allocations: 1.734 MB / 329.6 MB, free: 3.434 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.729e-05/0.004364, allocations: 4 kB / 329.6 MB, free: 3.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.004621, allocations: 31.72 kB / 329.6 MB, free: 3.398 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.004915, allocations: 99.47 kB / 329.7 MB, free: 3.301 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.005106, allocations: 83.59 kB / 329.8 MB, free: 3.219 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.005254, allocations: 112.4 kB / 329.9 MB, free: 3.109 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.506e-05/0.005329, allocations: 11.97 kB / 329.9 MB, free: 3.098 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.956e-05/0.005418, allocations: 63.77 kB / 330 MB, free: 3.035 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.469e-05/0.005513, allocations: 35.89 kB / 330 MB, free: 3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.005528, allocations: 4 kB / 330 MB, free: 2.996 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.0057, allocations: 107.8 kB / 330.1 MB, free: 2.891 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.085e-05/0.005741, allocations: 19.92 kB / 330.2 MB, free: 2.871 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/0.005771, allocations: 19.92 kB / 330.2 MB, free: 2.852 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.005971, allocations: 163.4 kB / 330.3 MB, free: 2.691 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.343e-06/0.005972, allocations: 0 / 330.3 MB, free: 2.691 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.005973, allocations: 4 kB / 330.3 MB, free: 2.688 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.005976, allocations: 0 / 330.3 MB, free: 2.688 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.0003457/0.006322, allocations: 329.5 kB / 330.7 MB, free: 2.344 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.006351, allocations: 12.03 kB / 330.7 MB, free: 2.332 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.006381, allocations: 12.86 kB / 330.7 MB, free: 2.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.006525, allocations: 138.2 kB / 330.8 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.006545, allocations: 4.375 kB / 330.8 MB, free: 2.156 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.006561, allocations: 4.312 kB / 330.8 MB, free: 2.152 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.00668, allocations: 105.2 kB / 330.9 MB, free: 2.027 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.00669, allocations: 3.938 kB / 330.9 MB, free: 2.023 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.006697, allocations: 4 kB / 330.9 MB, free: 2.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.006703, allocations: 4 kB / 330.9 MB, free: 2.016 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.323e-05/0.006726, allocations: 10.77 kB / 331 MB, free: 2.004 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.006917, allocations: 177.9 kB / 331.1 MB, free: 1.812 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.03e-05/0.006997, allocations: 81.3 kB / 331.2 MB, free: 1.723 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.832e-05/0.007016, allocations: 12.84 kB / 331.2 MB, free: 1.707 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.007025, allocations: 0 / 331.2 MB, free: 1.707 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.031e-05/0.007105, allocations: 74.08 kB / 331.3 MB, free: 1.621 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.41e-07/0.007106, allocations: 4 kB / 331.3 MB, free: 1.617 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002554/0.007362, allocations: 105.6 kB / 331.4 MB, free: 1.508 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.007395, allocations: 85.05 kB / 331.5 MB, free: 1.406 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.007502, allocations: 156.3 kB / 331.6 MB, free: 1.238 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.007517, allocations: 29.7 kB / 331.7 MB, free: 1.203 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/0.007545, allocations: 88.12 kB / 331.8 MB, free: 1.113 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.007571, allocations: 35.72 kB / 331.8 MB, free: 1.078 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.007601, allocations: 21.72 kB / 331.8 MB, free: 1.051 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.349e-05/0.007674, allocations: 322.8 kB / 332.1 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.378e-05/0.007688, allocations: 7.203 kB / 332.1 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.538e-05/0.007724, allocations: 64.25 kB / 332.2 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.403e-05/0.007768, allocations: 48.44 kB / 332.2 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.00777, allocations: 4 kB / 332.2 MB, free: 0.582 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.168e-05/0.007841, allocations: 68.44 kB / 332.3 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.007853, allocations: 7.984 kB / 332.3 MB, free: 0.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.007857, allocations: 0 / 332.3 MB, free: 0.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.007867, allocations: 0 / 332.3 MB, free: 0.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.353e-05/0.007921, allocations: 19.94 kB / 332.3 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.007923, allocations: 0 / 332.3 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.026e-05/0.007954, allocations: 16.05 kB / 332.4 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.007959, allocations: 0 / 332.4 MB, free: 476 kB / 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 5.646e-05/0.008015, allocations: 116.7 kB / 332.5 MB, free: 348 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.008027, allocations: 7.938 kB / 332.5 MB, free: 340 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.993e-05/0.008117, allocations: 74.53 kB / 332.6 MB, free: 260 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.008119, allocations: 4 kB / 332.6 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.00812, allocations: 3.938 kB / 332.6 MB, free: 252 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.008123, allocations: 0 / 332.6 MB, free: 252 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.008329, allocations: 295.4 kB / 332.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.00833, allocations: 4 kB / 332.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.192e-05/0.008352, allocations: 12.03 kB / 332.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.008353, allocations: 0 / 332.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.008359, allocations: 4 kB / 332.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.00836, allocations: 4 kB / 332.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.008361, allocations: 0 / 332.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.008463, allocations: 219 kB / 333.1 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.008473, allocations: 7.953 kB / 333.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.00849, allocations: 8 kB / 333.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.836e-05/0.008528, allocations: 0 / 333.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.008553, allocations: 7.984 kB / 333.1 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.008564, allocations: 8 kB / 333.1 MB, free: 15.64 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.774e-05/0.008601, allocations: 45.27 kB / 333.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008602, allocations: 3.938 kB / 333.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001756/0.008777, allocations: 47.86 kB / 333.2 MB, free: 15.54 MB / 314.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.001415/0.01019, allocations: 0.6931 MB / 333.9 MB, free: 15.17 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.0103, allocations: 48.77 kB / 334 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.0103, allocations: 0 / 334 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.076e-05/0.01033, allocations: 24.84 kB / 334 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.01051, allocations: 40.17 kB / 334 MB, free: 15.06 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.01083, allocations: 196 kB / 334.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.372e-05/0.01087, allocations: 67.33 kB / 334.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.333e-05/0.01092, allocations: 25.41 kB / 334.3 MB, free: 14.72 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.837e-05/0.011, allocations: 79.34 kB / 334.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of SimCode: time 7.02e-07/0.011, allocations: 0 / 334.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of Templates: time 0.004402/0.0154, allocations: 2.761 MB / 337.1 MB, free: 11.93 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.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: 3.1353505910374224]