Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.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.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00206/0.00206, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.559/1.559, allocations: 226.5 MB / 245.4 MB, free: 8.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008506/0.0008506, allocations: 103.1 kB / 297.5 MB, free: 6.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3693/0.3693, allocations: 44.82 MB / 394.3 MB, free: 35.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002857/0.0002859, allocations: 8.219 kB / 467.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3334, allocations: 62.96 MB / 0.5184 GB, free: 37.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1146/0.4481, allocations: 89.77 MB / 0.6061 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.4483, allocations: 75.94 kB / 0.6062 GB, free: 15.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02017/0.4685, allocations: 8.762 MB / 0.6147 GB, free: 6.699 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.509e-06/0.4686, allocations: 0 / 0.6147 GB, free: 6.699 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.078e-05/0.4686, allocations: 15.88 kB / 0.6147 GB, free: 6.684 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.0007776/0.4694, allocations: 0.6458 MB / 0.6154 GB, free: 5.984 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.4694, allocations: 16.03 kB / 0.6154 GB, free: 5.969 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.26e-05/0.4695, allocations: 40.38 kB / 0.6154 GB, free: 5.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004696/0.47, allocations: 364 kB / 0.6158 GB, free: 5.535 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.47, allocations: 384 / 0.6158 GB, free: 5.535 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.47, allocations: 4.375 kB / 0.6158 GB, free: 5.531 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.4702, allocations: 66.16 kB / 0.6158 GB, free: 5.461 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.4702, allocations: 192 / 0.6158 GB, free: 5.461 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.4702, allocations: 3.938 kB / 0.6158 GB, free: 5.457 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.4702, allocations: 8 kB / 0.6158 GB, free: 5.449 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.4704, allocations: 43.97 kB / 0.6159 GB, free: 5.406 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005422/0.4709, allocations: 428.7 kB / 0.6163 GB, free: 4.938 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.4711, allocations: 62.42 kB / 0.6163 GB, free: 4.867 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.882e-05/0.4712, allocations: 28.94 kB / 0.6164 GB, free: 4.836 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.4712, allocations: 0 / 0.6164 GB, free: 4.836 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.4713, allocations: 30.56 kB / 0.6164 GB, free: 4.797 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.4713, allocations: 4 kB / 0.6164 GB, free: 4.793 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.000797/0.4721, allocations: 319.8 kB / 0.6167 GB, free: 4.473 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.4721, allocations: 59.39 kB / 0.6168 GB, free: 4.402 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.4734, allocations: 0.8503 MB / 0.6176 GB, free: 3.543 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.4734, allocations: 29.7 kB / 0.6176 GB, free: 3.508 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.4736, allocations: 212.1 kB / 0.6178 GB, free: 3.297 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.4736, allocations: 27.7 kB / 0.6179 GB, free: 3.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.4736, allocations: 0 / 0.6179 GB, free: 3.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.4738, allocations: 366.7 kB / 0.6182 GB, free: 2.902 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.4739, allocations: 39.97 kB / 0.6182 GB, free: 2.863 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.474, allocations: 43.97 kB / 0.6183 GB, free: 2.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.4743, allocations: 84.81 kB / 0.6184 GB, free: 2.734 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.4743, allocations: 0 / 0.6184 GB, free: 2.734 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002998/0.4746, allocations: 169 kB / 0.6185 GB, free: 2.562 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.4746, allocations: 4 kB / 0.6185 GB, free: 2.559 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4746, allocations: 0 / 0.6185 GB, free: 2.559 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.4746, allocations: 0 / 0.6185 GB, free: 2.559 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.4748, allocations: 31.97 kB / 0.6186 GB, free: 2.527 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.4748, allocations: 0 / 0.6186 GB, free: 2.527 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.399e-05/0.4749, allocations: 12 kB / 0.6186 GB, free: 2.516 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.4749, allocations: 0 / 0.6186 GB, free: 2.516 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 (7): * Single equations (assignments): 7 * 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.0002149/0.4751, allocations: 217.7 kB / 0.6188 GB, free: 2.293 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.893e-05/0.4752, allocations: 43.44 kB / 0.6188 GB, free: 2.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003877/0.4756, allocations: 193.8 kB / 0.619 GB, free: 2.055 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.4756, allocations: 4 kB / 0.619 GB, free: 2.051 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.4756, allocations: 7.938 kB / 0.619 GB, free: 2.043 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4756, allocations: 4 kB / 0.619 GB, free: 2.039 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000832/0.4765, allocations: 0.6349 MB / 0.6196 GB, free: 1.348 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4765, allocations: 4 kB / 0.6196 GB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.279e-05/0.4766, allocations: 23.98 kB / 0.6197 GB, free: 1.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4766, allocations: 0 / 0.6197 GB, free: 1.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.4766, allocations: 7.938 kB / 0.6197 GB, free: 1.312 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.4766, allocations: 0 / 0.6197 GB, free: 1.312 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4766, allocations: 3.938 kB / 0.6197 GB, free: 1.309 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.477, allocations: 260.1 kB / 0.6199 GB, free: 1.039 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.4771, allocations: 164.5 kB / 0.6201 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.4772, allocations: 0 / 0.6201 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.4773, allocations: 15.98 kB / 0.6201 GB, free: 0.8438 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.4774, allocations: 20.14 kB / 0.6201 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.4774, allocations: 4 kB / 0.6201 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006817/0.4781, allocations: 0.6394 MB / 0.6208 GB, free: 188 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4781, allocations: 0 / 0.6208 GB, free: 188 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003081/0.4784, allocations: 67.92 kB / 0.6208 GB, free: 120 kB / 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 (7): * Single equations (assignments): 7 * 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.0009135/0.4793, allocations: 398.1 kB / 0.6212 GB, free: 15.85 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003046/0.4796, allocations: 99.88 kB / 0.6213 GB, free: 15.76 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4796, allocations: 0 / 0.6213 GB, free: 15.76 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.4798, allocations: 47.91 kB / 0.6213 GB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.4802, allocations: 27.31 kB / 0.6214 GB, free: 15.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.4814, allocations: 0.9351 MB / 0.6223 GB, free: 14.72 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.4818, allocations: 0.8262 MB / 0.6231 GB, free: 13.87 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001008/0.4819, allocations: 41.22 kB / 0.6231 GB, free: 13.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.629e-05/0.482, allocations: 23.42 kB / 0.6231 GB, free: 13.8 MB / 442.7 MB Notification: Performance of SimCode: time 5.31e-07/0.482, allocations: 4 kB / 0.6231 GB, free: 13.8 MB / 442.7 MB Notification: Performance of Templates: time 0.005947/0.488, allocations: 2.525 MB / 0.6256 GB, free: 11.26 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches