Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002102/0.002102, allocations: 200.5 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.596/1.596, allocations: 226.5 MB / 245.4 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008669/0.0008671, allocations: 97.98 kB / 297.5 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3667/0.3667, allocations: 44.82 MB / 394.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002839/0.0002841, allocations: 12 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.3996, allocations: 62.96 MB / 0.5184 GB, free: 37.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1248/0.5244, allocations: 89.48 MB / 0.6058 GB, free: 15.79 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.5247, allocations: 83.94 kB / 0.6059 GB, free: 15.71 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01557/0.5403, allocations: 5.351 MB / 0.6111 GB, free: 10.35 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.416e-06/0.5404, allocations: 3.938 kB / 0.6111 GB, free: 10.35 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.651e-05/0.5404, allocations: 4 kB / 0.6111 GB, free: 10.34 MB / 426.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.0006993/0.5411, allocations: 463 kB / 0.6116 GB, free: 9.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.5412, allocations: 8.031 kB / 0.6116 GB, free: 9.832 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.228e-05/0.5413, allocations: 16.75 kB / 0.6116 GB, free: 9.816 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.5416, allocations: 228.5 kB / 0.6118 GB, free: 9.555 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.5416, allocations: 4.375 kB / 0.6118 GB, free: 9.551 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.5417, allocations: 384 / 0.6118 GB, free: 9.551 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.5418, allocations: 62.17 kB / 0.6119 GB, free: 9.484 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.5419, allocations: 192 / 0.6119 GB, free: 9.484 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.5419, allocations: 3.938 kB / 0.6119 GB, free: 9.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.5419, allocations: 4 kB / 0.6119 GB, free: 9.477 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.542, allocations: 31.98 kB / 0.6119 GB, free: 9.445 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005498/0.5426, allocations: 320.8 kB / 0.6122 GB, free: 9.082 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.5427, allocations: 54.5 kB / 0.6123 GB, free: 9.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.655e-05/0.5428, allocations: 20.94 kB / 0.6123 GB, free: 8.996 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.5428, allocations: 0 / 0.6123 GB, free: 8.996 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.162e-05/0.5429, allocations: 38.56 kB / 0.6123 GB, free: 8.949 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.734e-06/0.5429, allocations: 0 / 0.6123 GB, free: 8.949 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.00103/0.5439, allocations: 274.5 kB / 0.6126 GB, free: 8.676 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.544, allocations: 51.41 kB / 0.6126 GB, free: 8.613 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.5443, allocations: 271.8 kB / 0.6129 GB, free: 8.336 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.5443, allocations: 29.7 kB / 0.6129 GB, free: 8.301 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.719e-05/0.5444, allocations: 116 kB / 0.613 GB, free: 8.184 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.5444, allocations: 19.66 kB / 0.613 GB, free: 8.164 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.5445, allocations: 4 kB / 0.613 GB, free: 8.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.5446, allocations: 338.8 kB / 0.6134 GB, free: 7.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.139e-05/0.5447, allocations: 31.98 kB / 0.6134 GB, free: 7.789 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.656e-05/0.5448, allocations: 35.91 kB / 0.6134 GB, free: 7.754 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.545, allocations: 88.83 kB / 0.6135 GB, free: 7.664 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.545, allocations: 0 / 0.6135 GB, free: 7.664 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002454/0.5453, allocations: 121.5 kB / 0.6136 GB, free: 7.539 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.5453, allocations: 4 kB / 0.6136 GB, free: 7.535 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.5453, allocations: 4 kB / 0.6136 GB, free: 7.531 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.5453, allocations: 3.984 kB / 0.6136 GB, free: 7.527 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.5454, allocations: 23.92 kB / 0.6137 GB, free: 7.504 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.5455, allocations: 0 / 0.6137 GB, free: 7.504 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.885e-05/0.5455, allocations: 11.98 kB / 0.6137 GB, free: 7.492 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.5455, allocations: 0 / 0.6137 GB, free: 7.492 MB / 426.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.5457, allocations: 137.8 kB / 0.6138 GB, free: 7.348 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/0.5457, allocations: 19.81 kB / 0.6138 GB, free: 7.328 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003182/0.546, allocations: 143.3 kB / 0.614 GB, free: 7.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.5461, allocations: 3.938 kB / 0.614 GB, free: 7.176 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5461, allocations: 4 kB / 0.614 GB, free: 7.172 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.5461, allocations: 0 / 0.614 GB, free: 7.172 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006685/0.5468, allocations: 463.2 kB / 0.6144 GB, free: 6.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.5468, allocations: 0 / 0.6144 GB, free: 6.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.676e-05/0.5469, allocations: 23.92 kB / 0.6144 GB, free: 6.637 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.5469, allocations: 4 kB / 0.6144 GB, free: 6.633 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.5469, allocations: 7.969 kB / 0.6145 GB, free: 6.625 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.155e-06/0.5469, allocations: 0 / 0.6145 GB, free: 6.625 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.5469, allocations: 0 / 0.6145 GB, free: 6.625 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.5472, allocations: 228.2 kB / 0.6147 GB, free: 6.383 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.619e-05/0.5473, allocations: 100.9 kB / 0.6148 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.5474, allocations: 7.938 kB / 0.6148 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.855e-05/0.5475, allocations: 11.98 kB / 0.6148 GB, free: 6.246 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.5475, allocations: 7.938 kB / 0.6148 GB, free: 6.238 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.5475, allocations: 4 kB / 0.6148 GB, free: 6.234 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000196/0.5477, allocations: 205.5 kB / 0.615 GB, free: 6.035 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5477, allocations: 0 / 0.615 GB, free: 6.035 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002776/0.548, allocations: 39.94 kB / 0.615 GB, free: 5.996 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00104/0.5491, allocations: 460.3 kB / 0.6155 GB, free: 5.703 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002482/0.5493, allocations: 83.88 kB / 0.6156 GB, free: 5.621 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5493, allocations: 0 / 0.6156 GB, free: 5.621 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.711e-05/0.5494, allocations: 43.97 kB / 0.6156 GB, free: 5.578 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.5498, allocations: 16 kB / 0.6156 GB, free: 5.562 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006543/0.5504, allocations: 363.6 kB / 0.616 GB, free: 5.176 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.5508, allocations: 0.7238 MB / 0.6167 GB, free: 4.426 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.5509, allocations: 28.64 kB / 0.6167 GB, free: 4.395 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.476e-05/0.551, allocations: 15.44 kB / 0.6167 GB, free: 4.379 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/0.551, allocations: 0 / 0.6167 GB, free: 4.379 MB / 426.7 MB Notification: Performance of Templates: time 0.004245/0.5552, allocations: 1.539 MB / 0.6182 GB, free: 2.848 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches