Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002375/0.002375, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.171/2.171, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001037/0.001037, allocations: 94.69 kB / 267.5 MB, free: 14.03 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.2785/0.2785, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.332e-05/3.345e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1178, allocations: 58.86 MB / 484.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4985/0.6164, allocations: 88.65 MB / 0.5594 GB, free: 14.9 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.6167, allocations: 72.62 kB / 0.5594 GB, free: 14.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03666/0.6534, allocations: 8.898 MB / 0.5681 GB, free: 7.289 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.749e-06/0.6534, allocations: 0 / 0.5681 GB, free: 7.289 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.007e-05/0.6535, allocations: 7.938 kB / 0.5681 GB, free: 7.281 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.0008141/0.6543, allocations: 0.5493 MB / 0.5687 GB, free: 6.707 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.6544, allocations: 8.031 kB / 0.5687 GB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.6545, allocations: 39.48 kB / 0.5687 GB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007222/0.6552, allocations: 343.9 kB / 0.569 GB, free: 6.309 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.6553, allocations: 7.312 kB / 0.569 GB, free: 6.305 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.6553, allocations: 11.59 kB / 0.5691 GB, free: 6.297 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.6556, allocations: 102.7 kB / 0.5692 GB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.87e-05/0.6556, allocations: 4 kB / 0.5692 GB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.6557, allocations: 7.312 kB / 0.5692 GB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.6557, allocations: 4 kB / 0.5692 GB, free: 6.203 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.6559, allocations: 65 kB / 0.5692 GB, free: 6.156 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009443/0.6568, allocations: 0.4886 MB / 0.5697 GB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.6571, allocations: 92.81 kB / 0.5698 GB, free: 5.613 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.417e-05/0.6571, allocations: 30.62 kB / 0.5698 GB, free: 5.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.494e-05/0.6572, allocations: 7.938 kB / 0.5698 GB, free: 5.582 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.6572, allocations: 34.5 kB / 0.5699 GB, free: 5.539 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.824e-06/0.6572, allocations: 0 / 0.5699 GB, free: 5.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001055/0.6583, allocations: 328.2 kB / 0.5702 GB, free: 5.266 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.6584, allocations: 59.41 kB / 0.5702 GB, free: 5.195 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009133/0.6593, allocations: 491.5 kB / 0.5707 GB, free: 4.805 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.6593, allocations: 25.7 kB / 0.5707 GB, free: 4.773 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.6595, allocations: 242.6 kB / 0.571 GB, free: 4.602 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.439e-05/0.6596, allocations: 58.19 kB / 0.571 GB, free: 4.551 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.6596, allocations: 0 / 0.571 GB, free: 4.551 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.6598, allocations: 318.6 kB / 0.5713 GB, free: 4.234 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.6599, allocations: 37.56 kB / 0.5714 GB, free: 4.211 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.66, allocations: 38.5 kB / 0.5714 GB, free: 4.188 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.6602, allocations: 57.7 kB / 0.5715 GB, free: 4.148 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.6602, allocations: 0 / 0.5715 GB, free: 4.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003431/0.6605, allocations: 146.2 kB / 0.5716 GB, free: 4.035 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.6606, allocations: 4 kB / 0.5716 GB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.6606, allocations: 0 / 0.5716 GB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.6606, allocations: 4 kB / 0.5716 GB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.6609, allocations: 35.97 kB / 0.5716 GB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.6609, allocations: 0 / 0.5716 GB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.6611, allocations: 15.38 kB / 0.5716 GB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.6611, allocations: 7.953 kB / 0.5717 GB, free: 3.973 MB / 378.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 () * 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.00011/0.6612, allocations: 117.8 kB / 0.5718 GB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.6614, allocations: 35.53 kB / 0.5718 GB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000582/0.662, allocations: 215.1 kB / 0.572 GB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.662, allocations: 0 / 0.572 GB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.662, allocations: 4 kB / 0.572 GB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.662, allocations: 7.984 kB / 0.572 GB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.6632, allocations: 0.6526 MB / 0.5727 GB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6633, allocations: 4 kB / 0.5727 GB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.6635, allocations: 35.92 kB / 0.5727 GB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.6635, allocations: 3.984 kB / 0.5727 GB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.6636, allocations: 3.25 kB / 0.5727 GB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.6636, allocations: 11.95 kB / 0.5727 GB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.6636, allocations: 4 kB / 0.5727 GB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004676/0.6641, allocations: 273.3 kB / 0.573 GB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/0.6643, allocations: 143.3 kB / 0.5731 GB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.664e-05/0.6644, allocations: 6.812 kB / 0.5731 GB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.6646, allocations: 13.92 kB / 0.5731 GB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.6646, allocations: 18.44 kB / 0.5731 GB, free: 2.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.6647, allocations: 4 kB / 0.5732 GB, free: 2.562 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006898/0.6654, allocations: 392.2 kB / 0.5735 GB, free: 2.266 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.861e-06/0.6654, allocations: 0 / 0.5735 GB, free: 2.266 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004735/0.6659, allocations: 78.55 kB / 0.5736 GB, free: 2.195 MB / 378.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 () * 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.00187/0.6677, allocations: 0.6216 MB / 0.5742 GB, free: 1.637 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003125/0.6681, allocations: 111.6 kB / 0.5743 GB, free: 1.559 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.6681, allocations: 4 kB / 0.5743 GB, free: 1.555 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.6683, allocations: 64.34 kB / 0.5744 GB, free: 1.508 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005869/0.6689, allocations: 68.81 kB / 0.5744 GB, free: 1.461 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.6702, allocations: 0.5552 MB / 0.575 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/0.6707, allocations: 0.8094 MB / 0.5758 GB, free: 120 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.6709, allocations: 39.11 kB / 0.5758 GB, free: 84 kB / 378.7 MB Notification: Performance of SimCode: time 6.71e-07/0.6709, allocations: 0 / 0.5758 GB, free: 84 kB / 378.7 MB Notification: Performance of Templates: time 0.01111/0.682, allocations: 4.664 MB / 0.5804 GB, free: 11.44 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Tables.CombiTable2D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches