Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001289/0.001289, 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.001209/0.001209, allocations: 160.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 0.9893/0.9893, allocations: 177 MB / 205.2 MB, free: 5.027 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: 400 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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 326 MB, free: 7.074 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.754e-05/2.917e-05, allocations: 9.125 kB / 326 MB, free: 7.066 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003625/0.003654, allocations: 1.737 MB / 327.7 MB, free: 5.316 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.004768, allocations: 0.5757 MB / 328.3 MB, free: 4.738 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.431e-05/0.004843, allocations: 8 kB / 328.3 MB, free: 4.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006383/0.005481, allocations: 459 kB / 328.8 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004829/0.005964, allocations: 287.2 kB / 329 MB, free: 4 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.006338, allocations: 171.5 kB / 329.2 MB, free: 3.832 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.006586, allocations: 188.3 kB / 329.4 MB, free: 3.648 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.006692, allocations: 15.97 kB / 329.4 MB, free: 3.633 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.006819, allocations: 119.8 kB / 329.5 MB, free: 3.516 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.006987, allocations: 203.6 kB / 329.7 MB, free: 3.316 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.007003, allocations: 4 kB / 329.7 MB, free: 3.312 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.487e-05/0.007078, allocations: 39.91 kB / 329.8 MB, free: 3.273 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.777e-05/0.007156, allocations: 79.72 kB / 329.8 MB, free: 3.195 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.673e-05/0.007192, allocations: 43.67 kB / 329.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.00739, allocations: 203.2 kB / 330.1 MB, free: 2.953 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.007394, allocations: 0 / 330.1 MB, free: 2.953 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.007395, allocations: 3.938 kB / 330.1 MB, free: 2.949 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.007401, allocations: 0 / 330.1 MB, free: 2.949 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.0004731/0.007874, allocations: 0.5502 MB / 330.6 MB, free: 2.371 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.007907, allocations: 12.03 kB / 330.6 MB, free: 2.359 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.007952, allocations: 24.91 kB / 330.7 MB, free: 2.336 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.008154, allocations: 242 kB / 330.9 MB, free: 2.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.008164, allocations: 12.31 kB / 330.9 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.008182, allocations: 384 / 330.9 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.008297, allocations: 66.92 kB / 331 MB, free: 1.984 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.008308, allocations: 192 / 331 MB, free: 1.984 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.008315, allocations: 4.312 kB / 331 MB, free: 1.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.008323, allocations: 384 / 331 MB, free: 1.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.511e-05/0.008348, allocations: 11.94 kB / 331 MB, free: 1.969 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.008644, allocations: 215.1 kB / 331.2 MB, free: 1.742 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.741e-05/0.008701, allocations: 22.58 kB / 331.2 MB, free: 1.711 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.901e-05/0.00872, allocations: 16.8 kB / 331.2 MB, free: 1.691 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.008739, allocations: 8.078 kB / 331.3 MB, free: 1.684 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.00876, allocations: 30.56 kB / 331.3 MB, free: 1.645 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.008762, allocations: 0 / 331.3 MB, free: 1.645 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003273/0.009089, allocations: 121.5 kB / 331.4 MB, free: 1.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.009118, allocations: 51.41 kB / 331.5 MB, free: 1.457 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003255/0.009444, allocations: 0.5361 MB / 332 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.009454, allocations: 29.7 kB / 332 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.009518, allocations: 145.2 kB / 332.2 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.009541, allocations: 23.84 kB / 332.2 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.009571, allocations: 17.72 kB / 332.2 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.972e-05/0.00966, allocations: 358.7 kB / 332.6 MB, free: 320 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.69e-05/0.009677, allocations: 8 kB / 332.6 MB, free: 312 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.403e-05/0.009691, allocations: 7.984 kB / 332.6 MB, free: 304 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.876e-05/0.00973, allocations: 27.67 kB / 332.6 MB, free: 272 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.009731, allocations: 3.938 kB / 332.6 MB, free: 268 kB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.947e-05/0.00981, allocations: 69.64 kB / 332.7 MB, free: 192 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.009827, allocations: 15.94 kB / 332.7 MB, free: 176 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.009832, allocations: 320 / 332.7 MB, free: 176 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.009844, allocations: 0 / 332.7 MB, free: 176 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.202e-05/0.009916, allocations: 16.27 kB / 332.7 MB, free: 160 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.285e-06/0.009919, allocations: 0 / 332.7 MB, free: 160 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.851e-05/0.009947, allocations: 4 kB / 332.7 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.009956, allocations: 11.98 kB / 332.7 MB, free: 144 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 (7): * Single equations (assignments): 7 * 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.216e-05/0.01003, allocations: 108.7 kB / 332.8 MB, free: 24 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.01007, allocations: 31.89 kB / 332.9 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.0102, allocations: 101.5 kB / 333 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.0102, allocations: 7.938 kB / 333 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.01021, allocations: 0 / 333 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01021, allocations: 0 / 333 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.01046, allocations: 286.6 kB / 333.2 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01046, allocations: 0 / 333.2 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.077e-05/0.01051, allocations: 27.92 kB / 333.3 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01052, allocations: 0 / 333.3 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.01052, allocations: 4 kB / 333.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01052, allocations: 0 / 333.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01052, allocations: 0 / 333.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.174e-05/0.01061, allocations: 163.5 kB / 333.4 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.35e-05/0.01064, allocations: 39.66 kB / 333.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.01065, allocations: 0 / 333.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.278e-05/0.0107, allocations: 15.92 kB / 333.5 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.753e-05/0.01072, allocations: 4 kB / 333.5 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.01073, allocations: 3.984 kB / 333.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001777/0.01091, allocations: 287.2 kB / 333.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01091, allocations: 0 / 333.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001449/0.01105, allocations: 27.94 kB / 333.8 MB, free: 15 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 (7): * Single equations (assignments): 7 * 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.001184/0.01224, allocations: 496.2 kB / 334.3 MB, free: 14.76 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.137e-05/0.01232, allocations: 32.83 kB / 334.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.01232, allocations: 4 kB / 334.3 MB, free: 14.72 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.571e-05/0.01235, allocations: 24.95 kB / 334.3 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.01255, allocations: 33.53 kB / 334.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006161/0.01317, allocations: 0.5896 MB / 335 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.362e-05/0.01324, allocations: 123.2 kB / 335.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.867e-05/0.01328, allocations: 12.73 kB / 335.1 MB, free: 13.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/0.01334, allocations: 67.3 kB / 335.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01334, allocations: 0 / 335.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of Templates: time 0.00397/0.01731, allocations: 1.59 MB / 336.8 MB, free: 12.24 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.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.973648894112557]