Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.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.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002315/0.002314, allocations: 177.9 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001606/0.001605, allocations: 87.44 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3105/0.3105, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.937e-05/1.934e-05, allocations: 4.219 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3945, allocations: 58.86 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1649/0.5595, allocations: 88.38 MB / 0.5522 GB, free: 10.94 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.5598, allocations: 63.97 kB / 0.5523 GB, free: 10.88 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.038/0.5978, allocations: 9.035 MB / 0.5611 GB, free: 1.828 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5979, allocations: 0 / 0.5611 GB, free: 1.828 MB / 395.1 MB Notification: Performance of Transformations before backend: time 4.74e-05/0.5979, allocations: 8 kB / 0.5611 GB, free: 1.82 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008289/0.5988, allocations: 0.5527 MB / 0.5616 GB, free: 1.223 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.5988, allocations: 12.03 kB / 0.5617 GB, free: 1.211 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.5989, allocations: 47.39 kB / 0.5617 GB, free: 1.164 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007886/0.5997, allocations: 355.3 kB / 0.562 GB, free: 0.7773 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.5998, allocations: 0 / 0.562 GB, free: 0.7773 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.5998, allocations: 8 kB / 0.562 GB, free: 0.7695 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002415/0.6001, allocations: 71.91 kB / 0.5621 GB, free: 0.6992 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.6003, allocations: 100.5 kB / 0.5622 GB, free: 0.5977 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.6004, allocations: 0 / 0.5622 GB, free: 0.5977 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.6004, allocations: 0 / 0.5622 GB, free: 0.5977 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.6004, allocations: 7.953 kB / 0.5622 GB, free: 0.5898 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.6015, allocations: 0.4969 MB / 0.5627 GB, free: 56 kB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.6018, allocations: 102.5 kB / 0.5628 GB, free: 15.95 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.145e-05/0.6019, allocations: 32.86 kB / 0.5628 GB, free: 15.91 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/0.6019, allocations: 11.92 kB / 0.5628 GB, free: 15.9 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.6019, allocations: 38.56 kB / 0.5629 GB, free: 15.85 MB / 411.1 MB Notification: Performance of pre-optimization done (n=11): time 1.944e-06/0.602, allocations: 0 / 0.5629 GB, free: 15.85 MB / 411.1 MB Notification: Performance of matching and sorting (n=17): time 0.00115/0.6031, allocations: 355.8 kB / 0.5632 GB, free: 15.5 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.6032, allocations: 55.41 kB / 0.5633 GB, free: 15.43 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008998/0.6041, allocations: 473.2 kB / 0.5637 GB, free: 14.96 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.6041, allocations: 29.7 kB / 0.5638 GB, free: 14.93 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.6043, allocations: 246.7 kB / 0.564 GB, free: 14.69 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.684e-05/0.6044, allocations: 47.2 kB / 0.564 GB, free: 14.64 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/0.6044, allocations: 0 / 0.564 GB, free: 14.64 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.6046, allocations: 323 kB / 0.5643 GB, free: 14.32 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.6047, allocations: 55.97 kB / 0.5644 GB, free: 14.26 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.6049, allocations: 55.83 kB / 0.5644 GB, free: 14.21 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.6051, allocations: 62 kB / 0.5645 GB, free: 14.15 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6051, allocations: 0 / 0.5645 GB, free: 14.15 MB / 411.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004189/0.6055, allocations: 165.5 kB / 0.5647 GB, free: 13.98 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.6056, allocations: 8 kB / 0.5647 GB, free: 13.97 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.6056, allocations: 0 / 0.5647 GB, free: 13.97 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.6056, allocations: 0 / 0.5647 GB, free: 13.97 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.6059, allocations: 39.91 kB / 0.5647 GB, free: 13.93 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.6059, allocations: 0 / 0.5647 GB, free: 13.93 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.6061, allocations: 15.94 kB / 0.5647 GB, free: 13.92 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.6061, allocations: 8 kB / 0.5647 GB, free: 13.91 MB / 411.1 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 (17): * Single equations (assignments): 17 * 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.0001044/0.6062, allocations: 112.9 kB / 0.5648 GB, free: 13.79 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.6064, allocations: 43.38 kB / 0.5649 GB, free: 13.75 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006749/0.607, allocations: 250.6 kB / 0.5651 GB, free: 13.5 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.6071, allocations: 0 / 0.5651 GB, free: 13.5 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.6071, allocations: 4 kB / 0.5651 GB, free: 13.49 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.6071, allocations: 0 / 0.5651 GB, free: 13.49 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.6085, allocations: 0.6704 MB / 0.5658 GB, free: 12.78 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.6085, allocations: 0 / 0.5658 GB, free: 12.78 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.6088, allocations: 31.98 kB / 0.5658 GB, free: 12.75 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.397e-06/0.6088, allocations: 4 kB / 0.5658 GB, free: 12.74 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.6088, allocations: 0 / 0.5658 GB, free: 12.74 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.6088, allocations: 3.938 kB / 0.5658 GB, free: 12.74 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.6088, allocations: 0 / 0.5658 GB, free: 12.74 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005767/0.6094, allocations: 312.3 kB / 0.5661 GB, free: 12.42 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002242/0.6097, allocations: 148.6 kB / 0.5663 GB, free: 12.25 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.869e-05/0.6097, allocations: 0 / 0.5663 GB, free: 12.25 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.6099, allocations: 8 kB / 0.5663 GB, free: 12.25 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.61, allocations: 11.98 kB / 0.5663 GB, free: 12.23 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.61, allocations: 7.984 kB / 0.5663 GB, free: 12.23 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.000692/0.6107, allocations: 378.9 kB / 0.5666 GB, free: 11.86 MB / 411.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6108, allocations: 7.938 kB / 0.5667 GB, free: 11.85 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005091/0.6113, allocations: 67.88 kB / 0.5667 GB, free: 11.79 MB / 411.1 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 (17): * Single equations (assignments): 17 * 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.001805/0.6131, allocations: 0.582 MB / 0.5673 GB, free: 11.25 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0004195/0.6135, allocations: 139.8 kB / 0.5674 GB, free: 11.11 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6135, allocations: 0 / 0.5674 GB, free: 11.11 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.6137, allocations: 75.92 kB / 0.5675 GB, free: 11.04 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000674/0.6144, allocations: 69.64 kB / 0.5676 GB, free: 10.97 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.6159, allocations: 0.5757 MB / 0.5681 GB, free: 10.37 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005644/0.6165, allocations: 0.8296 MB / 0.5689 GB, free: 9.504 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.6167, allocations: 39.42 kB / 0.569 GB, free: 9.465 MB / 411.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6167, allocations: 0 / 0.569 GB, free: 9.465 MB / 411.1 MB Notification: Performance of Templates: time 0.01298/0.6297, allocations: 4.922 MB / 0.5738 GB, free: 4.539 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches