Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.0009347/0.0009347, 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.0008965/0.0008965, 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 0.9162/0.9162, 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.2707/0.2707, allocations: 34.86 MB / 296.6 MB, free: 476 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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.702e-05, allocations: 2.312 kB / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003007/0.003034, allocations: 1.71 MB / 327.6 MB, free: 5.441 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007726/0.003807, allocations: 0.5562 MB / 328.2 MB, free: 4.883 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.811e-05/0.003855, allocations: 0 / 328.2 MB, free: 4.883 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004347/0.00429, allocations: 459 kB / 328.6 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003799/0.00467, allocations: 295.2 kB / 328.9 MB, free: 4.145 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.004941, allocations: 131.5 kB / 329.1 MB, free: 4.016 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.005145, allocations: 176.4 kB / 329.2 MB, free: 3.844 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.778e-05/0.005222, allocations: 15.97 kB / 329.3 MB, free: 3.828 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.005344, allocations: 131.7 kB / 329.4 MB, free: 3.699 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.005502, allocations: 191.6 kB / 329.6 MB, free: 3.512 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.005516, allocations: 4 kB / 329.6 MB, free: 3.508 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.283e-05/0.005599, allocations: 51.92 kB / 329.6 MB, free: 3.457 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.95e-05/0.005679, allocations: 83.7 kB / 329.7 MB, free: 3.375 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.005711, allocations: 43.73 kB / 329.7 MB, free: 3.332 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.005917, allocations: 211.1 kB / 330 MB, free: 3.125 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.00592, allocations: 0 / 330 MB, free: 3.125 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.005921, allocations: 3.938 kB / 330 MB, free: 3.121 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.005926, allocations: 0 / 330 MB, free: 3.121 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004735/0.006399, allocations: 0.5502 MB / 330.5 MB, free: 2.543 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.006431, allocations: 8.031 kB / 330.5 MB, free: 2.535 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.006474, allocations: 24.91 kB / 330.5 MB, free: 2.512 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.006658, allocations: 250 kB / 330.8 MB, free: 2.238 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.006668, allocations: 4.375 kB / 330.8 MB, free: 2.234 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.006686, allocations: 4.375 kB / 330.8 MB, free: 2.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.683e-05/0.006782, allocations: 62.94 kB / 330.9 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.00679, allocations: 192 / 330.9 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.006799, allocations: 8.359 kB / 330.9 MB, free: 2.152 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.006804, allocations: 4.375 kB / 330.9 MB, free: 2.148 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.496e-05/0.006829, allocations: 11.88 kB / 330.9 MB, free: 2.137 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002144/0.007043, allocations: 172.2 kB / 331 MB, free: 1.953 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.982e-05/0.007093, allocations: 38.58 kB / 331.1 MB, free: 1.906 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.402e-05/0.007107, allocations: 8.859 kB / 331.1 MB, free: 1.895 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.007121, allocations: 0 / 331.1 MB, free: 1.895 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.00714, allocations: 38.56 kB / 331.1 MB, free: 1.848 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.007141, allocations: 4 kB / 331.1 MB, free: 1.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000474/0.007615, allocations: 157.5 kB / 331.3 MB, free: 1.684 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.007644, allocations: 51.41 kB / 331.3 MB, free: 1.621 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.008004, allocations: 0.5205 MB / 331.9 MB, free: 1.086 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.008017, allocations: 33.7 kB / 331.9 MB, free: 1.047 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.008073, allocations: 145.2 kB / 332 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.008095, allocations: 23.75 kB / 332.1 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.008125, allocations: 25.69 kB / 332.1 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.69e-05/0.008211, allocations: 358.7 kB / 332.4 MB, free: 492 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.191e-05/0.008223, allocations: 4 kB / 332.4 MB, free: 488 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.423e-05/0.008238, allocations: 15.92 kB / 332.5 MB, free: 472 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.357e-05/0.008271, allocations: 28.77 kB / 332.5 MB, free: 440 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.008272, allocations: 0 / 332.5 MB, free: 440 kB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.385e-05/0.008346, allocations: 77.59 kB / 332.6 MB, free: 356 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.008358, allocations: 8 kB / 332.6 MB, free: 348 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.008362, allocations: 0 / 332.6 MB, free: 348 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.008372, allocations: 0 / 332.6 MB, free: 348 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.343e-05/0.008435, allocations: 19.92 kB / 332.6 MB, free: 328 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.008439, allocations: 4 kB / 332.6 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.597e-05/0.008465, allocations: 4 kB / 332.6 MB, free: 320 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.00847, allocations: 320 / 332.6 MB, free: 320 kB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.421e-05/0.008544, allocations: 112.7 kB / 332.7 MB, free: 196 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.008571, allocations: 27.91 kB / 332.7 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.008701, allocations: 105.5 kB / 332.8 MB, free: 56 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.008704, allocations: 4 kB / 332.8 MB, free: 52 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.008707, allocations: 4 kB / 332.8 MB, free: 48 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.00871, allocations: 0 / 332.8 MB, free: 48 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.00903, allocations: 311.4 kB / 333.1 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.009031, allocations: 0 / 333.1 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.155e-05/0.009073, allocations: 19.92 kB / 333.2 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.009074, allocations: 0 / 333.2 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-06/0.009079, allocations: 4 kB / 333.2 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.00908, allocations: 0 / 333.2 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.009082, allocations: 0 / 333.2 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.009183, allocations: 176.3 kB / 333.3 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.531e-05/0.009208, allocations: 40.08 kB / 333.4 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.009223, allocations: 3.984 kB / 333.4 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.067e-05/0.009264, allocations: 8.031 kB / 333.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.009284, allocations: 0 / 333.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.009291, allocations: 7.984 kB / 333.4 MB, free: 15.44 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001736/0.009465, allocations: 283.2 kB / 333.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009465, allocations: 0 / 333.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001523/0.009617, allocations: 31.94 kB / 333.7 MB, free: 15.13 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001257/0.01087, allocations: 0.5594 MB / 334.3 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.53e-05/0.01095, allocations: 40.7 kB / 334.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.01096, allocations: 4 kB / 334.3 MB, free: 14.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.299e-05/0.01098, allocations: 28.83 kB / 334.3 MB, free: 14.78 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.01116, allocations: 29.89 kB / 334.4 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005597/0.01172, allocations: 0.591 MB / 335 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.704e-05/0.0118, allocations: 123.2 kB / 335.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.834e-05/0.01184, allocations: 16.72 kB / 335.1 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/0.01189, allocations: 59.38 kB / 335.2 MB, free: 13.91 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01189, allocations: 0 / 335.2 MB, free: 13.91 MB / 314.7 MB Notification: Performance of Templates: time 0.003787/0.01568, allocations: 1.708 MB / 336.9 MB, free: 12.21 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.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.884346878156066]