Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7") translateModel(ModelicaTest.Tables.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001565/0.001565, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.175/2.175, allocations: 205.2 MB / 219.4 MB, free: 14.29 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 90.64 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2795/0.2795, allocations: 43.5 MB / 359.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.254e-05/4.265e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1184, allocations: 58.85 MB / 484.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5775/0.696, allocations: 86.65 MB / 0.5574 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.6963, allocations: 69.22 kB / 0.5575 GB, free: 0.9492 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03101/0.7273, allocations: 7.762 MB / 0.5651 GB, free: 10 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.896e-06/0.7274, allocations: 7.938 kB / 0.5651 GB, free: 9.992 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.018e-05/0.7274, allocations: 7.609 kB / 0.5651 GB, free: 9.988 MB / 378.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.0007251/0.7281, allocations: 0.5361 MB / 0.5656 GB, free: 9.426 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.7282, allocations: 8.031 kB / 0.5656 GB, free: 9.418 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.7283, allocations: 43.39 kB / 0.5656 GB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006788/0.729, allocations: 325.5 kB / 0.5659 GB, free: 9.027 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.729, allocations: 3.25 kB / 0.566 GB, free: 9.027 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.7291, allocations: 4 kB / 0.566 GB, free: 9.023 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.7292, allocations: 45.06 kB / 0.566 GB, free: 8.977 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.7292, allocations: 4 kB / 0.566 GB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.7293, allocations: 3.375 kB / 0.566 GB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.7293, allocations: 3.984 kB / 0.566 GB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.227e-05/0.7293, allocations: 15.33 kB / 0.566 GB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007855/0.7301, allocations: 423.3 kB / 0.5664 GB, free: 8.547 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.446e-05/0.7302, allocations: 30.02 kB / 0.5665 GB, free: 8.512 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.415e-05/0.7303, allocations: 4.859 kB / 0.5665 GB, free: 8.504 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.7303, allocations: 4.062 kB / 0.5665 GB, free: 8.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.7304, allocations: 34.52 kB / 0.5665 GB, free: 8.457 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 4.419e-06/0.7304, allocations: 4 kB / 0.5665 GB, free: 8.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002386/0.7306, allocations: 80.75 kB / 0.5666 GB, free: 8.371 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.293e-05/0.7307, allocations: 51.41 kB / 0.5666 GB, free: 8.309 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/0.7326, allocations: 0.7792 MB / 0.5674 GB, free: 7.699 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.7327, allocations: 25.7 kB / 0.5674 GB, free: 7.668 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.7328, allocations: 238.9 kB / 0.5676 GB, free: 7.512 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.7329, allocations: 7.344 kB / 0.5676 GB, free: 7.508 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.7329, allocations: 0 / 0.5676 GB, free: 7.508 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.7331, allocations: 318.9 kB / 0.568 GB, free: 7.188 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.592e-05/0.7331, allocations: 7.938 kB / 0.568 GB, free: 7.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.598e-05/0.7331, allocations: 6.938 kB / 0.568 GB, free: 7.176 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.273e-05/0.7332, allocations: 7.938 kB / 0.568 GB, free: 7.168 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.7332, allocations: 0 / 0.568 GB, free: 7.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001131/0.7333, allocations: 36.89 kB / 0.568 GB, free: 7.129 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.7333, allocations: 4 kB / 0.568 GB, free: 7.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.7334, allocations: 0 / 0.568 GB, free: 7.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.7334, allocations: 7.953 kB / 0.568 GB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.7335, allocations: 12.08 kB / 0.568 GB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.7335, allocations: 0 / 0.568 GB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.7336, allocations: 4 kB / 0.568 GB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.7337, allocations: 0 / 0.568 GB, free: 7.102 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.245e-05/0.7338, allocations: 104 kB / 0.5681 GB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.7339, allocations: 43.44 kB / 0.5682 GB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.7341, allocations: 98.2 kB / 0.5683 GB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.894e-06/0.7341, allocations: 11.92 kB / 0.5683 GB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7341, allocations: 4 kB / 0.5683 GB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.7342, allocations: 0 / 0.5683 GB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004289/0.7346, allocations: 326.8 kB / 0.5686 GB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.7346, allocations: 0 / 0.5686 GB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.368e-05/0.7347, allocations: 8 kB / 0.5686 GB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.7347, allocations: 0 / 0.5686 GB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.7347, allocations: 0 / 0.5686 GB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.7348, allocations: 0 / 0.5686 GB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.7348, allocations: 3.953 kB / 0.5686 GB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.735, allocations: 178.5 kB / 0.5688 GB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002931/0.7353, allocations: 162.5 kB / 0.5689 GB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.836e-05/0.7354, allocations: 0 / 0.5689 GB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.7355, allocations: 4 kB / 0.5689 GB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.7356, allocations: 11.3 kB / 0.5689 GB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.7356, allocations: 3.953 kB / 0.569 GB, free: 6.133 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001149/0.7368, allocations: 0.6334 MB / 0.5696 GB, free: 5.676 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.42e-07/0.7368, allocations: 4.031 kB / 0.5696 GB, free: 5.672 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004183/0.7372, allocations: 48 kB / 0.5696 GB, free: 5.625 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0009627/0.7382, allocations: 325.4 kB / 0.5699 GB, free: 5.359 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001421/0.7384, allocations: 15.94 kB / 0.5699 GB, free: 5.344 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.7384, allocations: 0 / 0.5699 GB, free: 5.344 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.969e-05/0.7384, allocations: 15.92 kB / 0.57 GB, free: 5.332 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/0.7389, allocations: 19.03 kB / 0.57 GB, free: 5.328 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.7407, allocations: 0.7286 MB / 0.5707 GB, free: 4.641 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005697/0.7413, allocations: 0.8275 MB / 0.5715 GB, free: 3.805 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.7414, allocations: 19.69 kB / 0.5715 GB, free: 3.785 MB / 378.7 MB Notification: Performance of SimCode: time 1.433e-06/0.7414, allocations: 0 / 0.5715 GB, free: 3.785 MB / 378.7 MB Notification: Performance of Templates: time 0.01172/0.7531, allocations: 3.995 MB / 0.5754 GB, free: 15.8 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches