Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21") translateModel(ModelicaTest.Tables.CombiTable2D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001651/0.001651, allocations: 183.1 kB / 15.76 MB, free: 6.367 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.671/1.671, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0007858/0.0007858, allocations: 90.86 kB / 270.2 MB, free: 13.37 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.2418/0.2418, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003448, allocations: 12 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1449, allocations: 58.86 MB / 490.3 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4185/0.5635, allocations: 88.74 MB / 0.5654 GB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/0.5638, allocations: 69.25 kB / 0.5655 GB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02289/0.5867, allocations: 8.905 MB / 0.5742 GB, free: 3.406 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.5868, allocations: 0 / 0.5742 GB, free: 3.406 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.211e-05/0.5868, allocations: 8 kB / 0.5742 GB, free: 3.398 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008482/0.5877, allocations: 0.629 MB / 0.5748 GB, free: 2.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.5877, allocations: 12.03 kB / 0.5748 GB, free: 2.738 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.511e-05/0.5878, allocations: 43.39 kB / 0.5749 GB, free: 2.695 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005755/0.5884, allocations: 336.3 kB / 0.5752 GB, free: 2.348 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.5884, allocations: 11.81 kB / 0.5752 GB, free: 2.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.672e-05/0.5885, allocations: 11.88 kB / 0.5752 GB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.5888, allocations: 108.7 kB / 0.5753 GB, free: 2.242 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.5888, allocations: 4 kB / 0.5753 GB, free: 2.238 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.5888, allocations: 3.75 kB / 0.5753 GB, free: 2.238 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.5888, allocations: 4 kB / 0.5753 GB, free: 2.234 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.589, allocations: 71.22 kB / 0.5754 GB, free: 2.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006992/0.5897, allocations: 0.5087 MB / 0.5759 GB, free: 1.699 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.5899, allocations: 97.23 kB / 0.576 GB, free: 1.617 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.85e-05/0.5899, allocations: 7.984 kB / 0.576 GB, free: 1.609 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.59, allocations: 34.56 kB / 0.576 GB, free: 1.566 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.59, allocations: 0 / 0.576 GB, free: 1.566 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009006/0.5909, allocations: 395.2 kB / 0.5764 GB, free: 1.242 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.5909, allocations: 55.41 kB / 0.5764 GB, free: 1.176 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005548/0.5915, allocations: 488.8 kB / 0.5769 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.5915, allocations: 33.58 kB / 0.5769 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.5917, allocations: 201 kB / 0.5771 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/0.5917, allocations: 58.86 kB / 0.5772 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/0.5917, allocations: 3.875 kB / 0.5772 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.5919, allocations: 360.5 kB / 0.5775 GB, free: 228 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.592, allocations: 47.48 kB / 0.5776 GB, free: 196 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.5922, allocations: 54.84 kB / 0.5776 GB, free: 156 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.5923, allocations: 60.61 kB / 0.5777 GB, free: 116 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.5923, allocations: 4 kB / 0.5777 GB, free: 112 kB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003432/0.5926, allocations: 200.4 kB / 0.5779 GB, free: 15.95 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.5927, allocations: 6.5 kB / 0.5779 GB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.5927, allocations: 4 kB / 0.5779 GB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.5927, allocations: 0 / 0.5779 GB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.5928, allocations: 31.98 kB / 0.5779 GB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.5929, allocations: 4 kB / 0.5779 GB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.456e-05/0.593, allocations: 15.3 kB / 0.578 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.593, allocations: 7.938 kB / 0.578 GB, free: 15.88 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 (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.0001828/0.5932, allocations: 184.5 kB / 0.5781 GB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.132e-05/0.5932, allocations: 43.52 kB / 0.5782 GB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004558/0.5937, allocations: 243.6 kB / 0.5784 GB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.5937, allocations: 4 kB / 0.5784 GB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.5937, allocations: 3.938 kB / 0.5784 GB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.5937, allocations: 0 / 0.5784 GB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009264/0.5947, allocations: 0.6849 MB / 0.5791 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.5947, allocations: 0 / 0.5791 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.5948, allocations: 31.98 kB / 0.5791 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.5948, allocations: 0 / 0.5791 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.5948, allocations: 11.48 kB / 0.5791 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.5949, allocations: 7.953 kB / 0.5791 GB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5949, allocations: 0 / 0.5791 GB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000373/0.5952, allocations: 300.9 kB / 0.5794 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.5954, allocations: 139 kB / 0.5796 GB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.5955, allocations: 15.23 kB / 0.5796 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.5956, allocations: 11.56 kB / 0.5796 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.5957, allocations: 11.94 kB / 0.5796 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.5957, allocations: 7.938 kB / 0.5796 GB, free: 14.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004724/0.5961, allocations: 402.3 kB / 0.58 GB, free: 14.05 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5962, allocations: 0 / 0.58 GB, free: 14.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003428/0.5965, allocations: 66.5 kB / 0.58 GB, free: 13.99 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 (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.001674/0.5982, allocations: 0.7103 MB / 0.5807 GB, free: 13.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003332/0.5985, allocations: 142.5 kB / 0.5809 GB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.5985, allocations: 0 / 0.5809 GB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.5987, allocations: 80.78 kB / 0.581 GB, free: 13.17 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.5991, allocations: 69.12 kB / 0.581 GB, free: 13.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.6004, allocations: 0.7294 MB / 0.5817 GB, free: 12.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005324/0.6009, allocations: 0.8134 MB / 0.5825 GB, free: 11.59 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000171/0.6011, allocations: 53.91 kB / 0.5826 GB, free: 11.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.671e-05/0.6012, allocations: 34.67 kB / 0.5826 GB, free: 11.51 MB / 394.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6012, allocations: 0 / 0.5826 GB, free: 11.51 MB / 394.7 MB Notification: Performance of Templates: time 0.007655/0.6089, allocations: 3.526 MB / 0.5861 GB, free: 7.992 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches