Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.0009824/0.0009824, allocations: 88.73 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.001369/0.001369, allocations: 160.2 kB / 24.91 MB, free: 8.723 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.002/1.002, allocations: 177 MB / 205.2 MB, free: 5.465 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.2568/0.2568, 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 326 MB, free: 7.031 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.674e-05, allocations: 7.344 kB / 326 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003252/0.003279, allocations: 1.816 MB / 327.9 MB, free: 5.199 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.004924, allocations: 1.006 MB / 328.9 MB, free: 4.188 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.002e-05/0.005014, allocations: 0 / 328.9 MB, free: 4.188 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.005309, allocations: 55.69 kB / 328.9 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.00562, allocations: 103.5 kB / 329 MB, free: 4.031 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.005846, allocations: 71.67 kB / 329.1 MB, free: 3.961 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.006029, allocations: 115.5 kB / 329.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.315e-05/0.006112, allocations: 7.984 kB / 329.2 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.00622, allocations: 51.89 kB / 329.3 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.48e-05/0.006295, allocations: 35.84 kB / 329.3 MB, free: 3.754 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.006312, allocations: 4 kB / 329.3 MB, free: 3.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.663e-05/0.006408, allocations: 47.86 kB / 329.3 MB, free: 3.703 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.354e-05/0.006462, allocations: 31.91 kB / 329.4 MB, free: 3.672 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.006498, allocations: 19.88 kB / 329.4 MB, free: 3.652 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.006695, allocations: 111.6 kB / 329.5 MB, free: 3.543 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.006698, allocations: 0 / 329.5 MB, free: 3.543 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006699, allocations: 0 / 329.5 MB, free: 3.543 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.006703, allocations: 0 / 329.5 MB, free: 3.543 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.0004501/0.007153, allocations: 353.2 kB / 329.8 MB, free: 3.176 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.007187, allocations: 15.97 kB / 329.9 MB, free: 3.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.007225, allocations: 12.92 kB / 329.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.007419, allocations: 154.4 kB / 330 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.007438, allocations: 4.375 kB / 330 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.007457, allocations: 4.375 kB / 330 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.007582, allocations: 65.75 kB / 330.1 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.007593, allocations: 192 / 330.1 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.007602, allocations: 4.375 kB / 330.1 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.007608, allocations: 3.938 kB / 330.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.926e-05/0.007637, allocations: 4 kB / 330.1 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002645/0.007902, allocations: 178 kB / 330.3 MB, free: 2.684 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.00801, allocations: 85.28 kB / 330.4 MB, free: 2.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.346e-05/0.008034, allocations: 12.86 kB / 330.4 MB, free: 2.574 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.008045, allocations: 0 / 330.4 MB, free: 2.574 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001044/0.008149, allocations: 66.2 kB / 330.4 MB, free: 2.496 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.008151, allocations: 0 / 330.4 MB, free: 2.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003297/0.00848, allocations: 117.8 kB / 330.6 MB, free: 2.375 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.008508, allocations: 51.41 kB / 330.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.00868, allocations: 216 kB / 330.8 MB, free: 2.086 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.008698, allocations: 33.7 kB / 330.9 MB, free: 2.047 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.334e-05/0.008742, allocations: 96.11 kB / 330.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.008774, allocations: 31.77 kB / 331 MB, free: 1.918 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.008813, allocations: 17.72 kB / 331 MB, free: 1.895 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.706e-05/0.00891, allocations: 334.8 kB / 331.3 MB, free: 1.559 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.548e-05/0.008936, allocations: 10.89 kB / 331.3 MB, free: 1.547 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.133e-05/0.008967, allocations: 25.7 kB / 331.4 MB, free: 1.516 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.574e-05/0.009023, allocations: 40.52 kB / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.009023, allocations: 7.875 kB / 331.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001096/0.009133, allocations: 72.5 kB / 331.5 MB, free: 1.383 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.009149, allocations: 11.94 kB / 331.5 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.009154, allocations: 0 / 331.5 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.009167, allocations: 0 / 331.5 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.028e-05/0.009247, allocations: 19.92 kB / 331.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.009251, allocations: 4 kB / 331.5 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.844e-05/0.00929, allocations: 4 kB / 331.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.009297, allocations: 4 kB / 331.5 MB, free: 1.34 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.547e-05/0.009373, allocations: 116.7 kB / 331.6 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.009396, allocations: 19.95 kB / 331.7 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.009536, allocations: 83.06 kB / 331.7 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.009538, allocations: 0 / 331.7 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.00954, allocations: 0 / 331.7 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.009543, allocations: 0 / 331.7 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.009833, allocations: 307.6 kB / 332 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.009837, allocations: 3.938 kB / 332 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.085e-05/0.009878, allocations: 8 kB / 332 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.00988, allocations: 0 / 332 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.009888, allocations: 4 kB / 332.1 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.009891, allocations: 4.031 kB / 332.1 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.009892, allocations: 0 / 332.1 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.01004, allocations: 219 kB / 332.3 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/0.01006, allocations: 15.84 kB / 332.3 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.01008, allocations: 4 kB / 332.3 MB, free: 0.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.017e-05/0.01015, allocations: 7.984 kB / 332.3 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.01018, allocations: 0 / 332.3 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.01019, allocations: 8 kB / 332.3 MB, free: 496 kB / 298.7 MB Notification: Performance of sorting global known variables: time 8.049e-05/0.01027, allocations: 73 kB / 332.4 MB, free: 420 kB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01027, allocations: 0 / 332.4 MB, free: 420 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002393/0.01051, allocations: 27.94 kB / 332.4 MB, free: 392 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.001711/0.01222, allocations: 0.5734 MB / 333 MB, free: 92 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001114/0.01233, allocations: 40.78 kB / 333 MB, free: 48 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.01234, allocations: 8.062 kB / 333 MB, free: 40 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.695e-05/0.01238, allocations: 16.86 kB / 333 MB, free: 20 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.01266, allocations: 43.83 kB / 333.1 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.01311, allocations: 260.5 kB / 333.3 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.793e-05/0.01317, allocations: 75.33 kB / 333.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.011e-05/0.01322, allocations: 17.27 kB / 333.4 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.528e-05/0.0133, allocations: 67.44 kB / 333.5 MB, free: 15.52 MB / 314.7 MB Notification: Performance of SimCode: time 8.91e-07/0.0133, allocations: 0 / 333.5 MB, free: 15.52 MB / 314.7 MB Notification: Performance of Templates: time 0.004884/0.01819, allocations: 2.046 MB / 335.5 MB, free: 13.51 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.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.03345531411469]