Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002349/0.002349, allocations: 182.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.07/2.07, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001112/0.001112, allocations: 90.64 kB / 267.5 MB, free: 14.05 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.289/0.289, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.673e-05/4.689e-05, allocations: 7.984 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1392, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5298/0.669, allocations: 87.13 MB / 0.5579 GB, free: 500 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.6693, allocations: 76.36 kB / 0.558 GB, free: 460 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01948/0.6888, allocations: 4.449 MB / 0.5623 GB, free: 12.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.6889, allocations: 0 / 0.5623 GB, free: 12.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.033e-05/0.6889, allocations: 4 kB / 0.5623 GB, free: 12.62 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005461/0.6895, allocations: 393.9 kB / 0.5627 GB, free: 12.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.6896, allocations: 12.03 kB / 0.5627 GB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/0.6896, allocations: 15.77 kB / 0.5627 GB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.69, allocations: 207.4 kB / 0.5629 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.69, allocations: 0 / 0.5629 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.6901, allocations: 7.625 kB / 0.5629 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.6902, allocations: 53.38 kB / 0.563 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.6903, allocations: 0 / 0.563 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.6903, allocations: 0 / 0.563 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.6903, allocations: 0 / 0.563 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.063e-05/0.6904, allocations: 19.92 kB / 0.563 GB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006614/0.6911, allocations: 343.1 kB / 0.5633 GB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.6912, allocations: 37.56 kB / 0.5633 GB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.664e-05/0.6913, allocations: 16.8 kB / 0.5634 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.6913, allocations: 0 / 0.5634 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.6914, allocations: 30.56 kB / 0.5634 GB, free: 11.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.6914, allocations: 0 / 0.5634 GB, free: 11.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007285/0.6921, allocations: 175.6 kB / 0.5636 GB, free: 11.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.6922, allocations: 55.41 kB / 0.5636 GB, free: 11.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.6925, allocations: 186 kB / 0.5638 GB, free: 11.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.6925, allocations: 33.58 kB / 0.5638 GB, free: 10.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.536e-05/0.6926, allocations: 162 kB / 0.564 GB, free: 10.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/0.6927, allocations: 23.64 kB / 0.564 GB, free: 10.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-06/0.6927, allocations: 3.938 kB / 0.564 GB, free: 10.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.6929, allocations: 314.8 kB / 0.5643 GB, free: 10.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.693, allocations: 19.75 kB / 0.5643 GB, free: 10.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.694e-05/0.6931, allocations: 31.3 kB / 0.5643 GB, free: 10.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.351e-05/0.6931, allocations: 23.88 kB / 0.5644 GB, free: 10.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6931, allocations: 0 / 0.5644 GB, free: 10.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002285/0.6934, allocations: 84.33 kB / 0.5645 GB, free: 10.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.6934, allocations: 8 kB / 0.5645 GB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.6934, allocations: 0 / 0.5645 GB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.6935, allocations: 3.953 kB / 0.5645 GB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.6937, allocations: 27.97 kB / 0.5645 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.6937, allocations: 4 kB / 0.5645 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.6939, allocations: 12 kB / 0.5645 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.6939, allocations: 4 kB / 0.5645 GB, free: 10.32 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 (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 9.366e-05/0.694, allocations: 112.7 kB / 0.5646 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.6941, allocations: 7.906 kB / 0.5646 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/0.6944, allocations: 114.2 kB / 0.5647 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.6944, allocations: 3.953 kB / 0.5647 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.6944, allocations: 0 / 0.5647 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.6945, allocations: 0 / 0.5647 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006661/0.6951, allocations: 395.6 kB / 0.5651 GB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.6951, allocations: 3.938 kB / 0.5651 GB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.6953, allocations: 35.47 kB / 0.5652 GB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.6954, allocations: 3.953 kB / 0.5652 GB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.6954, allocations: 0 / 0.5652 GB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.6954, allocations: 0 / 0.5652 GB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6954, allocations: 4 kB / 0.5652 GB, free: 9.652 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.6957, allocations: 186.7 kB / 0.5653 GB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-05/0.6958, allocations: 89.02 kB / 0.5654 GB, free: 9.367 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.6959, allocations: 3.953 kB / 0.5654 GB, free: 9.363 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.696, allocations: 19.86 kB / 0.5654 GB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/0.6961, allocations: 7.984 kB / 0.5655 GB, free: 9.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.6961, allocations: 4 kB / 0.5655 GB, free: 9.336 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002152/0.6964, allocations: 155 kB / 0.5656 GB, free: 9.207 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6964, allocations: 0 / 0.5656 GB, free: 9.207 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003376/0.6967, allocations: 27.67 kB / 0.5656 GB, free: 9.184 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 (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.001144/0.6979, allocations: 374.6 kB / 0.566 GB, free: 8.871 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002478/0.6981, allocations: 55.11 kB / 0.566 GB, free: 8.832 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.6982, allocations: 0 / 0.566 GB, free: 8.832 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.301e-05/0.6983, allocations: 35.48 kB / 0.5661 GB, free: 8.809 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.6986, allocations: 22.02 kB / 0.5661 GB, free: 8.793 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006134/0.6992, allocations: 214.3 kB / 0.5663 GB, free: 8.574 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.6996, allocations: 0.7294 MB / 0.567 GB, free: 7.824 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.33e-05/0.6997, allocations: 11.44 kB / 0.567 GB, free: 7.812 MB / 378.7 MB Notification: Performance of SimCode: time 1.312e-06/0.6997, allocations: 3.938 kB / 0.567 GB, free: 7.809 MB / 378.7 MB Notification: Performance of Templates: time 0.005669/0.7054, allocations: 1.836 MB / 0.5688 GB, free: 5.984 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches