Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17") translateModel(ModelicaTest.Tables.CombiTable2D.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009503/0.0009506, allocations: 184.5 kB / 17.41 MB, free: 4.395 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.517/1.517, allocations: 205.4 MB / 223.6 MB, free: 8.938 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.0007369/0.000737, allocations: 90.36 kB / 271.9 MB, free: 8.238 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.3311/0.3311, allocations: 43.56 MB / 363.8 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003314, allocations: 12 kB / 432.6 MB, free: 5.645 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1016, allocations: 58.85 MB / 491.4 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.286/0.3877, allocations: 86.46 MB / 0.5644 GB, free: 15.78 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.3879, allocations: 79.95 kB / 0.5644 GB, free: 15.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006695/0.3946, allocations: 3.156 MB / 0.5675 GB, free: 12.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3946, allocations: 0 / 0.5675 GB, free: 12.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3947, allocations: 4 kB / 0.5675 GB, free: 12.55 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.0002895/0.395, allocations: 359.2 kB / 0.5679 GB, free: 12.15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.395, allocations: 8.031 kB / 0.5679 GB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.395, allocations: 10.41 kB / 0.5679 GB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.3952, allocations: 180.2 kB / 0.5681 GB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.3952, allocations: 4.375 kB / 0.5681 GB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.3952, allocations: 12.36 kB / 0.5681 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.3954, allocations: 187.3 kB / 0.5683 GB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.3954, allocations: 3.359 kB / 0.5683 GB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.3955, allocations: 7.938 kB / 0.5683 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/0.3955, allocations: 4 kB / 0.5683 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.709e-05/0.3956, allocations: 67.72 kB / 0.5683 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008162/0.3964, allocations: 1.701 MB / 0.57 GB, free: 9.785 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.584e-05/0.3965, allocations: 173.1 kB / 0.5702 GB, free: 9.605 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.451e-05/0.3965, allocations: 80.14 kB / 0.5702 GB, free: 9.523 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.3965, allocations: 79.22 kB / 0.5703 GB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.3966, allocations: 113.8 kB / 0.5704 GB, free: 9.324 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.3966, allocations: 0 / 0.5704 GB, free: 9.324 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 7.281e-05/0.3967, allocations: 37.55 kB / 0.5705 GB, free: 9.281 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.3967, allocations: 130.7 kB / 0.5706 GB, free: 9.141 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.3969, allocations: 185.1 kB / 0.5708 GB, free: 8.953 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.3969, allocations: 25.7 kB / 0.5708 GB, free: 8.922 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.369e-05/0.397, allocations: 144 kB / 0.5709 GB, free: 8.777 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.679e-06/0.397, allocations: 4 kB / 0.5709 GB, free: 8.773 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.397, allocations: 4 kB / 0.5709 GB, free: 8.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.3972, allocations: 326.8 kB / 0.5712 GB, free: 8.441 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.426e-05/0.3972, allocations: 27.98 kB / 0.5713 GB, free: 8.414 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.3973, allocations: 153.2 kB / 0.5714 GB, free: 8.203 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.3975, allocations: 200.8 kB / 0.5716 GB, free: 7.945 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3975, allocations: 4 kB / 0.5716 GB, free: 7.941 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002859/0.3978, allocations: 205.6 kB / 0.5718 GB, free: 7.734 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3978, allocations: 4 kB / 0.5718 GB, free: 7.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3978, allocations: 11.97 kB / 0.5718 GB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3979, allocations: 11.5 kB / 0.5718 GB, free: 7.711 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.398, allocations: 35.92 kB / 0.5719 GB, free: 7.676 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.398, allocations: 8 kB / 0.5719 GB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.045e-05/0.3981, allocations: 23.75 kB / 0.5719 GB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.3981, allocations: 12.64 kB / 0.5719 GB, free: 7.633 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.000106/0.3982, allocations: 213 kB / 0.5721 GB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.908e-05/0.3983, allocations: 116.8 kB / 0.5722 GB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.299e-05/0.3983, allocations: 124.8 kB / 0.5723 GB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.842e-05/0.3984, allocations: 176.3 kB / 0.5725 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-05/0.3985, allocations: 180.2 kB / 0.5727 GB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-05/0.3985, allocations: 177.2 kB / 0.5728 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.3987, allocations: 421.2 kB / 0.5732 GB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.615e-05/0.3988, allocations: 116.9 kB / 0.5734 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.3988, allocations: 105 kB / 0.5735 GB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.766e-05/0.3989, allocations: 186 kB / 0.5736 GB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.384e-05/0.3989, allocations: 180.3 kB / 0.5738 GB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.854e-05/0.399, allocations: 180.3 kB / 0.574 GB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.307e-05/0.3991, allocations: 184.2 kB / 0.5742 GB, free: 5.184 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.3992, allocations: 315.7 kB / 0.5745 GB, free: 4.852 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.866e-05/0.3993, allocations: 189.8 kB / 0.5746 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.745e-05/0.3993, allocations: 184.2 kB / 0.5748 GB, free: 4.457 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.877e-05/0.3994, allocations: 101 kB / 0.5749 GB, free: 4.352 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/0.3995, allocations: 188.2 kB / 0.5751 GB, free: 4.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.3995, allocations: 104.9 kB / 0.5752 GB, free: 4.051 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.464e-05/0.3996, allocations: 128.8 kB / 0.5753 GB, free: 3.926 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3996, allocations: 0 / 0.5753 GB, free: 3.926 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002824/0.3999, allocations: 16 kB / 0.5753 GB, free: 3.91 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.0004637/0.4004, allocations: 286.1 kB / 0.5756 GB, free: 3.688 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.4005, allocations: 71.78 kB / 0.5757 GB, free: 3.617 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4005, allocations: 3.938 kB / 0.5757 GB, free: 3.613 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.4005, allocations: 1.594 kB / 0.5757 GB, free: 3.613 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.4009, allocations: 0.5343 MB / 0.5762 GB, free: 3.078 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000364/0.4013, allocations: 306.9 kB / 0.5765 GB, free: 2.746 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.4015, allocations: 0.7048 MB / 0.5772 GB, free: 2.016 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.4016, allocations: 15.44 kB / 0.5772 GB, free: 2.004 MB / 394.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4016, allocations: 0 / 0.5772 GB, free: 2.004 MB / 394.7 MB Notification: Performance of Templates: time 0.002371/0.4039, allocations: 1.296 MB / 0.5785 GB, free: 0.7109 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test17/Test17.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches