Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.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.0009287/0.0009287, 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.001045/0.001045, allocations: 160.3 kB / 24.91 MB, free: 8.695 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.9244/0.9244, allocations: 177 MB / 205.2 MB, free: 5.453 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.2394/0.2394, allocations: 34.86 MB / 296.6 MB, free: 0.5 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.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.103e-06/1.103e-06, allocations: 0 / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106e-05/1.216e-05, allocations: 2.312 kB / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.001856/0.001868, allocations: 1.651 MB / 327.6 MB, free: 5.508 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006662/0.002534, allocations: 0.5252 MB / 328.1 MB, free: 4.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.207e-05/0.002577, allocations: 0 / 328.1 MB, free: 4.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.002739, allocations: 27.78 kB / 328.1 MB, free: 4.953 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.002941, allocations: 79.56 kB / 328.2 MB, free: 4.875 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.003118, allocations: 87.69 kB / 328.3 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.003231, allocations: 75.7 kB / 328.4 MB, free: 4.715 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.437e-05/0.003296, allocations: 15.98 kB / 328.4 MB, free: 4.699 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.84e-05/0.003344, allocations: 27.92 kB / 328.4 MB, free: 4.672 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.196e-05/0.003386, allocations: 11.92 kB / 328.4 MB, free: 4.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.003396, allocations: 4 kB / 328.4 MB, free: 4.656 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.626e-05/0.003452, allocations: 39.91 kB / 328.5 MB, free: 4.617 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.703e-05/0.00349, allocations: 15.94 kB / 328.5 MB, free: 4.602 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.883e-05/0.003508, allocations: 7.984 kB / 328.5 MB, free: 4.594 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.003617, allocations: 79.61 kB / 328.6 MB, free: 4.516 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.182e-06/0.003618, allocations: 0 / 328.6 MB, free: 4.516 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.003619, allocations: 0 / 328.6 MB, free: 4.516 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.715e-06/0.003622, allocations: 0 / 328.6 MB, free: 4.516 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.00027/0.003892, allocations: 286.6 kB / 328.8 MB, free: 4.211 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.776e-05/0.00392, allocations: 12.03 kB / 328.9 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.003943, allocations: 4.938 kB / 328.9 MB, free: 4.195 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.004054, allocations: 137.6 kB / 329 MB, free: 4.035 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-06/0.004061, allocations: 384 / 329 MB, free: 4.035 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.004078, allocations: 4.375 kB / 329 MB, free: 4.031 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.217e-05/0.00416, allocations: 54.89 kB / 329.1 MB, free: 3.969 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.004169, allocations: 4.188 kB / 329.1 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.571e-06/0.004174, allocations: 384 / 329.1 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.004178, allocations: 384 / 329.1 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.895e-05/0.004197, allocations: 15.92 kB / 329.1 MB, free: 3.949 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.004363, allocations: 155.1 kB / 329.2 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.004464, allocations: 46.55 kB / 329.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.125e-05/0.004475, allocations: 8.859 kB / 329.3 MB, free: 3.715 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.004487, allocations: 0 / 329.3 MB, free: 3.715 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.004502, allocations: 30.56 kB / 329.3 MB, free: 3.676 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.004503, allocations: 0 / 329.3 MB, free: 3.676 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002035/0.004706, allocations: 89.52 kB / 329.4 MB, free: 3.582 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.004731, allocations: 51.41 kB / 329.4 MB, free: 3.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.894e-05/0.00481, allocations: 161.8 kB / 329.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.00482, allocations: 25.7 kB / 329.6 MB, free: 3.316 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.801e-05/0.004848, allocations: 92.06 kB / 329.7 MB, free: 3.223 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.004864, allocations: 15.89 kB / 329.7 MB, free: 3.207 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.004888, allocations: 17.72 kB / 329.8 MB, free: 3.184 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.537e-05/0.004953, allocations: 322.8 kB / 330.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-06/0.00496, allocations: 0 / 330.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.506e-06/0.004969, allocations: 4 kB / 330.1 MB, free: 2.855 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.37e-05/0.004993, allocations: 20.84 kB / 330.1 MB, free: 2.832 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.004993, allocations: 192 / 330.1 MB, free: 2.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.499e-05/0.005038, allocations: 57.56 kB / 330.1 MB, free: 2.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.005047, allocations: 12 kB / 330.2 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.00505, allocations: 0 / 330.2 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-06/0.005058, allocations: 0 / 330.2 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.809e-05/0.005096, allocations: 11.98 kB / 330.2 MB, free: 2.746 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-06/0.005098, allocations: 0 / 330.2 MB, free: 2.746 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.469e-05/0.005112, allocations: 4 kB / 330.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-06/0.005116, allocations: 0 / 330.2 MB, free: 2.742 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 (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 4.638e-05/0.005162, allocations: 116.7 kB / 330.3 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.005178, allocations: 11.92 kB / 330.3 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.169e-05/0.00525, allocations: 66.02 kB / 330.4 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.005251, allocations: 4 kB / 330.4 MB, free: 2.531 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.005252, allocations: 0 / 330.4 MB, free: 2.531 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.005254, allocations: 0 / 330.4 MB, free: 2.531 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.005414, allocations: 202.8 kB / 330.6 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.005417, allocations: 11.92 kB / 330.6 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-05/0.00544, allocations: 11.94 kB / 330.6 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.005441, allocations: 0 / 330.6 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-06/0.005445, allocations: 4 kB / 330.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.005446, allocations: 0 / 330.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.005447, allocations: 0 / 330.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.485e-05/0.005521, allocations: 143.8 kB / 330.7 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-06/0.00553, allocations: 19.89 kB / 330.8 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-06/0.005539, allocations: 4 kB / 330.8 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.954e-05/0.005568, allocations: 8 kB / 330.8 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.005586, allocations: 3.984 kB / 330.8 MB, free: 2.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.005588, allocations: 0 / 330.8 MB, free: 2.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.837e-05/0.005617, allocations: 38.66 kB / 330.8 MB, free: 2.051 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.005617, allocations: 3.938 kB / 330.8 MB, free: 2.047 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000123/0.00574, allocations: 16 kB / 330.8 MB, free: 2.031 MB / 298.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.0009377/0.006677, allocations: 493.2 kB / 331.3 MB, free: 1.793 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.225e-05/0.00673, allocations: 24.84 kB / 331.3 MB, free: 1.766 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.006732, allocations: 0 / 331.3 MB, free: 1.766 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.598e-05/0.006778, allocations: 12.86 kB / 331.3 MB, free: 1.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.006912, allocations: 26.05 kB / 331.4 MB, free: 1.727 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002304/0.007143, allocations: 179.4 kB / 331.5 MB, free: 1.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.951e-05/0.007172, allocations: 67.34 kB / 331.6 MB, free: 1.434 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.653e-05/0.007199, allocations: 15.98 kB / 331.6 MB, free: 1.418 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.229e-05/0.007241, allocations: 59.36 kB / 331.7 MB, free: 1.359 MB / 298.7 MB Notification: Performance of SimCode: time 3.6e-07/0.007241, allocations: 0 / 331.7 MB, free: 1.359 MB / 298.7 MB Notification: Performance of Templates: time 0.002458/0.009699, allocations: 1.229 MB / 332.9 MB, free: 136 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.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.804685724899173]