Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28") translateModel(ModelicaTest.Tables.CombiTable2D.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002589/0.002589, allocations: 186.2 kB / 16.41 MB, free: 5.723 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.917/1.917, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001156/0.001156, allocations: 85.8 kB / 270.9 MB, free: 8.391 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.5065/0.5065, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004826/0.0004827, allocations: 12 kB / 431.4 MB, free: 6.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1358, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4945/0.6303, allocations: 86.83 MB / 0.5635 GB, free: 15.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000408/0.6308, allocations: 75.95 kB / 0.5636 GB, free: 15.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02125/0.6521, allocations: 4.237 MB / 0.5677 GB, free: 11.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6521, allocations: 4 kB / 0.5677 GB, free: 11.62 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.6521, allocations: 4 kB / 0.5678 GB, free: 11.62 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006238/0.6528, allocations: 413.6 kB / 0.5681 GB, free: 11.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.6528, allocations: 12.02 kB / 0.5682 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.212e-05/0.6529, allocations: 13.34 kB / 0.5682 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.6532, allocations: 208.2 kB / 0.5684 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.6532, allocations: 0 / 0.5684 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.6533, allocations: 8 kB / 0.5684 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.6535, allocations: 62.33 kB / 0.5684 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.6535, allocations: 0 / 0.5684 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.6535, allocations: 1.031 kB / 0.5684 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.6536, allocations: 0 / 0.5684 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002342/0.6538, allocations: 43.97 kB / 0.5685 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.6543, allocations: 300.7 kB / 0.5688 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.6545, allocations: 50.55 kB / 0.5688 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.6546, allocations: 7.375 kB / 0.5688 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.6546, allocations: 34.56 kB / 0.5689 GB, free: 10.35 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.904e-06/0.6546, allocations: 0 / 0.5689 GB, free: 10.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001259/0.6559, allocations: 249.3 kB / 0.5691 GB, free: 10.1 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.6559, allocations: 55.41 kB / 0.5691 GB, free: 10.03 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.6562, allocations: 169.3 kB / 0.5693 GB, free: 9.859 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.6563, allocations: 25.7 kB / 0.5693 GB, free: 9.828 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.323e-05/0.6564, allocations: 166.6 kB / 0.5695 GB, free: 9.664 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.6564, allocations: 27.64 kB / 0.5695 GB, free: 9.637 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.204e-06/0.6564, allocations: 0 / 0.5695 GB, free: 9.637 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.6566, allocations: 314.8 kB / 0.5698 GB, free: 9.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.6568, allocations: 40.52 kB / 0.5699 GB, free: 9.281 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.657, allocations: 39.97 kB / 0.5699 GB, free: 9.242 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.6572, allocations: 47.91 kB / 0.5699 GB, free: 9.195 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.6573, allocations: 0 / 0.5699 GB, free: 9.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004981/0.6578, allocations: 126.3 kB / 0.5701 GB, free: 9.066 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.6578, allocations: 8.531 kB / 0.5701 GB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.6578, allocations: 0 / 0.5701 GB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.6578, allocations: 3.953 kB / 0.5701 GB, free: 9.055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.658, allocations: 23.98 kB / 0.5701 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.6581, allocations: 4 kB / 0.5701 GB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.6582, allocations: 15.92 kB / 0.5701 GB, free: 9.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.6582, allocations: 4 kB / 0.5701 GB, free: 9.008 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 (7): * Single equations (assignments): 7 * 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.0001367/0.6584, allocations: 125.8 kB / 0.5702 GB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/0.6584, allocations: 7.906 kB / 0.5702 GB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006296/0.6591, allocations: 150.6 kB / 0.5704 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.6591, allocations: 3.984 kB / 0.5704 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.6591, allocations: 4.828 kB / 0.5704 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.6591, allocations: 0 / 0.5704 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008768/0.66, allocations: 418.7 kB / 0.5708 GB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.6601, allocations: 4 kB / 0.5708 GB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.6602, allocations: 23.98 kB / 0.5708 GB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.6602, allocations: 0 / 0.5708 GB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.6603, allocations: 11.95 kB / 0.5708 GB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.6603, allocations: 0 / 0.5708 GB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.6603, allocations: 7.984 kB / 0.5708 GB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00055/0.6609, allocations: 228 kB / 0.5711 GB, free: 7.957 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.32e-05/0.661, allocations: 89 kB / 0.5711 GB, free: 7.852 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.661, allocations: 8 kB / 0.5711 GB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.6612, allocations: 19.94 kB / 0.5712 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.6612, allocations: 7.984 kB / 0.5712 GB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.6613, allocations: 0 / 0.5712 GB, free: 7.816 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002029/0.6615, allocations: 151.8 kB / 0.5713 GB, free: 7.672 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6615, allocations: 0 / 0.5713 GB, free: 7.672 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003454/0.6618, allocations: 27.94 kB / 0.5713 GB, free: 7.645 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 (7): * Single equations (assignments): 7 * 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.00128/0.6631, allocations: 408.2 kB / 0.5717 GB, free: 7.336 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005599/0.6637, allocations: 91.92 kB / 0.5718 GB, free: 7.246 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.902e-06/0.6637, allocations: 4 kB / 0.5718 GB, free: 7.242 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.664, allocations: 51.91 kB / 0.5719 GB, free: 7.191 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.6643, allocations: 12 kB / 0.5719 GB, free: 7.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006989/0.665, allocations: 273.1 kB / 0.5721 GB, free: 6.887 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.6654, allocations: 0.716 MB / 0.5728 GB, free: 6.145 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.454e-05/0.6655, allocations: 11.44 kB / 0.5729 GB, free: 6.133 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/0.6655, allocations: 0 / 0.5729 GB, free: 6.133 MB / 394.7 MB Notification: Performance of Templates: time 0.004969/0.6705, allocations: 1.691 MB / 0.5745 GB, free: 4.441 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches