Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.000943/0.000943, 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.001043/0.001043, allocations: 166.5 kB / 24.91 MB, free: 9.199 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.9621/0.9621, allocations: 177 MB / 205.2 MB, free: 5.477 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.269/0.269, allocations: 34.86 MB / 296.6 MB, free: 0.5078 MB / 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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.956e-06/2.956e-06, allocations: 4 kB / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.793e-05/2.089e-05, allocations: 4.281 kB / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002026/0.002047, allocations: 1.695 MB / 327.6 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007284/0.002775, allocations: 0.5718 MB / 328.2 MB, free: 4.887 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.696e-05/0.002822, allocations: 0 / 328.2 MB, free: 4.887 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004119/0.003234, allocations: 459 kB / 328.6 MB, free: 4.438 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.003539, allocations: 295.1 kB / 328.9 MB, free: 4.148 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.003796, allocations: 171.5 kB / 329.1 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.003956, allocations: 172.4 kB / 329.3 MB, free: 3.812 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.03e-05/0.004026, allocations: 19.97 kB / 329.3 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.004128, allocations: 119.7 kB / 329.4 MB, free: 3.676 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.004275, allocations: 203.6 kB / 329.6 MB, free: 3.477 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.004287, allocations: 4 kB / 329.6 MB, free: 3.473 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.793e-05/0.004345, allocations: 35.92 kB / 329.6 MB, free: 3.438 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.972e-05/0.004415, allocations: 87.64 kB / 329.7 MB, free: 3.352 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.004446, allocations: 35.75 kB / 329.8 MB, free: 3.316 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.004622, allocations: 195.2 kB / 330 MB, free: 3.125 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.004624, allocations: 0 / 330 MB, free: 3.125 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004625, allocations: 0 / 330 MB, free: 3.125 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.004628, allocations: 0 / 330 MB, free: 3.125 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004/0.005028, allocations: 0.5579 MB / 330.5 MB, free: 2.539 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.005062, allocations: 12.03 kB / 330.5 MB, free: 2.527 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.005097, allocations: 20.92 kB / 330.5 MB, free: 2.508 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.005264, allocations: 246 kB / 330.8 MB, free: 2.238 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.005272, allocations: 384 / 330.8 MB, free: 2.238 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.005289, allocations: 8.359 kB / 330.8 MB, free: 2.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.298e-05/0.005371, allocations: 62.92 kB / 330.9 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.005379, allocations: 192 / 330.9 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-06/0.005386, allocations: 384 / 330.9 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.005391, allocations: 4.375 kB / 330.9 MB, free: 2.156 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.192e-05/0.005413, allocations: 19.86 kB / 330.9 MB, free: 2.137 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000222/0.005635, allocations: 191.1 kB / 331.1 MB, free: 1.934 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.005749, allocations: 37.47 kB / 331.1 MB, free: 1.887 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.321e-05/0.005762, allocations: 8.953 kB / 331.1 MB, free: 1.875 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.005776, allocations: 3.984 kB / 331.1 MB, free: 1.871 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.005793, allocations: 34.5 kB / 331.1 MB, free: 1.828 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 6.61e-07/0.005794, allocations: 0 / 331.1 MB, free: 1.828 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000253/0.006047, allocations: 109.4 kB / 331.3 MB, free: 1.715 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.006075, allocations: 51.41 kB / 331.3 MB, free: 1.652 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.006374, allocations: 0.5283 MB / 331.8 MB, free: 1.109 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.006383, allocations: 29.7 kB / 331.9 MB, free: 1.074 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/0.006437, allocations: 145.3 kB / 332 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.006456, allocations: 23.83 kB / 332 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.422e-05/0.00648, allocations: 13.72 kB / 332 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.498e-05/0.006565, allocations: 354.7 kB / 332.4 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.042e-05/0.006575, allocations: 7.984 kB / 332.4 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.588e-06/0.006585, allocations: 4 kB / 332.4 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.866e-05/0.006614, allocations: 23.67 kB / 332.4 MB, free: 500 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.006614, allocations: 0 / 332.4 MB, free: 500 kB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.889e-05/0.006673, allocations: 65.86 kB / 332.5 MB, free: 428 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/0.006683, allocations: 11.94 kB / 332.5 MB, free: 416 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.006687, allocations: 0 / 332.5 MB, free: 416 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.006698, allocations: 0 / 332.5 MB, free: 416 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.671e-05/0.006734, allocations: 19.92 kB / 332.5 MB, free: 396 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.006737, allocations: 4 kB / 332.5 MB, free: 392 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.214e-05/0.00676, allocations: 0 / 332.5 MB, free: 392 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.006763, allocations: 0 / 332.5 MB, free: 392 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 (5): * Single equations (assignments): 5 * 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 6.921e-05/0.006833, allocations: 116.7 kB / 332.6 MB, free: 264 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.006858, allocations: 27.91 kB / 332.7 MB, free: 236 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.006962, allocations: 89.16 kB / 332.8 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.006964, allocations: 4 kB / 332.8 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.006965, allocations: 0 / 332.8 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.006968, allocations: 0 / 332.8 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.007191, allocations: 266.7 kB / 333 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.007193, allocations: 0 / 333 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.014e-05/0.007223, allocations: 19.92 kB / 333 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.007224, allocations: 0 / 333 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-06/0.007228, allocations: 0 / 333 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.007229, allocations: 3.938 kB / 333 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.00723, allocations: 4 kB / 333 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.013e-05/0.00731, allocations: 155.5 kB / 333.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.453e-05/0.007335, allocations: 39.66 kB / 333.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.007347, allocations: 0 / 333.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.716e-05/0.007385, allocations: 8 kB / 333.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.007407, allocations: 3.984 kB / 333.2 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.00741, allocations: 192 / 333.2 MB, free: 15.6 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001733/0.007583, allocations: 283.2 kB / 333.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007583, allocations: 0 / 333.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000138/0.007721, allocations: 27.94 kB / 333.5 MB, free: 15.3 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001083/0.008804, allocations: 0.4985 MB / 334 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.191e-05/0.008866, allocations: 24.78 kB / 334.1 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.008871, allocations: 4 kB / 334.1 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.002e-05/0.008891, allocations: 16.86 kB / 334.1 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.009055, allocations: 25.89 kB / 334.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005286/0.009583, allocations: 0.5895 MB / 334.7 MB, free: 14.35 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.783e-05/0.009651, allocations: 119.2 kB / 334.8 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.976e-05/0.009681, allocations: 15.97 kB / 334.8 MB, free: 14.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.009728, allocations: 59.38 kB / 334.9 MB, free: 14.14 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009729, allocations: 0 / 334.9 MB, free: 14.14 MB / 314.7 MB Notification: Performance of Templates: time 0.003487/0.01322, allocations: 1.466 MB / 336.4 MB, free: 12.69 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.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.9652178520336747]