Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001441/0.001441, allocations: 208.3 kB / 18.11 MB, free: 3.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 226.5 MB / 245.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009508/0.0009506, allocations: 97.38 kB / 297.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3765/0.3765, allocations: 44.82 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003204, allocations: 11.98 kB / 467.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.389, allocations: 62.95 MB / 0.5184 GB, free: 37.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1553/0.5443, allocations: 90.52 MB / 0.6068 GB, free: 14.74 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.5447, allocations: 75.95 kB / 0.6069 GB, free: 14.67 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01866/0.5633, allocations: 5.748 MB / 0.6125 GB, free: 8.906 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.6e-06/0.5634, allocations: 0 / 0.6125 GB, free: 8.906 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.5634, allocations: 3.938 kB / 0.6125 GB, free: 8.902 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.0006022/0.564, allocations: 419.5 kB / 0.6129 GB, free: 8.441 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.5641, allocations: 12.03 kB / 0.6129 GB, free: 8.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.5641, allocations: 8.844 kB / 0.6129 GB, free: 8.422 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.5645, allocations: 208.1 kB / 0.6131 GB, free: 8.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.5645, allocations: 384 / 0.6131 GB, free: 8.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.5645, allocations: 8.375 kB / 0.6131 GB, free: 8.172 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.5648, allocations: 79.89 kB / 0.6132 GB, free: 8.082 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.5648, allocations: 4.188 kB / 0.6132 GB, free: 8.078 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.5648, allocations: 3.938 kB / 0.6132 GB, free: 8.074 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.5648, allocations: 0 / 0.6132 GB, free: 8.074 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.565, allocations: 51.95 kB / 0.6133 GB, free: 8.023 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005507/0.5656, allocations: 320.6 kB / 0.6136 GB, free: 7.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.5657, allocations: 50.5 kB / 0.6136 GB, free: 7.602 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.883e-05/0.5658, allocations: 36.94 kB / 0.6137 GB, free: 7.562 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.5659, allocations: 0 / 0.6137 GB, free: 7.562 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.5659, allocations: 34.55 kB / 0.6137 GB, free: 7.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.5659, allocations: 0 / 0.6137 GB, free: 7.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009923/0.5669, allocations: 265.2 kB / 0.6139 GB, free: 7.254 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.567, allocations: 81.09 kB / 0.614 GB, free: 7.156 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.5672, allocations: 148.4 kB / 0.6142 GB, free: 7.004 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.5672, allocations: 29.7 kB / 0.6142 GB, free: 6.969 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/0.5673, allocations: 96.12 kB / 0.6143 GB, free: 6.871 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.5674, allocations: 23.66 kB / 0.6143 GB, free: 6.848 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.5674, allocations: 0 / 0.6143 GB, free: 6.848 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.5675, allocations: 328 kB / 0.6146 GB, free: 6.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.5677, allocations: 47.97 kB / 0.6147 GB, free: 6.473 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.5679, allocations: 65.61 kB / 0.6147 GB, free: 6.402 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.5682, allocations: 100.8 kB / 0.6148 GB, free: 6.301 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.5682, allocations: 4.031 kB / 0.6148 GB, free: 6.297 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004053/0.5686, allocations: 145.7 kB / 0.615 GB, free: 6.148 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.5686, allocations: 6.5 kB / 0.615 GB, free: 6.145 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.5686, allocations: 7.938 kB / 0.615 GB, free: 6.137 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.5687, allocations: 0 / 0.615 GB, free: 6.137 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.5688, allocations: 23.98 kB / 0.615 GB, free: 6.113 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.5688, allocations: 8 kB / 0.615 GB, free: 6.105 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.649e-05/0.5689, allocations: 16.27 kB / 0.615 GB, free: 6.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.569, allocations: 4 kB / 0.615 GB, free: 6.086 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.0001079/0.5691, allocations: 129.8 kB / 0.6152 GB, free: 5.949 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.5691, allocations: 7.906 kB / 0.6152 GB, free: 5.941 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004471/0.5696, allocations: 154.3 kB / 0.6153 GB, free: 5.785 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.5696, allocations: 4 kB / 0.6153 GB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.5696, allocations: 0 / 0.6153 GB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5696, allocations: 0 / 0.6153 GB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007274/0.5704, allocations: 438.3 kB / 0.6157 GB, free: 5.297 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.5704, allocations: 0 / 0.6157 GB, free: 5.297 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.5705, allocations: 23.98 kB / 0.6158 GB, free: 5.273 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.5705, allocations: 4 kB / 0.6158 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.5705, allocations: 0 / 0.6158 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.5705, allocations: 4 kB / 0.6158 GB, free: 5.266 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5705, allocations: 3.938 kB / 0.6158 GB, free: 5.262 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004313/0.571, allocations: 239.3 kB / 0.616 GB, free: 5.012 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.251e-05/0.5711, allocations: 93 kB / 0.6161 GB, free: 4.902 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.5711, allocations: 0 / 0.6161 GB, free: 4.902 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.5712, allocations: 11.98 kB / 0.6161 GB, free: 4.891 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.5713, allocations: 15.86 kB / 0.6161 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.5713, allocations: 4 kB / 0.6161 GB, free: 4.871 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001349/0.5715, allocations: 124.6 kB / 0.6162 GB, free: 4.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5715, allocations: 0 / 0.6162 GB, free: 4.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004709/0.572, allocations: 51.92 kB / 0.6163 GB, free: 4.699 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 (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.001358/0.5733, allocations: 0.4914 MB / 0.6168 GB, free: 4.375 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003883/0.5737, allocations: 107.9 kB / 0.6169 GB, free: 4.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5737, allocations: 0 / 0.6169 GB, free: 4.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.5739, allocations: 55.95 kB / 0.6169 GB, free: 4.215 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.5743, allocations: 23.98 kB / 0.6169 GB, free: 4.191 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005576/0.5749, allocations: 213 kB / 0.6171 GB, free: 3.949 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.5752, allocations: 0.7141 MB / 0.6178 GB, free: 3.211 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001248/0.5754, allocations: 20.97 kB / 0.6179 GB, free: 3.188 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.028e-05/0.5754, allocations: 15.42 kB / 0.6179 GB, free: 3.172 MB / 426.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5754, allocations: 0 / 0.6179 GB, free: 3.172 MB / 426.7 MB Notification: Performance of Templates: time 0.005836/0.5813, allocations: 1.875 MB / 0.6197 GB, free: 1.305 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches