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.0009084/0.0009084, 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.001153/0.001153, allocations: 163.2 kB / 24.91 MB, free: 8.715 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.9295/0.9295, allocations: 177 MB / 205.2 MB, free: 5.047 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.2809/0.2809, allocations: 34.85 MB / 296.6 MB, free: 468 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.974e-06/1.974e-06, allocations: 0 / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.529e-05/1.726e-05, allocations: 5.406 kB / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.002573/0.002591, allocations: 1.648 MB / 327.6 MB, free: 5.496 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008575/0.003448, allocations: 0.529 MB / 328.1 MB, free: 4.965 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.556e-05/0.003494, allocations: 0 / 328.1 MB, free: 4.965 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005674/0.004061, allocations: 455 kB / 328.5 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004195/0.004481, allocations: 291.2 kB / 328.8 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.004779, allocations: 127.6 kB / 329 MB, free: 4.109 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.004999, allocations: 164.4 kB / 329.1 MB, free: 3.949 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.968e-05/0.005079, allocations: 16.16 kB / 329.1 MB, free: 3.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.005218, allocations: 115.8 kB / 329.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.00541, allocations: 195.6 kB / 329.4 MB, free: 3.625 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.005425, allocations: 4 kB / 329.4 MB, free: 3.621 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.655e-05/0.005492, allocations: 27.88 kB / 329.5 MB, free: 3.594 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.865e-05/0.00559, allocations: 87.69 kB / 329.6 MB, free: 3.508 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.595e-05/0.005626, allocations: 35.75 kB / 329.6 MB, free: 3.473 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.00584, allocations: 179.2 kB / 329.8 MB, free: 3.297 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.005842, allocations: 0 / 329.8 MB, free: 3.297 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.005842, allocations: 4 kB / 329.8 MB, free: 3.293 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.005846, allocations: 0 / 329.8 MB, free: 3.293 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.0005012/0.006347, allocations: 0.5385 MB / 330.3 MB, free: 2.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.006381, allocations: 16.03 kB / 330.3 MB, free: 2.715 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.006428, allocations: 28.84 kB / 330.4 MB, free: 2.688 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.006633, allocations: 230.2 kB / 330.6 MB, free: 2.434 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.006643, allocations: 12.31 kB / 330.6 MB, free: 2.422 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.006653, allocations: 384 / 330.6 MB, free: 2.422 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.422e-05/0.006748, allocations: 54.94 kB / 330.6 MB, free: 2.359 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.006754, allocations: 192 / 330.6 MB, free: 2.359 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.006762, allocations: 4.375 kB / 330.6 MB, free: 2.355 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.006769, allocations: 4.125 kB / 330.6 MB, free: 2.352 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.662e-05/0.006786, allocations: 4 kB / 330.7 MB, free: 2.348 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002207/0.007006, allocations: 164.2 kB / 330.8 MB, free: 2.172 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.926e-05/0.007046, allocations: 26.56 kB / 330.8 MB, free: 2.137 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.007061, allocations: 8.922 kB / 330.8 MB, free: 2.125 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.007075, allocations: 0 / 330.8 MB, free: 2.125 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.007096, allocations: 30.56 kB / 330.9 MB, free: 2.086 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.007097, allocations: 4 kB / 330.9 MB, free: 2.082 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001283/0.007225, allocations: 57.55 kB / 330.9 MB, free: 2.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.007257, allocations: 55.41 kB / 331 MB, free: 1.953 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000376/0.007633, allocations: 0.5283 MB / 331.5 MB, free: 1.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.007643, allocations: 25.7 kB / 331.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/0.007703, allocations: 141.4 kB / 331.7 MB, free: 1.234 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/0.007716, allocations: 7.953 kB / 331.7 MB, free: 1.227 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.007741, allocations: 13.72 kB / 331.7 MB, free: 1.207 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.007913, allocations: 358.7 kB / 332.1 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.696e-06/0.007921, allocations: 0 / 332.1 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.963e-06/0.007928, allocations: 4 kB / 332.1 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.317e-05/0.007951, allocations: 12.84 kB / 332.1 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.007954, allocations: 3.938 kB / 332.1 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.607e-05/0.00801, allocations: 57.66 kB / 332.1 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/0.008019, allocations: 8.094 kB / 332.1 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.008023, allocations: 3.938 kB / 332.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-06/0.008032, allocations: 0 / 332.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.724e-05/0.008079, allocations: 4 kB / 332.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.008081, allocations: 0 / 332.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.144e-05/0.008103, allocations: 0 / 332.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.008107, allocations: 4 kB / 332.2 MB, free: 0.7383 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 6.66e-05/0.008174, allocations: 112.7 kB / 332.3 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.008197, allocations: 19.98 kB / 332.3 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.524e-05/0.008282, allocations: 80.61 kB / 332.4 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.008284, allocations: 7.969 kB / 332.4 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.008286, allocations: 0 / 332.4 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.008289, allocations: 4 kB / 332.4 MB, free: 0.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.008409, allocations: 133.7 kB / 332.5 MB, free: 360 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.00841, allocations: 0 / 332.5 MB, free: 360 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.957e-05/0.00843, allocations: 8 kB / 332.5 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.008431, allocations: 0 / 332.5 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-06/0.008435, allocations: 0 / 332.5 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.008436, allocations: 0 / 332.5 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.008439, allocations: 7.938 kB / 332.5 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.633e-05/0.008515, allocations: 159.4 kB / 332.7 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.368e-05/0.008539, allocations: 35.75 kB / 332.7 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.008551, allocations: 0 / 332.7 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.557e-05/0.008587, allocations: 8 kB / 332.7 MB, free: 124 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.012e-05/0.008597, allocations: 3.938 kB / 332.7 MB, free: 120 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.008599, allocations: 0 / 332.7 MB, free: 120 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001863/0.008786, allocations: 283.2 kB / 333 MB, free: 15.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.008786, allocations: 0 / 333 MB, free: 15.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001383/0.008924, allocations: 23.88 kB / 333 MB, free: 15.82 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.0009462/0.00987, allocations: 418.9 kB / 333.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.14e-05/0.009922, allocations: 16.84 kB / 333.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.009929, allocations: 4 kB / 333.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.434e-06/0.009936, allocations: 8.922 kB / 333.5 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.01011, allocations: 33.95 kB / 333.5 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000523/0.01063, allocations: 0.5625 MB / 334.1 MB, free: 14.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.576e-05/0.01069, allocations: 111.3 kB / 334.2 MB, free: 14.83 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.235e-05/0.01072, allocations: 8.984 kB / 334.2 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.01077, allocations: 55.38 kB / 334.2 MB, free: 14.77 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01077, allocations: 0 / 334.2 MB, free: 14.77 MB / 314.7 MB Notification: Performance of Templates: time 0.003204/0.01397, allocations: 1.235 MB / 335.5 MB, free: 13.54 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 -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.871101427823305]