Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009701/0.0009699, allocations: 193.5 kB / 16.78 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 226.5 MB / 244.1 MB, free: 8.242 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008321/0.0008321, allocations: 107.7 kB / 296.1 MB, free: 6.922 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3567/0.3567, allocations: 44.82 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004825/0.0004826, allocations: 15.98 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.3992, allocations: 62.94 MB / 0.5165 GB, free: 37.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1235/0.5228, allocations: 90.52 MB / 0.6049 GB, free: 14.89 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.523, allocations: 71.95 kB / 0.6049 GB, free: 14.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01407/0.5371, allocations: 5.755 MB / 0.6106 GB, free: 9.051 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.5371, allocations: 0 / 0.6106 GB, free: 9.051 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.5372, allocations: 7.938 kB / 0.6106 GB, free: 9.043 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.0005115/0.5377, allocations: 415.5 kB / 0.611 GB, free: 8.586 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.5377, allocations: 12.88 kB / 0.611 GB, free: 8.574 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.5378, allocations: 8.844 kB / 0.611 GB, free: 8.566 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.5381, allocations: 204.1 kB / 0.6112 GB, free: 8.328 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.5381, allocations: 4.375 kB / 0.6112 GB, free: 8.324 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.5381, allocations: 8.312 kB / 0.6112 GB, free: 8.316 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.5384, allocations: 79.94 kB / 0.6113 GB, free: 8.227 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.5384, allocations: 8.125 kB / 0.6113 GB, free: 8.219 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.5384, allocations: 3.938 kB / 0.6113 GB, free: 8.215 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.5384, allocations: 3.984 kB / 0.6113 GB, free: 8.211 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.5386, allocations: 47.97 kB / 0.6113 GB, free: 8.164 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004993/0.5391, allocations: 316.7 kB / 0.6116 GB, free: 7.805 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.5393, allocations: 50.55 kB / 0.6117 GB, free: 7.746 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.006e-05/0.5394, allocations: 28.94 kB / 0.6117 GB, free: 7.715 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.5394, allocations: 4 kB / 0.6117 GB, free: 7.711 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.5395, allocations: 42.55 kB / 0.6117 GB, free: 7.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.5395, allocations: 0 / 0.6117 GB, free: 7.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.000965/0.5404, allocations: 257.1 kB / 0.612 GB, free: 7.402 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.156e-05/0.5405, allocations: 85.09 kB / 0.6121 GB, free: 7.301 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.5408, allocations: 151.9 kB / 0.6122 GB, free: 7.145 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.5408, allocations: 29.7 kB / 0.6122 GB, free: 7.109 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.045e-05/0.5409, allocations: 100.1 kB / 0.6123 GB, free: 7.008 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.5409, allocations: 19.66 kB / 0.6124 GB, free: 6.988 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.717e-06/0.541, allocations: 4 kB / 0.6124 GB, free: 6.984 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.5411, allocations: 324 kB / 0.6127 GB, free: 6.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.5413, allocations: 43.97 kB / 0.6127 GB, free: 6.617 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.5415, allocations: 69.61 kB / 0.6128 GB, free: 6.543 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.5419, allocations: 100.8 kB / 0.6129 GB, free: 6.441 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.5419, allocations: 0 / 0.6129 GB, free: 6.441 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003211/0.5422, allocations: 149.4 kB / 0.613 GB, free: 6.289 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.5422, allocations: 4 kB / 0.613 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5423, allocations: 3.938 kB / 0.613 GB, free: 6.281 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.5423, allocations: 0 / 0.613 GB, free: 6.281 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.5424, allocations: 31.92 kB / 0.6131 GB, free: 6.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.5424, allocations: 0 / 0.6131 GB, free: 6.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.407e-05/0.5425, allocations: 11.98 kB / 0.6131 GB, free: 6.238 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.5425, allocations: 4 kB / 0.6131 GB, free: 6.234 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.0001056/0.5427, allocations: 117.8 kB / 0.6132 GB, free: 6.109 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.5427, allocations: 7.906 kB / 0.6132 GB, free: 6.102 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003698/0.5431, allocations: 162.6 kB / 0.6133 GB, free: 5.938 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5431, allocations: 0 / 0.6133 GB, free: 5.938 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5431, allocations: 4 kB / 0.6134 GB, free: 5.934 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.5431, allocations: 4 kB / 0.6134 GB, free: 5.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005842/0.5437, allocations: 438.3 kB / 0.6138 GB, free: 5.445 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5437, allocations: 0 / 0.6138 GB, free: 5.445 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.721e-05/0.5438, allocations: 23.98 kB / 0.6138 GB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5438, allocations: 0 / 0.6138 GB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.5438, allocations: 4 kB / 0.6138 GB, free: 5.418 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5438, allocations: 4 kB / 0.6138 GB, free: 5.414 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5438, allocations: 7.875 kB / 0.6138 GB, free: 5.406 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.5442, allocations: 235.3 kB / 0.614 GB, free: 5.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.466e-05/0.5443, allocations: 93 kB / 0.6141 GB, free: 5.051 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.5443, allocations: 8 kB / 0.6141 GB, free: 5.043 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.444e-05/0.5444, allocations: 15.98 kB / 0.6141 GB, free: 5.027 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.5444, allocations: 11.92 kB / 0.6142 GB, free: 5.016 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.5444, allocations: 0 / 0.6142 GB, free: 5.016 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001104/0.5445, allocations: 125 kB / 0.6143 GB, free: 4.895 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5446, allocations: 0 / 0.6143 GB, free: 4.895 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003371/0.5449, allocations: 47.94 kB / 0.6143 GB, free: 4.848 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.001098/0.546, allocations: 0.4955 MB / 0.6148 GB, free: 4.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002771/0.5463, allocations: 107.9 kB / 0.6149 GB, free: 4.414 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5463, allocations: 0 / 0.6149 GB, free: 4.414 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.5464, allocations: 55.95 kB / 0.615 GB, free: 4.359 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.5467, allocations: 15.98 kB / 0.615 GB, free: 4.344 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004059/0.5471, allocations: 262.6 kB / 0.6152 GB, free: 4.047 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.5474, allocations: 0.7004 MB / 0.6159 GB, free: 3.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.853e-05/0.5474, allocations: 19.42 kB / 0.6159 GB, free: 3.305 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5474, allocations: 0 / 0.6159 GB, free: 3.305 MB / 426.7 MB Notification: Performance of Templates: time 0.003774/0.5512, allocations: 2.209 MB / 0.6181 GB, free: 1.102 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches