Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.001129, allocations: 197.7 kB / 16.79 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.361/1.361, allocations: 226.5 MB / 244.1 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007752/0.0007752, allocations: 102.8 kB / 296.1 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3955/0.3955, allocations: 44.83 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002788/0.0002789, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3457, allocations: 62.96 MB / 0.5165 GB, free: 37.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/0.4737, allocations: 90.92 MB / 0.6053 GB, free: 14.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.474, allocations: 75.95 kB / 0.6053 GB, free: 14.39 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02646/0.5005, allocations: 10.11 MB / 0.6152 GB, free: 4.254 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.5005, allocations: 4 kB / 0.6152 GB, free: 4.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.92e-05/0.5006, allocations: 8 kB / 0.6152 GB, free: 4.242 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001109/0.5017, allocations: 0.7827 MB / 0.616 GB, free: 3.406 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.5017, allocations: 8.031 kB / 0.616 GB, free: 3.398 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002609/0.502, allocations: 84.16 kB / 0.6161 GB, free: 3.316 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007445/0.5027, allocations: 0.5035 MB / 0.6166 GB, free: 2.773 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.5028, allocations: 8.375 kB / 0.6166 GB, free: 2.766 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.5028, allocations: 16.36 kB / 0.6166 GB, free: 2.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.5031, allocations: 132.6 kB / 0.6167 GB, free: 2.609 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.5031, allocations: 8.094 kB / 0.6167 GB, free: 2.602 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.5031, allocations: 7.938 kB / 0.6167 GB, free: 2.594 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.5031, allocations: 0 / 0.6167 GB, free: 2.594 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002126/0.5034, allocations: 87.89 kB / 0.6168 GB, free: 2.508 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.5044, allocations: 0.7194 MB / 0.6175 GB, free: 1.734 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.5046, allocations: 113.2 kB / 0.6176 GB, free: 1.605 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.5047, allocations: 45.81 kB / 0.6177 GB, free: 1.555 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.5048, allocations: 8 kB / 0.6177 GB, free: 1.547 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.5048, allocations: 34.56 kB / 0.6177 GB, free: 1.504 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.5048, allocations: 0 / 0.6177 GB, free: 1.504 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.001401/0.5062, allocations: 0.5564 MB / 0.6182 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.5063, allocations: 77.11 kB / 0.6183 GB, free: 0.8438 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.5074, allocations: 0.9062 MB / 0.6192 GB, free: 15.93 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.5075, allocations: 33.7 kB / 0.6192 GB, free: 15.89 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.5077, allocations: 256.4 kB / 0.6195 GB, free: 15.63 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.572e-05/0.5077, allocations: 63.09 kB / 0.6195 GB, free: 15.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/0.5077, allocations: 4 kB / 0.6195 GB, free: 15.56 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.5079, allocations: 370.8 kB / 0.6199 GB, free: 15.19 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.5081, allocations: 67.91 kB / 0.62 GB, free: 15.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.5083, allocations: 79.36 kB / 0.62 GB, free: 15.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.5086, allocations: 153.8 kB / 0.6202 GB, free: 14.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.5086, allocations: 0 / 0.6202 GB, free: 14.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004616/0.5091, allocations: 244.8 kB / 0.6204 GB, free: 14.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.5091, allocations: 7.984 kB / 0.6204 GB, free: 14.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.5091, allocations: 7.984 kB / 0.6204 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.5092, allocations: 3.938 kB / 0.6204 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.5094, allocations: 43.97 kB / 0.6205 GB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.5094, allocations: 0 / 0.6205 GB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.5095, allocations: 19.98 kB / 0.6205 GB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.5096, allocations: 4 kB / 0.6205 GB, free: 14.55 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0002232/0.5098, allocations: 209.7 kB / 0.6207 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.5099, allocations: 63.19 kB / 0.6208 GB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005891/0.5105, allocations: 286.7 kB / 0.621 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.5105, allocations: 3.938 kB / 0.621 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.5105, allocations: 3.984 kB / 0.621 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5105, allocations: 4 kB / 0.621 GB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.5118, allocations: 0.8761 MB / 0.6219 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.5118, allocations: 0.75 kB / 0.6219 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.512, allocations: 47.91 kB / 0.6219 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.512, allocations: 0 / 0.6219 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.512, allocations: 4 kB / 0.6219 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.5121, allocations: 0 / 0.6219 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5121, allocations: 4 kB / 0.6219 GB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000541/0.5126, allocations: 417.9 kB / 0.6223 GB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002078/0.5128, allocations: 180.4 kB / 0.6225 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.084e-05/0.5129, allocations: 7.938 kB / 0.6225 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.5131, allocations: 20 kB / 0.6225 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.5132, allocations: 15.97 kB / 0.6226 GB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.5132, allocations: 7.938 kB / 0.6226 GB, free: 12.31 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008021/0.514, allocations: 0.6591 MB / 0.6232 GB, free: 11.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.514, allocations: 0 / 0.6232 GB, free: 11.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000394/0.5144, allocations: 83.83 kB / 0.6233 GB, free: 11.58 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0008514/0.5153, allocations: 417 kB / 0.6237 GB, free: 11.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003938/0.5157, allocations: 151.9 kB / 0.6238 GB, free: 11.17 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5157, allocations: 0 / 0.6238 GB, free: 11.17 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.5159, allocations: 92.36 kB / 0.6239 GB, free: 11.08 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006009/0.5165, allocations: 78.89 kB / 0.624 GB, free: 11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.518, allocations: 1.048 MB / 0.625 GB, free: 9.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004679/0.5185, allocations: 0.8617 MB / 0.6259 GB, free: 9.023 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.5186, allocations: 55.34 kB / 0.6259 GB, free: 8.969 MB / 442.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5186, allocations: 0 / 0.6259 GB, free: 8.969 MB / 442.7 MB Notification: Performance of Templates: time 0.008704/0.5273, allocations: 5.998 MB / 0.6318 GB, free: 2.977 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches