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.00108/0.00108, allocations: 172.4 kB / 16.76 MB, free: 5.055 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.473/1.473, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0008227/0.0008226, allocations: 94.33 kB / 271.3 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.41/0.41, allocations: 43.56 MB / 363.1 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004327/0.0004329, allocations: 16 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1435, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4062/0.5497, allocations: 88.79 MB / 0.5667 GB, free: 13.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003861/0.5502, allocations: 75.95 kB / 0.5667 GB, free: 13.13 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02344/0.5737, allocations: 8.908 MB / 0.5754 GB, free: 4.266 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.5737, allocations: 4 kB / 0.5754 GB, free: 4.262 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.048e-05/0.5738, allocations: 11.98 kB / 0.5754 GB, free: 4.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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001069/0.5749, allocations: 0.6223 MB / 0.5761 GB, free: 3.578 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.352e-05/0.575, allocations: 12.03 kB / 0.5761 GB, free: 3.566 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.5751, allocations: 36.47 kB / 0.5761 GB, free: 3.531 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006425/0.5758, allocations: 362 kB / 0.5764 GB, free: 3.137 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.5758, allocations: 8.359 kB / 0.5765 GB, free: 3.129 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.5759, allocations: 12.38 kB / 0.5765 GB, free: 3.117 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.5761, allocations: 109.3 kB / 0.5766 GB, free: 3.008 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.5762, allocations: 4.172 kB / 0.5766 GB, free: 3.004 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.5762, allocations: 7.938 kB / 0.5766 GB, free: 2.996 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.5762, allocations: 7.984 kB / 0.5766 GB, free: 2.988 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.5764, allocations: 71.89 kB / 0.5767 GB, free: 2.918 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008599/0.5772, allocations: 0.5042 MB / 0.5771 GB, free: 2.363 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.5774, allocations: 86.55 kB / 0.5772 GB, free: 2.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.681e-05/0.5775, allocations: 36.84 kB / 0.5773 GB, free: 2.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.5776, allocations: 7.984 kB / 0.5773 GB, free: 2.223 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.5776, allocations: 38.5 kB / 0.5773 GB, free: 2.176 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.854e-06/0.5776, allocations: 0 / 0.5773 GB, free: 2.176 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001014/0.5786, allocations: 392.8 kB / 0.5777 GB, free: 1.785 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.5787, allocations: 59.39 kB / 0.5777 GB, free: 1.715 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006844/0.5794, allocations: 0.5214 MB / 0.5783 GB, free: 1.188 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.5794, allocations: 29.7 kB / 0.5783 GB, free: 1.152 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.5796, allocations: 208.3 kB / 0.5785 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.715e-05/0.5797, allocations: 55.19 kB / 0.5785 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-06/0.5797, allocations: 4 kB / 0.5785 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.5799, allocations: 358.8 kB / 0.5789 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.58, allocations: 51.89 kB / 0.5789 GB, free: 488 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.942e-05/0.5801, allocations: 51.97 kB / 0.579 GB, free: 436 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.5803, allocations: 130.5 kB / 0.5791 GB, free: 304 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.5803, allocations: 0 / 0.5791 GB, free: 304 kB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003612/0.5807, allocations: 209 kB / 0.5793 GB, free: 88 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.5807, allocations: 4 kB / 0.5793 GB, free: 84 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.5807, allocations: 0 / 0.5793 GB, free: 84 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.5808, allocations: 4 kB / 0.5793 GB, free: 80 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.5809, allocations: 39.97 kB / 0.5793 GB, free: 40 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.581, allocations: 3.938 kB / 0.5793 GB, free: 36 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.781e-05/0.5811, allocations: 15.94 kB / 0.5794 GB, free: 20 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.5811, allocations: 4 kB / 0.5794 GB, free: 16 kB / 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.0001971/0.5813, allocations: 177.7 kB / 0.5795 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-05/0.5814, allocations: 43.47 kB / 0.5796 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004523/0.5818, allocations: 244.1 kB / 0.5798 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.5819, allocations: 4 kB / 0.5798 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5819, allocations: 0 / 0.5798 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.5819, allocations: 0 / 0.5798 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009083/0.5828, allocations: 0.6893 MB / 0.5805 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5828, allocations: 4 kB / 0.5805 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.5829, allocations: 39.97 kB / 0.5805 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.5829, allocations: 0 / 0.5805 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.583, allocations: 0 / 0.5805 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.583, allocations: 4 kB / 0.5805 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.583, allocations: 0 / 0.5805 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003917/0.5834, allocations: 313.6 kB / 0.5808 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.5835, allocations: 144.6 kB / 0.581 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.741e-05/0.5836, allocations: 0 / 0.581 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.5837, allocations: 12 kB / 0.581 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.5837, allocations: 11.98 kB / 0.581 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.5838, allocations: 11.92 kB / 0.581 GB, free: 14.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004872/0.5843, allocations: 399.1 kB / 0.5814 GB, free: 13.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-07/0.5843, allocations: 0 / 0.5814 GB, free: 13.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000351/0.5846, allocations: 71.94 kB / 0.5815 GB, free: 13.77 MB / 410.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.001735/0.5864, allocations: 0.7104 MB / 0.5821 GB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003312/0.5867, allocations: 147.7 kB / 0.5823 GB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5867, allocations: 4 kB / 0.5823 GB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.5869, allocations: 71.91 kB / 0.5824 GB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005098/0.5874, allocations: 69.48 kB / 0.5824 GB, free: 12.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.5886, allocations: 0.7344 MB / 0.5831 GB, free: 12.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.589, allocations: 0.8105 MB / 0.5839 GB, free: 11.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001591/0.5892, allocations: 57.89 kB / 0.584 GB, free: 11.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.511e-05/0.5893, allocations: 35.42 kB / 0.584 GB, free: 11.2 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.5893, allocations: 0 / 0.584 GB, free: 11.2 MB / 410.7 MB Notification: Performance of Templates: time 0.007934/0.5972, allocations: 3.538 MB / 0.5875 GB, free: 7.664 MB / 410.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/jenkins1/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