Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15") translateModel(ModelicaTest.Tables.CombiTable2D.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00154/0.00154, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.942/1.942, 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.001144/0.001144, allocations: 109.8 kB / 270.9 MB, free: 8.348 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.5017/0.5017, allocations: 43.55 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004904/0.0004903, allocations: 16 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1295, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4638/0.5933, allocations: 86.22 MB / 0.5629 GB, free: 496 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.5936, allocations: 75.25 kB / 0.563 GB, free: 424 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01136/0.605, allocations: 3.161 MB / 0.5661 GB, free: 13.26 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.605, allocations: 7.938 kB / 0.5661 GB, free: 13.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.6051, allocations: 0 / 0.5661 GB, free: 13.25 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000423/0.6055, allocations: 362.3 kB / 0.5664 GB, free: 12.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.6056, allocations: 8.031 kB / 0.5664 GB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.6056, allocations: 11.03 kB / 0.5665 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.6058, allocations: 175 kB / 0.5666 GB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.6058, allocations: 8 kB / 0.5666 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.6058, allocations: 11.94 kB / 0.5666 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.6062, allocations: 184.3 kB / 0.5668 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.6062, allocations: 0 / 0.5668 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.6062, allocations: 7.281 kB / 0.5668 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-05/0.6063, allocations: 12.28 kB / 0.5668 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.6064, allocations: 63.73 kB / 0.5669 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.6076, allocations: 1.705 MB / 0.5686 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.961e-05/0.6077, allocations: 169.1 kB / 0.5687 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.6078, allocations: 75.28 kB / 0.5688 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.252e-05/0.6078, allocations: 105.8 kB / 0.5689 GB, free: 10.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.984e-06/0.6079, allocations: 0 / 0.5689 GB, free: 10.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 9.626e-05/0.608, allocations: 37.55 kB / 0.5689 GB, free: 10.08 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.608, allocations: 130.7 kB / 0.5691 GB, free: 9.941 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.6083, allocations: 176.3 kB / 0.5692 GB, free: 9.766 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.6083, allocations: 25.7 kB / 0.5692 GB, free: 9.734 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.6085, allocations: 217.6 kB / 0.5695 GB, free: 9.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.843e-06/0.6085, allocations: 3.984 kB / 0.5695 GB, free: 9.516 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.399e-05/0.6085, allocations: 8 kB / 0.5695 GB, free: 9.508 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.6086, allocations: 310.8 kB / 0.5698 GB, free: 9.195 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.906e-05/0.6087, allocations: 39.97 kB / 0.5698 GB, free: 9.156 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.6089, allocations: 153.1 kB / 0.5699 GB, free: 8.945 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.6091, allocations: 67.95 kB / 0.57 GB, free: 8.879 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.6091, allocations: 4 kB / 0.57 GB, free: 8.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000446/0.6096, allocations: 189.2 kB / 0.5702 GB, free: 8.684 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.6096, allocations: 11.95 kB / 0.5702 GB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.6096, allocations: 4 kB / 0.5702 GB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.6097, allocations: 8 kB / 0.5702 GB, free: 8.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.6099, allocations: 40.55 kB / 0.5703 GB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.6099, allocations: 11.94 kB / 0.5703 GB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.6101, allocations: 19.75 kB / 0.5703 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.6101, allocations: 16 kB / 0.5703 GB, free: 8.574 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001607/0.6103, allocations: 217.8 kB / 0.5705 GB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.719e-05/0.6104, allocations: 108.9 kB / 0.5706 GB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.017e-05/0.6105, allocations: 125.5 kB / 0.5707 GB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.117e-05/0.6105, allocations: 184.3 kB / 0.5709 GB, free: 7.926 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.027e-05/0.6106, allocations: 176.3 kB / 0.5711 GB, free: 7.746 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.379e-05/0.6107, allocations: 184.2 kB / 0.5713 GB, free: 7.559 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003233/0.611, allocations: 417.2 kB / 0.5717 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-05/0.6111, allocations: 104.9 kB / 0.5718 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.103e-05/0.6112, allocations: 114.8 kB / 0.5719 GB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.047e-05/0.6113, allocations: 181 kB / 0.572 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-05/0.6113, allocations: 184.2 kB / 0.5722 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.303e-05/0.6114, allocations: 184.2 kB / 0.5724 GB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.418e-05/0.6115, allocations: 184.2 kB / 0.5726 GB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.6117, allocations: 315.7 kB / 0.5729 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.6118, allocations: 186 kB / 0.573 GB, free: 5.586 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.974e-05/0.6119, allocations: 180.3 kB / 0.5732 GB, free: 5.402 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.6121, allocations: 116.8 kB / 0.5733 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.684e-05/0.6122, allocations: 180.2 kB / 0.5735 GB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.651e-05/0.6122, allocations: 104.9 kB / 0.5736 GB, free: 4.988 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001931/0.6124, allocations: 136.8 kB / 0.5737 GB, free: 4.855 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6124, allocations: 0 / 0.5737 GB, free: 4.855 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000383/0.6128, allocations: 16 kB / 0.5737 GB, free: 4.84 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 (0): * Single equations (assignments): 0 * 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.0006676/0.6135, allocations: 269.4 kB / 0.574 GB, free: 4.629 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002508/0.6138, allocations: 76.41 kB / 0.5741 GB, free: 4.555 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6138, allocations: 4 kB / 0.5741 GB, free: 4.551 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.845e-06/0.6138, allocations: 0 / 0.5741 GB, free: 4.551 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.6142, allocations: 0.5185 MB / 0.5746 GB, free: 4.027 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005202/0.6147, allocations: 311.6 kB / 0.5749 GB, free: 3.695 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.615, allocations: 0.7009 MB / 0.5756 GB, free: 2.969 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.156e-05/0.6151, allocations: 19.38 kB / 0.5756 GB, free: 2.949 MB / 394.7 MB Notification: Performance of SimCode: time 8.21e-07/0.6151, allocations: 0 / 0.5756 GB, free: 2.949 MB / 394.7 MB Notification: Performance of Templates: time 0.003945/0.6191, allocations: 1.306 MB / 0.5769 GB, free: 1.652 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches