Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000948/0.0009481, allocations: 189.5 kB / 16.78 MB, free: 5.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 226.5 MB / 244.1 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008159/0.0008159, allocations: 99.33 kB / 296.1 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3932/0.3932, allocations: 44.83 MB / 393 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003244, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2876, allocations: 62.95 MB / 0.5165 GB, free: 37.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1116/0.3992, allocations: 91.83 MB / 0.6061 GB, free: 13.54 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.3995, allocations: 71.95 kB / 0.6062 GB, free: 13.47 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02505/0.4245, allocations: 9.933 MB / 0.6159 GB, free: 3.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4246, allocations: 0 / 0.6159 GB, free: 3.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.063e-05/0.4246, allocations: 15.98 kB / 0.6159 GB, free: 3.504 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007747/0.4254, allocations: 0.6429 MB / 0.6166 GB, free: 2.809 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.4255, allocations: 12.03 kB / 0.6166 GB, free: 2.797 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.424e-05/0.4255, allocations: 44.36 kB / 0.6166 GB, free: 2.754 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005104/0.4261, allocations: 389.9 kB / 0.617 GB, free: 2.336 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.4261, allocations: 4.375 kB / 0.617 GB, free: 2.332 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.4261, allocations: 12.38 kB / 0.617 GB, free: 2.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.4263, allocations: 76.33 kB / 0.6171 GB, free: 2.242 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.4263, allocations: 192 / 0.6171 GB, free: 2.242 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.4263, allocations: 7.938 kB / 0.6171 GB, free: 2.234 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.4263, allocations: 4 kB / 0.6171 GB, free: 2.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.4265, allocations: 47.97 kB / 0.6171 GB, free: 2.184 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005687/0.427, allocations: 472.4 kB / 0.6176 GB, free: 1.672 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.4272, allocations: 62.48 kB / 0.6176 GB, free: 1.602 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.434e-05/0.4273, allocations: 28.98 kB / 0.6177 GB, free: 1.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.4273, allocations: 3.984 kB / 0.6177 GB, free: 1.566 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.4273, allocations: 38.56 kB / 0.6177 GB, free: 1.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.4273, allocations: 0 / 0.6177 GB, free: 1.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003319/0.4277, allocations: 133.2 kB / 0.6178 GB, free: 1.383 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.4277, allocations: 51.41 kB / 0.6179 GB, free: 1.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006796/0.4284, allocations: 0.5759 MB / 0.6184 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.4284, allocations: 33.64 kB / 0.6185 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.4286, allocations: 216 kB / 0.6187 GB, free: 496 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.4286, allocations: 19.73 kB / 0.6187 GB, free: 476 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-06/0.4286, allocations: 4 kB / 0.6187 GB, free: 472 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.4287, allocations: 350.8 kB / 0.619 GB, free: 112 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.049e-05/0.4288, allocations: 19.98 kB / 0.6191 GB, free: 92 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.751e-05/0.4289, allocations: 23.92 kB / 0.6191 GB, free: 68 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.429, allocations: 52.84 kB / 0.6191 GB, free: 12 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.429, allocations: 0 / 0.6191 GB, free: 12 kB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000204/0.4292, allocations: 117.2 kB / 0.6192 GB, free: 15.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.4292, allocations: 6.969 kB / 0.6192 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.4293, allocations: 0 / 0.6192 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.4293, allocations: 0 / 0.6192 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.662e-05/0.4294, allocations: 23.92 kB / 0.6193 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.4294, allocations: 0 / 0.6193 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.116e-05/0.4295, allocations: 11.84 kB / 0.6193 GB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.4295, allocations: 8 kB / 0.6193 GB, free: 15.84 MB / 442.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 (6): * Single equations (assignments): 6 * 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.0001443/0.4296, allocations: 165.8 kB / 0.6194 GB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.534e-05/0.4297, allocations: 35.53 kB / 0.6195 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.43, allocations: 141.7 kB / 0.6196 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.43, allocations: 0 / 0.6196 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.43, allocations: 0 / 0.6196 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.43, allocations: 11.88 kB / 0.6196 GB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000317/0.4303, allocations: 313.3 kB / 0.6199 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4304, allocations: 0 / 0.6199 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.78e-05/0.4304, allocations: 19.98 kB / 0.6199 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.4304, allocations: 0 / 0.6199 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.4304, allocations: 0 / 0.6199 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4304, allocations: 0 / 0.6199 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4305, allocations: 4 kB / 0.6199 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.4307, allocations: 215 kB / 0.6202 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.4309, allocations: 148.6 kB / 0.6203 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.4309, allocations: 3.938 kB / 0.6203 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.364e-05/0.431, allocations: 4 kB / 0.6203 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.431, allocations: 19.91 kB / 0.6203 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.4311, allocations: 0 / 0.6203 GB, free: 14.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004751/0.4315, allocations: 435 kB / 0.6207 GB, free: 14.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4315, allocations: 0 / 0.6207 GB, free: 14.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003048/0.4319, allocations: 55.83 kB / 0.6208 GB, free: 14.2 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 (6): * Single equations (assignments): 6 * 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.001264/0.4331, allocations: 0.585 MB / 0.6214 GB, free: 13.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.4333, allocations: 55.97 kB / 0.6214 GB, free: 13.79 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4333, allocations: 0 / 0.6214 GB, free: 13.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.351e-05/0.4334, allocations: 31.92 kB / 0.6214 GB, free: 13.76 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.4339, allocations: 62.59 kB / 0.6215 GB, free: 13.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009562/0.4348, allocations: 0.7101 MB / 0.6222 GB, free: 12.95 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.4352, allocations: 0.7985 MB / 0.623 GB, free: 12.12 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.98e-05/0.4353, allocations: 31.42 kB / 0.623 GB, free: 12.09 MB / 442.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4353, allocations: 0 / 0.623 GB, free: 12.09 MB / 442.7 MB Notification: Performance of Templates: time 0.005833/0.4411, allocations: 4.191 MB / 0.6271 GB, free: 7.902 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches