Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.0009403/0.0009403, 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.0009367/0.0009367, 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.059/1.059, 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.2873/0.2873, allocations: 34.86 MB / 296.6 MB, free: 448 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 326 MB, free: 7.027 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.633e-05/1.816e-05, allocations: 5.406 kB / 326 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002389/0.002407, allocations: 1.813 MB / 327.9 MB, free: 5.199 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.003706, allocations: 1.006 MB / 328.9 MB, free: 4.188 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.572e-05/0.003791, allocations: 0 / 328.9 MB, free: 4.188 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.004073, allocations: 35.77 kB / 328.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.004317, allocations: 103.4 kB / 329 MB, free: 4.051 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001541/0.004471, allocations: 83.66 kB / 329.1 MB, free: 3.969 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.004628, allocations: 104.4 kB / 329.2 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.602e-05/0.004714, allocations: 15.97 kB / 329.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.783e-05/0.004802, allocations: 47.84 kB / 329.2 MB, free: 3.805 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.423e-05/0.004876, allocations: 27.91 kB / 329.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.00489, allocations: 4 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.087e-05/0.00497, allocations: 55.84 kB / 329.3 MB, free: 3.719 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.687e-05/0.005017, allocations: 23.86 kB / 329.4 MB, free: 3.695 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.005048, allocations: 15.94 kB / 329.4 MB, free: 3.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.005209, allocations: 99.66 kB / 329.5 MB, free: 3.582 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.005211, allocations: 4 kB / 329.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.005213, allocations: 0 / 329.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.005217, allocations: 0 / 329.5 MB, free: 3.578 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.0003904/0.005607, allocations: 325.5 kB / 329.8 MB, free: 3.238 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.005649, allocations: 8.031 kB / 329.8 MB, free: 3.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.005694, allocations: 16.92 kB / 329.8 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.005887, allocations: 146 kB / 330 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.005904, allocations: 4.375 kB / 330 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.005923, allocations: 4.375 kB / 330 MB, free: 3.039 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.006033, allocations: 65.75 kB / 330 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.006043, allocations: 4.188 kB / 330 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.006051, allocations: 4.359 kB / 330 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.006058, allocations: 3.938 kB / 330 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.504e-05/0.006083, allocations: 12 kB / 330.1 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002326/0.006315, allocations: 169.8 kB / 330.2 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.669e-05/0.006412, allocations: 85.28 kB / 330.3 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.257e-05/0.006434, allocations: 16.92 kB / 330.3 MB, free: 2.645 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.978e-06/0.006444, allocations: 0 / 330.3 MB, free: 2.645 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.75e-05/0.006532, allocations: 62.2 kB / 330.4 MB, free: 2.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.006533, allocations: 4 kB / 330.4 MB, free: 2.566 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003164/0.00685, allocations: 113.5 kB / 330.5 MB, free: 2.449 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.006882, allocations: 55.39 kB / 330.5 MB, free: 2.383 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.006997, allocations: 176.3 kB / 330.7 MB, free: 2.195 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.007013, allocations: 29.7 kB / 330.8 MB, free: 2.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/0.007051, allocations: 100.1 kB / 330.8 MB, free: 2.059 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.007079, allocations: 23.78 kB / 330.9 MB, free: 2.035 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.007113, allocations: 21.7 kB / 330.9 MB, free: 2.008 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.734e-05/0.00721, allocations: 334.7 kB / 331.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.714e-05/0.007227, allocations: 10.83 kB / 331.2 MB, free: 1.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.702e-05/0.007254, allocations: 30.06 kB / 331.3 MB, free: 1.625 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.227e-05/0.007297, allocations: 36.53 kB / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.007298, allocations: 3.938 kB / 331.3 MB, free: 1.578 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.179e-05/0.00739, allocations: 76.42 kB / 331.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.007412, allocations: 13.19 kB / 331.4 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.007417, allocations: 0 / 331.4 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.007436, allocations: 0 / 331.4 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.658e-05/0.007512, allocations: 15.98 kB / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.00752, allocations: 3.938 kB / 331.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.234e-05/0.007553, allocations: 16.03 kB / 331.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.00756, allocations: 0 / 331.4 MB, free: 1.449 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 9.823e-05/0.007658, allocations: 120.7 kB / 331.5 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.007675, allocations: 11.94 kB / 331.6 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.007803, allocations: 75.06 kB / 331.6 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.007805, allocations: 0 / 331.6 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.007806, allocations: 4 kB / 331.6 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.007811, allocations: 0 / 331.6 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.008057, allocations: 287.6 kB / 331.9 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.00806, allocations: 11.97 kB / 331.9 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.82e-05/0.008088, allocations: 11.98 kB / 331.9 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.008091, allocations: 0 / 331.9 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.008097, allocations: 0 / 331.9 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.008099, allocations: 4 kB / 331.9 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.0081, allocations: 0 / 331.9 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.00823, allocations: 215 kB / 332.1 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.627e-05/0.008246, allocations: 19.83 kB / 332.2 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.008263, allocations: 4 kB / 332.2 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.181e-05/0.008305, allocations: 4 kB / 332.2 MB, free: 0.625 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.008342, allocations: 7.984 kB / 332.2 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.008361, allocations: 8 kB / 332.2 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.487e-05/0.008416, allocations: 56.69 kB / 332.2 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008416, allocations: 0 / 332.2 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001675/0.008584, allocations: 23.94 kB / 332.3 MB, free: 0.5273 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.00133/0.009914, allocations: 0.5696 MB / 332.8 MB, free: 248 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.01003, allocations: 40.83 kB / 332.9 MB, free: 204 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.01003, allocations: 4 kB / 332.9 MB, free: 200 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.525e-05/0.01007, allocations: 20.8 kB / 332.9 MB, free: 176 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.01028, allocations: 39.84 kB / 332.9 MB, free: 136 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/0.01067, allocations: 227.9 kB / 333.2 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.712e-05/0.01072, allocations: 75.45 kB / 333.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.519e-05/0.01075, allocations: 13.28 kB / 333.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.754e-05/0.01082, allocations: 71.3 kB / 333.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01082, allocations: 0 / 333.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of Templates: time 0.003828/0.01465, allocations: 2.017 MB / 335.3 MB, free: 13.71 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.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.002272841054946]