Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001047/0.001046, allocations: 194.7 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 226.5 MB / 244.1 MB, free: 6.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007892/0.000789, allocations: 104.5 kB / 296.1 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3666/0.3666, allocations: 44.82 MB / 392.9 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002976/0.0002976, allocations: 15.98 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3653, allocations: 62.94 MB / 0.5165 GB, free: 37.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1232/0.4886, allocations: 90.07 MB / 0.6044 GB, free: 15.32 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.4888, allocations: 79.95 kB / 0.6045 GB, free: 15.24 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01967/0.5085, allocations: 8.935 MB / 0.6132 GB, free: 6.281 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5086, allocations: 0 / 0.6132 GB, free: 6.281 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.415e-05/0.5086, allocations: 4 kB / 0.6132 GB, free: 6.277 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.0008131/0.5094, allocations: 0.6419 MB / 0.6139 GB, free: 5.582 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.5095, allocations: 12.03 kB / 0.6139 GB, free: 5.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.969e-05/0.5096, allocations: 44.36 kB / 0.6139 GB, free: 5.527 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004543/0.51, allocations: 360.1 kB / 0.6143 GB, free: 5.137 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.323e-06/0.51, allocations: 4.375 kB / 0.6143 GB, free: 5.133 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.51, allocations: 4.312 kB / 0.6143 GB, free: 5.129 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.5102, allocations: 66.17 kB / 0.6143 GB, free: 5.059 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.258e-06/0.5102, allocations: 192 / 0.6143 GB, free: 5.059 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.5102, allocations: 3.938 kB / 0.6143 GB, free: 5.055 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-06/0.5102, allocations: 0 / 0.6143 GB, free: 5.055 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.5103, allocations: 43.97 kB / 0.6144 GB, free: 5.012 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006327/0.511, allocations: 448.8 kB / 0.6148 GB, free: 4.523 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.5111, allocations: 58.38 kB / 0.6149 GB, free: 4.457 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.388e-05/0.5112, allocations: 28.94 kB / 0.6149 GB, free: 4.426 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.5112, allocations: 0 / 0.6149 GB, free: 4.426 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.5113, allocations: 30.56 kB / 0.6149 GB, free: 4.387 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.5113, allocations: 0 / 0.6149 GB, free: 4.387 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003662/0.5116, allocations: 145.1 kB / 0.6151 GB, free: 4.238 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.5117, allocations: 51.41 kB / 0.6151 GB, free: 4.176 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/0.5131, allocations: 0.862 MB / 0.6159 GB, free: 3.305 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.5131, allocations: 29.64 kB / 0.616 GB, free: 3.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.5133, allocations: 216.1 kB / 0.6162 GB, free: 3.055 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.5133, allocations: 3.906 kB / 0.6162 GB, free: 3.051 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-06/0.5133, allocations: 0 / 0.6162 GB, free: 3.051 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.5136, allocations: 362.8 kB / 0.6165 GB, free: 2.688 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-05/0.5137, allocations: 23.98 kB / 0.6165 GB, free: 2.664 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.937e-05/0.5137, allocations: 19.98 kB / 0.6166 GB, free: 2.645 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.5139, allocations: 57.09 kB / 0.6166 GB, free: 2.586 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.5139, allocations: 3.938 kB / 0.6166 GB, free: 2.582 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002236/0.5141, allocations: 125.1 kB / 0.6167 GB, free: 2.453 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.5141, allocations: 4 kB / 0.6167 GB, free: 2.449 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/0.5141, allocations: 0 / 0.6167 GB, free: 2.449 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.785e-06/0.5141, allocations: 0 / 0.6167 GB, free: 2.449 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.847e-05/0.5142, allocations: 11.94 kB / 0.6168 GB, free: 2.438 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.5142, allocations: 3.984 kB / 0.6168 GB, free: 2.434 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.604e-05/0.5143, allocations: 8 kB / 0.6168 GB, free: 2.426 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.5143, allocations: 4 kB / 0.6168 GB, free: 2.422 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 (3): * Single equations (assignments): 3 * 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.0001973/0.5145, allocations: 217.7 kB / 0.617 GB, free: 2.199 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.412e-05/0.5146, allocations: 43.44 kB / 0.617 GB, free: 2.156 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.5148, allocations: 129.1 kB / 0.6171 GB, free: 2.016 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.5149, allocations: 3.984 kB / 0.6172 GB, free: 2.012 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.5149, allocations: 7.938 kB / 0.6172 GB, free: 2.004 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.5149, allocations: 4 kB / 0.6172 GB, free: 2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003357/0.5152, allocations: 329.4 kB / 0.6175 GB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5152, allocations: 0 / 0.6175 GB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-05/0.5153, allocations: 15.92 kB / 0.6175 GB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.5153, allocations: 0 / 0.6175 GB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-06/0.5153, allocations: 0 / 0.6175 GB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.5153, allocations: 8 kB / 0.6175 GB, free: 1.605 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5153, allocations: 0 / 0.6175 GB, free: 1.605 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.5156, allocations: 218.9 kB / 0.6177 GB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.5158, allocations: 168.5 kB / 0.6179 GB, free: 1.191 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.5158, allocations: 0 / 0.6179 GB, free: 1.191 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.142e-05/0.5159, allocations: 7.984 kB / 0.6179 GB, free: 1.184 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.516, allocations: 11.94 kB / 0.6179 GB, free: 1.172 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.516, allocations: 0 / 0.6179 GB, free: 1.172 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007417/0.5167, allocations: 0.6472 MB / 0.6185 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5167, allocations: 0 / 0.6185 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002725/0.517, allocations: 52 kB / 0.6186 GB, free: 488 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 (3): * Single equations (assignments): 3 * 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.0007183/0.5177, allocations: 353.8 kB / 0.6189 GB, free: 260 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.5179, allocations: 51.95 kB / 0.619 GB, free: 208 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5179, allocations: 3.938 kB / 0.619 GB, free: 204 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.887e-05/0.518, allocations: 27.98 kB / 0.619 GB, free: 176 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.5184, allocations: 27.25 kB / 0.619 GB, free: 152 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.5195, allocations: 0.9454 MB / 0.6199 GB, free: 15.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.5199, allocations: 0.8224 MB / 0.6207 GB, free: 14.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.793e-05/0.52, allocations: 27.67 kB / 0.6208 GB, free: 14.29 MB / 442.7 MB Notification: Performance of SimCode: time 3e-07/0.52, allocations: 3.938 kB / 0.6208 GB, free: 14.29 MB / 442.7 MB Notification: Performance of Templates: time 0.006856/0.5268, allocations: 4.165 MB / 0.6248 GB, free: 10.11 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches