Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.001014/0.001014, 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.001208/0.001208, allocations: 159.9 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.068/1.068, 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.2745/0.2745, allocations: 34.86 MB / 296.6 MB, free: 396 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 326 MB, free: 6.992 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.647e-05, allocations: 4.984 kB / 326 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002673/0.002699, allocations: 1.886 MB / 327.9 MB, free: 5.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.004102, allocations: 1.076 MB / 329 MB, free: 4.008 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.13e-05/0.004183, allocations: 7.938 kB / 329 MB, free: 4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006274/0.00481, allocations: 311.1 kB / 329.3 MB, free: 3.695 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004035/0.005214, allocations: 259 kB / 329.6 MB, free: 3.441 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.00541, allocations: 107.6 kB / 329.7 MB, free: 3.336 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.005674, allocations: 272 kB / 329.9 MB, free: 3.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.671e-05/0.005721, allocations: 10.45 kB / 330 MB, free: 3.062 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.005877, allocations: 159.5 kB / 330.1 MB, free: 2.906 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.006047, allocations: 171.7 kB / 330.3 MB, free: 2.738 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.006068, allocations: 8 kB / 330.3 MB, free: 2.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.553e-05/0.006154, allocations: 47.92 kB / 330.3 MB, free: 2.684 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.00626, allocations: 148.1 kB / 330.5 MB, free: 2.539 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.57e-05/0.006326, allocations: 71.66 kB / 330.5 MB, free: 2.469 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.006591, allocations: 278.9 kB / 330.8 MB, free: 2.195 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.006593, allocations: 0 / 330.8 MB, free: 2.195 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.006594, allocations: 7.938 kB / 330.8 MB, free: 2.188 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.006599, allocations: 4 kB / 330.8 MB, free: 2.184 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006376/0.007236, allocations: 0.6355 MB / 331.5 MB, free: 1.523 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.007269, allocations: 8.031 kB / 331.5 MB, free: 1.516 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.00732, allocations: 32.89 kB / 331.5 MB, free: 1.484 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.007617, allocations: 305.8 kB / 331.8 MB, free: 1.156 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.007636, allocations: 8.375 kB / 331.8 MB, free: 1.148 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.007647, allocations: 4.375 kB / 331.8 MB, free: 1.145 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.007798, allocations: 87.45 kB / 331.9 MB, free: 1.043 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.007807, allocations: 192 / 331.9 MB, free: 1.043 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.007817, allocations: 4.375 kB / 331.9 MB, free: 1.039 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.007825, allocations: 3.938 kB / 331.9 MB, free: 1.035 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.443e-05/0.007869, allocations: 21.58 kB / 331.9 MB, free: 1.012 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.008062, allocations: 126.3 kB / 332.1 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.0082, allocations: 74.88 kB / 332.1 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.983e-05/0.00823, allocations: 25.69 kB / 332.2 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.008244, allocations: 4 kB / 332.2 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/0.008368, allocations: 99.83 kB / 332.3 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 3.105e-06/0.008371, allocations: 3.984 kB / 332.3 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001715/0.008543, allocations: 107.2 kB / 332.4 MB, free: 0.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.00858, allocations: 81.11 kB / 332.4 MB, free: 412 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007211/0.009301, allocations: 0.614 MB / 333.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.009321, allocations: 29.7 kB / 333.1 MB, free: 15.74 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.311e-05/0.009384, allocations: 145.3 kB / 333.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.009427, allocations: 35.73 kB / 333.3 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.009463, allocations: 33.69 kB / 333.3 MB, free: 15.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.009566, allocations: 370.7 kB / 333.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.431e-05/0.00959, allocations: 14.77 kB / 333.7 MB, free: 15.13 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.342e-05/0.009624, allocations: 35.42 kB / 333.7 MB, free: 15.08 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.885e-05/0.009692, allocations: 72.31 kB / 333.8 MB, free: 15 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.009696, allocations: 4 kB / 333.8 MB, free: 14.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001139/0.00981, allocations: 103.2 kB / 333.9 MB, free: 14.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.009826, allocations: 11.98 kB / 333.9 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.009832, allocations: 4.062 kB / 333.9 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.009845, allocations: 0 / 333.9 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.405e-05/0.009929, allocations: 23.94 kB / 333.9 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.009933, allocations: 3.984 kB / 333.9 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.085e-05/0.009984, allocations: 7.938 kB / 333.9 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.009992, allocations: 8 kB / 333.9 MB, free: 14.82 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.556e-05/0.01008, allocations: 118.2 kB / 334.1 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.01011, allocations: 31.95 kB / 334.1 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.01025, allocations: 117.9 kB / 334.2 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.01025, allocations: 8 kB / 334.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-06/0.01025, allocations: 0 / 334.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.01026, allocations: 3.938 kB / 334.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.0104, allocations: 173.6 kB / 334.4 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.0104, allocations: 0 / 334.4 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.26e-05/0.01043, allocations: 11.98 kB / 334.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01044, allocations: 0 / 334.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.01044, allocations: 4 kB / 334.4 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.01045, allocations: 3.938 kB / 334.4 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.01045, allocations: 256 / 334.4 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.01056, allocations: 151.1 kB / 334.5 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.01061, allocations: 55.66 kB / 334.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.01063, allocations: 0 / 334.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.058e-05/0.01067, allocations: 8 kB / 334.6 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.0107, allocations: 7.984 kB / 334.6 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.01072, allocations: 7.984 kB / 334.6 MB, free: 14.08 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000217/0.01093, allocations: 319.2 kB / 334.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.01093, allocations: 0 / 334.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000152/0.01109, allocations: 51.92 kB / 335 MB, free: 13.71 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001169/0.01226, allocations: 0.5005 MB / 335.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.01236, allocations: 52.78 kB / 335.5 MB, free: 13.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.01237, allocations: 4 kB / 335.5 MB, free: 13.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.164e-05/0.01241, allocations: 40.77 kB / 335.6 MB, free: 13.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.01263, allocations: 70.19 kB / 335.7 MB, free: 13.3 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007001/0.01333, allocations: 0.654 MB / 336.3 MB, free: 12.6 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.667e-05/0.01343, allocations: 124.2 kB / 336.4 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.633e-05/0.01351, allocations: 50.88 kB / 336.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.01364, allocations: 99.34 kB / 336.6 MB, free: 12.31 MB / 314.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01365, allocations: 0 / 336.6 MB, free: 12.31 MB / 314.7 MB Notification: Performance of Templates: time 0.00796/0.02161, allocations: 4.314 MB / 340.9 MB, free: 8.074 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.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.1112482198514044]