Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.00137, allocations: 196.7 kB / 18.1 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.405/1.405, allocations: 226.5 MB / 245.4 MB, free: 6.383 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007878/0.0007878, allocations: 99.66 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3504/0.3504, allocations: 44.82 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002594/0.0002595, allocations: 8 kB / 467.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3877, allocations: 62.96 MB / 0.5184 GB, free: 37.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1334/0.5211, allocations: 90.12 MB / 0.6064 GB, free: 15.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.5214, allocations: 71.95 kB / 0.6065 GB, free: 15.14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02019/0.5416, allocations: 8.884 MB / 0.6152 GB, free: 6.227 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.5416, allocations: 0 / 0.6152 GB, free: 6.227 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.714e-05/0.5417, allocations: 8 kB / 0.6152 GB, free: 6.219 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009455/0.5426, allocations: 0.6341 MB / 0.6158 GB, free: 5.531 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.5427, allocations: 8.031 kB / 0.6158 GB, free: 5.523 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.5428, allocations: 44.38 kB / 0.6159 GB, free: 5.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005628/0.5434, allocations: 360.1 kB / 0.6162 GB, free: 5.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.5434, allocations: 8.375 kB / 0.6162 GB, free: 5.082 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.5434, allocations: 384 / 0.6162 GB, free: 5.082 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.5436, allocations: 50.25 kB / 0.6163 GB, free: 5.027 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.5436, allocations: 4.125 kB / 0.6163 GB, free: 5.023 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.5436, allocations: 15.92 kB / 0.6163 GB, free: 5.008 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.5437, allocations: 0 / 0.6163 GB, free: 5.008 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.406e-05/0.5438, allocations: 31.91 kB / 0.6163 GB, free: 4.977 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007352/0.5445, allocations: 444.7 kB / 0.6167 GB, free: 4.492 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.493e-05/0.5446, allocations: 30.58 kB / 0.6168 GB, free: 4.453 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.387e-05/0.5447, allocations: 24.84 kB / 0.6168 GB, free: 4.426 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.5447, allocations: 4 kB / 0.6168 GB, free: 4.422 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.5447, allocations: 34.5 kB / 0.6168 GB, free: 4.379 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/0.5448, allocations: 0 / 0.6168 GB, free: 4.379 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003121/0.5451, allocations: 105.1 kB / 0.6169 GB, free: 4.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.5451, allocations: 55.41 kB / 0.617 GB, free: 4.203 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.5464, allocations: 0.8621 MB / 0.6178 GB, free: 3.332 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.5464, allocations: 25.7 kB / 0.6178 GB, free: 3.301 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.5466, allocations: 232 kB / 0.6181 GB, free: 3.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.5466, allocations: 3.906 kB / 0.6181 GB, free: 3.066 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.5466, allocations: 0 / 0.6181 GB, free: 3.066 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.5468, allocations: 362.8 kB / 0.6184 GB, free: 2.703 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.095e-05/0.5469, allocations: 8 kB / 0.6184 GB, free: 2.695 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.269e-05/0.5469, allocations: 19.98 kB / 0.6184 GB, free: 2.676 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.824e-05/0.547, allocations: 36.72 kB / 0.6185 GB, free: 2.637 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.547, allocations: 0 / 0.6185 GB, free: 2.637 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001944/0.5472, allocations: 101.1 kB / 0.6186 GB, free: 2.531 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.5473, allocations: 8 kB / 0.6186 GB, free: 2.523 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.5473, allocations: 4.094 kB / 0.6186 GB, free: 2.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.5473, allocations: 0 / 0.6186 GB, free: 2.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.753e-05/0.5474, allocations: 4 kB / 0.6186 GB, free: 2.516 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.5474, allocations: 0 / 0.6186 GB, free: 2.516 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.924e-05/0.5475, allocations: 4 kB / 0.6186 GB, free: 2.512 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.5475, allocations: 0 / 0.6186 GB, free: 2.512 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 (2): * Single equations (assignments): 2 * 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.0001982/0.5477, allocations: 213.7 kB / 0.6188 GB, free: 2.293 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.766e-05/0.5478, allocations: 39.53 kB / 0.6188 GB, free: 2.254 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002393/0.548, allocations: 128.2 kB / 0.6189 GB, free: 2.121 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.548, allocations: 0 / 0.6189 GB, free: 2.121 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.5481, allocations: 4 kB / 0.6189 GB, free: 2.117 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.5481, allocations: 0 / 0.6189 GB, free: 2.117 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003732/0.5484, allocations: 333.3 kB / 0.6193 GB, free: 1.742 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5485, allocations: 0 / 0.6193 GB, free: 1.742 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.054e-05/0.5485, allocations: 7.984 kB / 0.6193 GB, free: 1.734 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.5485, allocations: 4.031 kB / 0.6193 GB, free: 1.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.5485, allocations: 0 / 0.6193 GB, free: 1.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5485, allocations: 0 / 0.6193 GB, free: 1.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5485, allocations: 0 / 0.6193 GB, free: 1.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.5488, allocations: 191 kB / 0.6195 GB, free: 1.527 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.549, allocations: 164.5 kB / 0.6196 GB, free: 1.348 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/0.549, allocations: 8.031 kB / 0.6196 GB, free: 1.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.275e-05/0.5491, allocations: 3.984 kB / 0.6196 GB, free: 1.336 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.5492, allocations: 4 kB / 0.6196 GB, free: 1.332 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.5492, allocations: 3.938 kB / 0.6196 GB, free: 1.328 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007143/0.5499, allocations: 0.6511 MB / 0.6203 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5499, allocations: 0 / 0.6203 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000313/0.5502, allocations: 51.94 kB / 0.6203 GB, free: 0.6289 MB / 426.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 (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.0008984/0.5511, allocations: 351.5 kB / 0.6207 GB, free: 404 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.5513, allocations: 23.98 kB / 0.6207 GB, free: 380 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.5513, allocations: 8.062 kB / 0.6207 GB, free: 372 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.629e-05/0.5514, allocations: 15.94 kB / 0.6207 GB, free: 356 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.5518, allocations: 34.17 kB / 0.6207 GB, free: 324 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.5533, allocations: 0.8923 MB / 0.6216 GB, free: 15.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005117/0.5539, allocations: 0.8262 MB / 0.6224 GB, free: 14.54 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.554, allocations: 44.23 kB / 0.6225 GB, free: 14.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.894e-05/0.5541, allocations: 19.44 kB / 0.6225 GB, free: 14.48 MB / 442.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5541, allocations: 0 / 0.6225 GB, free: 14.48 MB / 442.7 MB Notification: Performance of Templates: time 0.007352/0.5614, allocations: 2.287 MB / 0.6247 GB, free: 12.18 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches