Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5") translateModel(ModelicaTest.Tables.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001535/0.001535, allocations: 187.9 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.991/1.991, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001064/0.001064, allocations: 89.78 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5117/0.5117, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004793/0.0004793, allocations: 12 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1347, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4555/0.5902, allocations: 86.87 MB / 0.5636 GB, free: 15.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.5905, allocations: 77.33 kB / 0.5636 GB, free: 15.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0286/0.6191, allocations: 7.709 MB / 0.5712 GB, free: 8.094 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.6192, allocations: 0 / 0.5712 GB, free: 8.094 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.804e-05/0.6192, allocations: 4 kB / 0.5712 GB, free: 8.09 MB / 394.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.0009091/0.6201, allocations: 0.6317 MB / 0.5718 GB, free: 7.414 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.6202, allocations: 12.02 kB / 0.5718 GB, free: 7.402 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.6203, allocations: 47.44 kB / 0.5718 GB, free: 7.355 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006125/0.6209, allocations: 331.4 kB / 0.5722 GB, free: 6.992 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.621, allocations: 3.938 kB / 0.5722 GB, free: 6.988 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.621, allocations: 0 / 0.5722 GB, free: 6.988 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.6212, allocations: 58.47 kB / 0.5722 GB, free: 6.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.6212, allocations: 0 / 0.5722 GB, free: 6.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.6212, allocations: 0 / 0.5722 GB, free: 6.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.6213, allocations: 0 / 0.5722 GB, free: 6.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.6214, allocations: 35.94 kB / 0.5723 GB, free: 6.895 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007647/0.6222, allocations: 432.6 kB / 0.5727 GB, free: 6.422 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.6225, allocations: 46.56 kB / 0.5727 GB, free: 6.367 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.6225, allocations: 0 / 0.5727 GB, free: 6.367 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.6225, allocations: 38.61 kB / 0.5727 GB, free: 6.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.6226, allocations: 0 / 0.5727 GB, free: 6.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009096/0.6235, allocations: 247.9 kB / 0.573 GB, free: 6.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.6235, allocations: 51.41 kB / 0.573 GB, free: 6.008 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/0.6254, allocations: 0.7824 MB / 0.5738 GB, free: 5.215 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.6254, allocations: 25.7 kB / 0.5738 GB, free: 5.184 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.6257, allocations: 246.6 kB / 0.5741 GB, free: 4.941 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.6257, allocations: 20.27 kB / 0.5741 GB, free: 4.922 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-06/0.6257, allocations: 0 / 0.5741 GB, free: 4.922 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.6258, allocations: 311.1 kB / 0.5744 GB, free: 4.609 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.626, allocations: 27.98 kB / 0.5744 GB, free: 4.582 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.6261, allocations: 23.92 kB / 0.5744 GB, free: 4.559 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.6263, allocations: 24.53 kB / 0.5744 GB, free: 4.535 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.6263, allocations: 0 / 0.5744 GB, free: 4.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003135/0.6266, allocations: 85.67 kB / 0.5745 GB, free: 4.445 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.6266, allocations: 7.953 kB / 0.5745 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.6267, allocations: 0 / 0.5745 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.6267, allocations: 7.938 kB / 0.5745 GB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.6268, allocations: 11.98 kB / 0.5746 GB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.6268, allocations: 4 kB / 0.5746 GB, free: 4.414 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.627, allocations: 15.92 kB / 0.5746 GB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.627, allocations: 0 / 0.5746 GB, free: 4.398 MB / 394.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 (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 0.0002772/0.6273, allocations: 209.8 kB / 0.5748 GB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.6274, allocations: 47.38 kB / 0.5748 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004544/0.6279, allocations: 146.2 kB / 0.575 GB, free: 3.988 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.6279, allocations: 4 kB / 0.575 GB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6279, allocations: 0 / 0.575 GB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.6279, allocations: 3.984 kB / 0.575 GB, free: 3.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.6291, allocations: 0.5885 MB / 0.5755 GB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6291, allocations: 0 / 0.5755 GB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.6293, allocations: 24 kB / 0.5756 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.6293, allocations: 0 / 0.5756 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.6293, allocations: 0.75 kB / 0.5756 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.6293, allocations: 0 / 0.5756 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.6293, allocations: 0 / 0.5756 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004254/0.6297, allocations: 223 kB / 0.5758 GB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002661/0.63, allocations: 160.6 kB / 0.5759 GB, free: 2.902 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.757e-05/0.6301, allocations: 11.94 kB / 0.5759 GB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.6303, allocations: 4 kB / 0.5759 GB, free: 2.887 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.6303, allocations: 11.92 kB / 0.576 GB, free: 2.875 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.6304, allocations: 7.938 kB / 0.576 GB, free: 2.867 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001153/0.6315, allocations: 0.6394 MB / 0.5766 GB, free: 2.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6315, allocations: 4 kB / 0.5766 GB, free: 2.227 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004454/0.632, allocations: 48 kB / 0.5766 GB, free: 2.18 MB / 394.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 (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.001143/0.6331, allocations: 404.5 kB / 0.577 GB, free: 1.879 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003205/0.6335, allocations: 59.97 kB / 0.5771 GB, free: 1.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.6335, allocations: 0 / 0.5771 GB, free: 1.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.6336, allocations: 31.92 kB / 0.5771 GB, free: 1.789 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.634, allocations: 17.95 kB / 0.5771 GB, free: 1.773 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.636, allocations: 0.9521 MB / 0.5781 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/0.6366, allocations: 0.8301 MB / 0.5789 GB, free: 15.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.6367, allocations: 23.69 kB / 0.5789 GB, free: 15.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6367, allocations: 0 / 0.5789 GB, free: 15.91 MB / 410.7 MB Notification: Performance of Templates: time 0.01158/0.6483, allocations: 4.217 MB / 0.583 GB, free: 11.68 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches