Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.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.001461/0.001461, allocations: 84.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.001783/0.001783, allocations: 164.2 kB / 24.91 MB, free: 8.754 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.034/1.034, allocations: 177 MB / 205.2 MB, free: 5.059 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.2851/0.2851, allocations: 34.86 MB / 296.6 MB, free: 472 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 326 MB, free: 7.117 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.638e-05, allocations: 2.312 kB / 326 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.002864/0.00289, allocations: 1.701 MB / 327.7 MB, free: 5.402 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009185/0.003809, allocations: 0.5308 MB / 328.2 MB, free: 4.871 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.301e-05/0.003862, allocations: 0 / 328.2 MB, free: 4.871 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005003/0.004362, allocations: 455 kB / 328.6 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004066/0.004769, allocations: 291.2 kB / 328.9 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.005063, allocations: 119.6 kB / 329 MB, free: 4.023 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.00531, allocations: 164.4 kB / 329.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.005413, allocations: 12.17 kB / 329.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.005563, allocations: 115.8 kB / 329.3 MB, free: 3.734 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.005781, allocations: 203.6 kB / 329.5 MB, free: 3.535 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.0058, allocations: 0 / 329.5 MB, free: 3.535 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.524e-05/0.005875, allocations: 27.92 kB / 329.6 MB, free: 3.508 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.005991, allocations: 79.72 kB / 329.6 MB, free: 3.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.006032, allocations: 39.73 kB / 329.7 MB, free: 3.391 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.006276, allocations: 183.2 kB / 329.8 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.00628, allocations: 0 / 329.8 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.006281, allocations: 4 kB / 329.9 MB, free: 3.207 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.006289, allocations: 3.938 kB / 329.9 MB, free: 3.203 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005844/0.006873, allocations: 0.5424 MB / 330.4 MB, free: 2.637 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.006913, allocations: 8.031 kB / 330.4 MB, free: 2.629 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.227e-05/0.006965, allocations: 24.91 kB / 330.4 MB, free: 2.605 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.007187, allocations: 238.2 kB / 330.7 MB, free: 2.344 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.007195, allocations: 384 / 330.7 MB, free: 2.344 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.007204, allocations: 4.375 kB / 330.7 MB, free: 2.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.007313, allocations: 54.89 kB / 330.7 MB, free: 2.277 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.007322, allocations: 192 / 330.7 MB, free: 2.277 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.007331, allocations: 4.375 kB / 330.7 MB, free: 2.273 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.007339, allocations: 8.125 kB / 330.7 MB, free: 2.266 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.655e-05/0.007356, allocations: 4 kB / 330.7 MB, free: 2.262 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002624/0.007618, allocations: 164.2 kB / 330.9 MB, free: 2.086 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.931e-05/0.007668, allocations: 22.52 kB / 330.9 MB, free: 2.055 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.419e-05/0.007682, allocations: 4.859 kB / 330.9 MB, free: 2.047 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.007703, allocations: 4.062 kB / 330.9 MB, free: 2.043 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.007729, allocations: 30.56 kB / 331 MB, free: 2.004 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 2.024e-06/0.007731, allocations: 0 / 331 MB, free: 2.004 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001543/0.007885, allocations: 65.78 kB / 331 MB, free: 1.934 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.007923, allocations: 59.34 kB / 331.1 MB, free: 1.863 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003971/0.00832, allocations: 0.5205 MB / 331.6 MB, free: 1.328 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.008335, allocations: 25.7 kB / 331.6 MB, free: 1.297 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.715e-05/0.008412, allocations: 145.3 kB / 331.8 MB, free: 1.148 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.008436, allocations: 7.938 kB / 331.8 MB, free: 1.141 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.008476, allocations: 13.72 kB / 331.8 MB, free: 1.121 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.008594, allocations: 350.7 kB / 332.1 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.648e-05/0.00861, allocations: 4 kB / 332.1 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.616e-06/0.008619, allocations: 0 / 332.1 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.617e-05/0.008655, allocations: 16.91 kB / 332.2 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.008657, allocations: 0 / 332.2 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.088e-05/0.008738, allocations: 57.61 kB / 332.2 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.008755, allocations: 7.938 kB / 332.2 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.008763, allocations: 7.938 kB / 332.2 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.00878, allocations: 0 / 332.2 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.259e-05/0.008852, allocations: 7.984 kB / 332.2 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.008856, allocations: 0 / 332.2 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.008879, allocations: 0 / 332.2 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.008885, allocations: 0 / 332.2 MB, free: 0.6562 MB / 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 (2): * Single equations (assignments): 2 * 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 8.536e-05/0.00897, allocations: 124.7 kB / 332.4 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.008996, allocations: 19.97 kB / 332.4 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.009116, allocations: 76.67 kB / 332.4 MB, free: 432 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.009119, allocations: 4 kB / 332.5 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.009121, allocations: 0 / 332.5 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.009124, allocations: 0 / 332.5 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.009253, allocations: 137.7 kB / 332.6 MB, free: 272 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.009255, allocations: 0 / 332.6 MB, free: 272 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.835e-05/0.009283, allocations: 7.938 kB / 332.6 MB, free: 264 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.009287, allocations: 3.984 kB / 332.6 MB, free: 260 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-06/0.009291, allocations: 4.031 kB / 332.6 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.009293, allocations: 0 / 332.6 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.009297, allocations: 3.938 kB / 332.6 MB, free: 252 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.863e-05/0.009395, allocations: 151.5 kB / 332.8 MB, free: 84 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.524e-05/0.009421, allocations: 31.77 kB / 332.8 MB, free: 52 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.009433, allocations: 0 / 332.8 MB, free: 52 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.866e-05/0.009471, allocations: 7.984 kB / 332.8 MB, free: 44 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.297e-05/0.009484, allocations: 3.938 kB / 332.8 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.009488, allocations: 0 / 332.8 MB, free: 40 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002019/0.00969, allocations: 283.2 kB / 333.1 MB, free: 15.76 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00969, allocations: 0 / 333.1 MB, free: 15.76 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001407/0.009831, allocations: 27.92 kB / 333.1 MB, free: 15.73 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 (2): * Single equations (assignments): 2 * 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.001086/0.01092, allocations: 422.9 kB / 333.5 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.484e-05/0.01101, allocations: 16.86 kB / 333.5 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.31e-05/0.01102, allocations: 11.94 kB / 333.5 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.646e-06/0.01103, allocations: 4.859 kB / 333.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.01127, allocations: 21.95 kB / 333.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006683/0.01194, allocations: 0.5549 MB / 334.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.635e-05/0.01202, allocations: 119.2 kB / 334.2 MB, free: 14.76 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.157e-05/0.01205, allocations: 8.984 kB / 334.2 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.511e-05/0.0121, allocations: 59.36 kB / 334.3 MB, free: 14.69 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0121, allocations: 0 / 334.3 MB, free: 14.69 MB / 314.7 MB Notification: Performance of Templates: time 0.003807/0.01591, allocations: 1.235 MB / 335.5 MB, free: 13.46 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.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.9029704951681197]