Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001311/0.001311, 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.326/1.326, allocations: 226.5 MB / 245.4 MB, free: 6.523 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001158/0.001159, allocations: 106.3 kB / 297.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4049/0.4049, allocations: 44.82 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000309/0.0003092, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3922, allocations: 62.95 MB / 0.5184 GB, free: 37.6 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1211/0.5133, allocations: 90.23 MB / 0.6065 GB, free: 15.07 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.5136, allocations: 75.95 kB / 0.6066 GB, free: 15 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01967/0.5333, allocations: 8.852 MB / 0.6152 GB, free: 6.129 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5333, allocations: 0 / 0.6152 GB, free: 6.129 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.99e-05/0.5333, allocations: 4 kB / 0.6152 GB, free: 6.125 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.0008087/0.5342, allocations: 0.6613 MB / 0.6159 GB, free: 5.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.5342, allocations: 8.031 kB / 0.6159 GB, free: 5.402 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.94e-05/0.5343, allocations: 40.47 kB / 0.6159 GB, free: 5.363 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005593/0.5349, allocations: 371.9 kB / 0.6163 GB, free: 4.961 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.5349, allocations: 8.375 kB / 0.6163 GB, free: 4.953 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.5349, allocations: 384 / 0.6163 GB, free: 4.953 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.5351, allocations: 62.23 kB / 0.6164 GB, free: 4.887 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.5351, allocations: 192 / 0.6164 GB, free: 4.887 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.5351, allocations: 7.938 kB / 0.6164 GB, free: 4.879 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.5352, allocations: 3.984 kB / 0.6164 GB, free: 4.875 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.5353, allocations: 47.97 kB / 0.6164 GB, free: 4.828 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006731/0.536, allocations: 464.6 kB / 0.6169 GB, free: 4.324 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.5361, allocations: 54.56 kB / 0.6169 GB, free: 4.262 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.313e-05/0.5362, allocations: 28.94 kB / 0.6169 GB, free: 4.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.5362, allocations: 0 / 0.6169 GB, free: 4.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.5363, allocations: 30.56 kB / 0.617 GB, free: 4.191 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.5363, allocations: 0 / 0.617 GB, free: 4.191 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008568/0.5371, allocations: 347.7 kB / 0.6173 GB, free: 3.844 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.5372, allocations: 51.41 kB / 0.6174 GB, free: 3.781 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.5385, allocations: 0.8542 MB / 0.6182 GB, free: 2.918 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.5385, allocations: 37.7 kB / 0.6182 GB, free: 2.875 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.5387, allocations: 216 kB / 0.6184 GB, free: 2.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.5387, allocations: 23.64 kB / 0.6185 GB, free: 2.637 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.5388, allocations: 4 kB / 0.6185 GB, free: 2.633 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000218/0.539, allocations: 362.7 kB / 0.6188 GB, free: 2.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.5391, allocations: 51.89 kB / 0.6188 GB, free: 2.219 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.5392, allocations: 43.97 kB / 0.6189 GB, free: 2.176 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.5395, allocations: 108.9 kB / 0.619 GB, free: 2.066 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.5395, allocations: 0 / 0.619 GB, free: 2.066 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003333/0.5398, allocations: 173.1 kB / 0.6192 GB, free: 1.891 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.5399, allocations: 10.19 kB / 0.6192 GB, free: 1.883 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5399, allocations: 3.938 kB / 0.6192 GB, free: 1.879 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.5399, allocations: 0 / 0.6192 GB, free: 1.879 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.54, allocations: 27.92 kB / 0.6192 GB, free: 1.852 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.54, allocations: 0 / 0.6192 GB, free: 1.852 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.98e-05/0.5401, allocations: 15.98 kB / 0.6192 GB, free: 1.836 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.5402, allocations: 11.94 kB / 0.6192 GB, free: 1.824 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.0001767/0.5403, allocations: 217.7 kB / 0.6194 GB, free: 1.602 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.93e-05/0.5404, allocations: 43.44 kB / 0.6195 GB, free: 1.559 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003649/0.5408, allocations: 197.8 kB / 0.6197 GB, free: 1.359 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/0.5408, allocations: 4 kB / 0.6197 GB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5408, allocations: 0 / 0.6197 GB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.5408, allocations: 0 / 0.6197 GB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008442/0.5417, allocations: 0.6583 MB / 0.6203 GB, free: 0.6406 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5417, allocations: 0 / 0.6203 GB, free: 0.6406 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.372e-05/0.5418, allocations: 27.98 kB / 0.6203 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.5418, allocations: 0 / 0.6203 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.5418, allocations: 4 kB / 0.6203 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.5418, allocations: 4 kB / 0.6203 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5418, allocations: 3.938 kB / 0.6203 GB, free: 0.6016 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/0.5422, allocations: 276 kB / 0.6206 GB, free: 324 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.5424, allocations: 164.5 kB / 0.6208 GB, free: 140 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.939e-05/0.5424, allocations: 4 kB / 0.6208 GB, free: 136 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.5426, allocations: 15.98 kB / 0.6208 GB, free: 120 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.5426, allocations: 11.92 kB / 0.6208 GB, free: 108 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.5426, allocations: 4 kB / 0.6208 GB, free: 104 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007637/0.5434, allocations: 0.6433 MB / 0.6214 GB, free: 15.46 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5434, allocations: 0 / 0.6214 GB, free: 15.46 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003117/0.5437, allocations: 63.92 kB / 0.6215 GB, free: 15.39 MB / 442.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.000867/0.5446, allocations: 407.2 kB / 0.6219 GB, free: 15.13 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002961/0.5449, allocations: 103.9 kB / 0.622 GB, free: 15.03 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5449, allocations: 4 kB / 0.622 GB, free: 15.03 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.545, allocations: 55.95 kB / 0.622 GB, free: 14.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.5454, allocations: 31.31 kB / 0.6221 GB, free: 14.94 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.5467, allocations: 0.9469 MB / 0.623 GB, free: 13.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.5471, allocations: 0.834 MB / 0.6238 GB, free: 13.11 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.5472, allocations: 53.2 kB / 0.6239 GB, free: 13.05 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.5473, allocations: 19.44 kB / 0.6239 GB, free: 13.03 MB / 442.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5473, allocations: 0 / 0.6239 GB, free: 13.03 MB / 442.7 MB Notification: Performance of Templates: time 0.006055/0.5534, allocations: 2.558 MB / 0.6264 GB, free: 10.46 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches