Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008376/0.0008375, allocations: 179.4 kB / 18.09 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.203/1.203, allocations: 223.3 MB / 242.1 MB, free: 9.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000777/0.000777, allocations: 100.5 kB / 293.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2736/0.2736, allocations: 44.15 MB / 388.5 MB, free: 38.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003356, allocations: 12 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2543, allocations: 61.88 MB / 0.5107 GB, free: 37.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09414/0.3484, allocations: 90.78 MB / 0.5994 GB, free: 4.273 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/0.3487, allocations: 71.95 kB / 0.5995 GB, free: 4.207 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02219/0.3709, allocations: 9.521 MB / 0.6087 GB, free: 10.67 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3709, allocations: 4 kB / 0.6088 GB, free: 10.67 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.638e-05/0.3709, allocations: 8 kB / 0.6088 GB, free: 10.66 MB / 426.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.0006452/0.3716, allocations: 0.6344 MB / 0.6094 GB, free: 9.973 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.3716, allocations: 8.031 kB / 0.6094 GB, free: 9.965 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.665e-05/0.3717, allocations: 40.47 kB / 0.6094 GB, free: 9.926 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000417/0.3721, allocations: 354 kB / 0.6098 GB, free: 9.539 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.3722, allocations: 8.375 kB / 0.6098 GB, free: 9.531 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.3722, allocations: 12.38 kB / 0.6098 GB, free: 9.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.3724, allocations: 103.3 kB / 0.6099 GB, free: 9.414 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.3724, allocations: 192 / 0.6099 GB, free: 9.414 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.3724, allocations: 19.88 kB / 0.6099 GB, free: 9.395 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3724, allocations: 11.92 kB / 0.6099 GB, free: 9.383 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.3726, allocations: 75.89 kB / 0.61 GB, free: 9.309 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005801/0.3732, allocations: 0.5002 MB / 0.6105 GB, free: 8.758 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.3733, allocations: 98.55 kB / 0.6106 GB, free: 8.652 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.574e-05/0.3734, allocations: 32.84 kB / 0.6106 GB, free: 8.617 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.3735, allocations: 4 kB / 0.6106 GB, free: 8.613 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.3735, allocations: 34.5 kB / 0.6106 GB, free: 8.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.3735, allocations: 0 / 0.6106 GB, free: 8.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008314/0.3743, allocations: 398.1 kB / 0.611 GB, free: 8.176 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.3744, allocations: 55.41 kB / 0.6111 GB, free: 8.109 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000569/0.375, allocations: 0.5369 MB / 0.6116 GB, free: 7.566 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.375, allocations: 29.7 kB / 0.6116 GB, free: 7.531 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.3751, allocations: 200.3 kB / 0.6118 GB, free: 7.332 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.138e-05/0.3752, allocations: 51.27 kB / 0.6119 GB, free: 7.281 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.3752, allocations: 4 kB / 0.6119 GB, free: 7.277 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.3753, allocations: 350.8 kB / 0.6122 GB, free: 6.926 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.3754, allocations: 55.88 kB / 0.6123 GB, free: 6.871 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.3755, allocations: 55.97 kB / 0.6123 GB, free: 6.816 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.3757, allocations: 126.1 kB / 0.6124 GB, free: 6.691 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3757, allocations: 0 / 0.6124 GB, free: 6.691 MB / 426.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003062/0.376, allocations: 214.5 kB / 0.6126 GB, free: 6.477 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.3761, allocations: 8 kB / 0.6126 GB, free: 6.469 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3761, allocations: 0 / 0.6126 GB, free: 6.469 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.3761, allocations: 0 / 0.6126 GB, free: 6.469 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.3762, allocations: 31.98 kB / 0.6127 GB, free: 6.438 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3762, allocations: 3.984 kB / 0.6127 GB, free: 6.434 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.558e-05/0.3763, allocations: 15.94 kB / 0.6127 GB, free: 6.418 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.3763, allocations: 8 kB / 0.6127 GB, free: 6.41 MB / 426.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.0001363/0.3765, allocations: 177.7 kB / 0.6129 GB, free: 6.227 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.013e-05/0.3766, allocations: 39.47 kB / 0.6129 GB, free: 6.188 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004108/0.377, allocations: 247.5 kB / 0.6131 GB, free: 5.934 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.377, allocations: 0 / 0.6131 GB, free: 5.934 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.377, allocations: 0 / 0.6131 GB, free: 5.934 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.377, allocations: 0 / 0.6131 GB, free: 5.934 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007749/0.3778, allocations: 0.6854 MB / 0.6138 GB, free: 5.191 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3778, allocations: 3.938 kB / 0.6138 GB, free: 5.188 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.3779, allocations: 35.98 kB / 0.6138 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.3779, allocations: 3.984 kB / 0.6138 GB, free: 5.148 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3779, allocations: 7.938 kB / 0.6139 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3779, allocations: 0 / 0.6139 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3779, allocations: 0 / 0.6139 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.3783, allocations: 312.7 kB / 0.6142 GB, free: 4.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.3784, allocations: 148.6 kB / 0.6143 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.3785, allocations: 0 / 0.6143 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.3786, allocations: 16 kB / 0.6143 GB, free: 4.641 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.3786, allocations: 11.98 kB / 0.6143 GB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.3786, allocations: 7.938 kB / 0.6143 GB, free: 4.621 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000403/0.379, allocations: 399.1 kB / 0.6147 GB, free: 4.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3791, allocations: 0 / 0.6147 GB, free: 4.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00029/0.3793, allocations: 67.94 kB / 0.6148 GB, free: 4.164 MB / 426.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.001326/0.3807, allocations: 0.7156 MB / 0.6155 GB, free: 3.762 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002775/0.381, allocations: 142.4 kB / 0.6156 GB, free: 3.625 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.381, allocations: 0 / 0.6156 GB, free: 3.625 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.3811, allocations: 79.91 kB / 0.6157 GB, free: 3.547 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.3815, allocations: 62.39 kB / 0.6157 GB, free: 3.488 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009399/0.3825, allocations: 0.7361 MB / 0.6165 GB, free: 2.719 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.3828, allocations: 0.8106 MB / 0.6173 GB, free: 1.883 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001227/0.383, allocations: 53.91 kB / 0.6173 GB, free: 1.832 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.231e-05/0.383, allocations: 31.42 kB / 0.6173 GB, free: 1.801 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.383, allocations: 4 kB / 0.6173 GB, free: 1.797 MB / 426.7 MB Notification: Performance of Templates: time 0.00612/0.3892, allocations: 3.554 MB / 0.6208 GB, free: 14.26 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches