Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002224/0.002224, allocations: 179.1 kB / 13.66 MB, free: 1.66 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.116/2.116, 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.001082/0.001082, allocations: 78.7 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.2712/0.2712, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.065e-05/3.088e-05, allocations: 7.984 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1135, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4674/0.581, allocations: 86.77 MB / 0.5575 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.5813, allocations: 78.86 kB / 0.5576 GB, free: 0.832 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02892/0.6103, allocations: 7.689 MB / 0.5651 GB, free: 9.949 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.376e-06/0.6103, allocations: 3.938 kB / 0.5651 GB, free: 9.945 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.007e-05/0.6104, allocations: 11.61 kB / 0.5651 GB, free: 9.938 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007542/0.6111, allocations: 0.5545 MB / 0.5657 GB, free: 9.359 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.6112, allocations: 8.031 kB / 0.5657 GB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.6113, allocations: 47.39 kB / 0.5657 GB, free: 9.305 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006756/0.612, allocations: 322.3 kB / 0.566 GB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.612, allocations: 4 kB / 0.566 GB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.6121, allocations: 3.75 kB / 0.566 GB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.6122, allocations: 49.58 kB / 0.5661 GB, free: 8.906 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.6122, allocations: 0 / 0.5661 GB, free: 8.906 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.6122, allocations: 3.875 kB / 0.5661 GB, free: 8.906 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.6123, allocations: 0 / 0.5661 GB, free: 8.906 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.208e-05/0.6123, allocations: 19.64 kB / 0.5661 GB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007888/0.6131, allocations: 429.7 kB / 0.5665 GB, free: 8.477 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.6134, allocations: 46.25 kB / 0.5666 GB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.036e-05/0.6134, allocations: 16.73 kB / 0.5666 GB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.6135, allocations: 0 / 0.5666 GB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.6135, allocations: 38.45 kB / 0.5666 GB, free: 8.363 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.6135, allocations: 0 / 0.5666 GB, free: 8.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006477/0.6142, allocations: 191.4 kB / 0.5668 GB, free: 8.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.6142, allocations: 59.34 kB / 0.5669 GB, free: 8.113 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/0.6162, allocations: 0.7783 MB / 0.5676 GB, free: 7.508 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.6162, allocations: 25.7 kB / 0.5676 GB, free: 7.477 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.6164, allocations: 237.8 kB / 0.5679 GB, free: 7.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.6165, allocations: 18.55 kB / 0.5679 GB, free: 7.305 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/0.6165, allocations: 4 kB / 0.5679 GB, free: 7.301 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.6167, allocations: 313.2 kB / 0.5682 GB, free: 6.988 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.325e-05/0.6167, allocations: 6.562 kB / 0.5682 GB, free: 6.984 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.865e-05/0.6168, allocations: 15.19 kB / 0.5682 GB, free: 6.973 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.828e-05/0.6168, allocations: 11.69 kB / 0.5682 GB, free: 6.965 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.6168, allocations: 0 / 0.5682 GB, free: 6.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001645/0.617, allocations: 62.19 kB / 0.5683 GB, free: 6.906 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.6171, allocations: 7.953 kB / 0.5683 GB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.6171, allocations: 4 kB / 0.5683 GB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.6171, allocations: 0 / 0.5683 GB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.6173, allocations: 15.98 kB / 0.5683 GB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.6173, allocations: 0 / 0.5683 GB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.6174, allocations: 10.62 kB / 0.5683 GB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.6175, allocations: 4 kB / 0.5683 GB, free: 6.867 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 (5): * Single equations (assignments): 5 * 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 8.012e-05/0.6175, allocations: 101 kB / 0.5684 GB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.6177, allocations: 47.42 kB / 0.5685 GB, free: 6.715 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003471/0.618, allocations: 126 kB / 0.5686 GB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.6181, allocations: 0 / 0.5686 GB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.6181, allocations: 0 / 0.5686 GB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.6181, allocations: 0 / 0.5686 GB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.6192, allocations: 0.5649 MB / 0.5691 GB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.6192, allocations: 7.891 kB / 0.5691 GB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.6193, allocations: 15.98 kB / 0.5692 GB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.6194, allocations: 0 / 0.5692 GB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.6194, allocations: 0 / 0.5692 GB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.6194, allocations: 0 / 0.5692 GB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.6194, allocations: 0 / 0.5692 GB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003033/0.6197, allocations: 198.5 kB / 0.5693 GB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003046/0.62, allocations: 166.3 kB / 0.5695 GB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.227e-05/0.6201, allocations: 144 / 0.5695 GB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.6203, allocations: 11.98 kB / 0.5695 GB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.6204, allocations: 7.859 kB / 0.5695 GB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.6204, allocations: 4 kB / 0.5695 GB, free: 5.641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001155/0.6215, allocations: 0.6309 MB / 0.5701 GB, free: 5.188 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.785e-06/0.6216, allocations: 3.938 kB / 0.5701 GB, free: 5.184 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005032/0.6221, allocations: 67.86 kB / 0.5702 GB, free: 5.117 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 (5): * Single equations (assignments): 5 * 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.001094/0.6232, allocations: 358.6 kB / 0.5706 GB, free: 4.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001569/0.6234, allocations: 22.81 kB / 0.5706 GB, free: 4.805 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6234, allocations: 0 / 0.5706 GB, free: 4.805 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.926e-05/0.6235, allocations: 23.55 kB / 0.5706 GB, free: 4.785 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.6239, allocations: 29.88 kB / 0.5706 GB, free: 4.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.6258, allocations: 0.7475 MB / 0.5714 GB, free: 4.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006454/0.6265, allocations: 0.839 MB / 0.5722 GB, free: 3.223 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.6266, allocations: 19.69 kB / 0.5722 GB, free: 3.203 MB / 378.7 MB Notification: Performance of SimCode: time 1.603e-06/0.6266, allocations: 0 / 0.5722 GB, free: 3.203 MB / 378.7 MB Notification: Performance of Templates: time 0.0128/0.6395, allocations: 4.237 MB / 0.5763 GB, free: 14.97 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches