Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002095/0.002099, allocations: 178.3 kB / 8.359 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 93.94 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2898/0.2898, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.179e-05/2.178e-05, allocations: 4 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3932, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1602/0.5535, allocations: 87.67 MB / 0.5515 GB, free: 11.61 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.5538, allocations: 79.45 kB / 0.5516 GB, free: 11.54 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03567/0.5895, allocations: 8.547 MB / 0.5599 GB, free: 2.977 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5895, allocations: 0 / 0.5599 GB, free: 2.977 MB / 395.1 MB Notification: Performance of Transformations before backend: time 4.988e-05/0.5896, allocations: 8 kB / 0.5599 GB, free: 2.969 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000955/0.5905, allocations: 0.6181 MB / 0.5606 GB, free: 2.305 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.5906, allocations: 8.031 kB / 0.5606 GB, free: 2.297 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.5907, allocations: 55.3 kB / 0.5606 GB, free: 2.242 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.5919, allocations: 479 kB / 0.5611 GB, free: 1.734 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.5919, allocations: 4 kB / 0.5611 GB, free: 1.73 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.689e-05/0.592, allocations: 15.84 kB / 0.5611 GB, free: 1.715 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002449/0.5923, allocations: 67.97 kB / 0.5612 GB, free: 1.648 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/0.5926, allocations: 132.9 kB / 0.5613 GB, free: 1.508 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.5926, allocations: 0 / 0.5613 GB, free: 1.508 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.5926, allocations: 3.953 kB / 0.5613 GB, free: 1.504 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.5927, allocations: 4 kB / 0.5613 GB, free: 1.5 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.5942, allocations: 0.6882 MB / 0.562 GB, free: 0.7695 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.5945, allocations: 101.2 kB / 0.5621 GB, free: 0.6523 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.968e-05/0.5946, allocations: 33.84 kB / 0.5621 GB, free: 0.6133 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.859e-05/0.5947, allocations: 3.984 kB / 0.5621 GB, free: 0.6094 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.5947, allocations: 42.5 kB / 0.5621 GB, free: 0.5586 MB / 395.1 MB Notification: Performance of pre-optimization done (n=10): time 2.505e-06/0.5947, allocations: 0 / 0.5621 GB, free: 0.5586 MB / 395.1 MB Notification: Performance of matching and sorting (n=16): time 0.001742/0.5965, allocations: 458.1 kB / 0.5626 GB, free: 104 kB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.5966, allocations: 81.11 kB / 0.5626 GB, free: 4 kB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/0.5982, allocations: 0.7366 MB / 0.5634 GB, free: 15.26 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/0.5983, allocations: 25.7 kB / 0.5634 GB, free: 15.23 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000251/0.5986, allocations: 274.7 kB / 0.5637 GB, free: 14.96 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.108e-05/0.5987, allocations: 47.2 kB / 0.5637 GB, free: 14.91 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.303e-05/0.5987, allocations: 0 / 0.5637 GB, free: 14.91 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.5988, allocations: 330.8 kB / 0.564 GB, free: 14.58 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.599, allocations: 47.92 kB / 0.5641 GB, free: 14.53 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.5992, allocations: 57.7 kB / 0.5641 GB, free: 14.47 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.5993, allocations: 51.97 kB / 0.5642 GB, free: 14.42 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5994, allocations: 0 / 0.5642 GB, free: 14.42 MB / 411.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004858/0.5999, allocations: 145.5 kB / 0.5643 GB, free: 14.27 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.5999, allocations: 4 kB / 0.5643 GB, free: 14.27 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.5999, allocations: 4 kB / 0.5643 GB, free: 14.26 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.5999, allocations: 4 kB / 0.5643 GB, free: 14.26 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.6003, allocations: 43.91 kB / 0.5644 GB, free: 14.21 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.6004, allocations: 3.984 kB / 0.5644 GB, free: 14.21 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/0.6007, allocations: 12 kB / 0.5644 GB, free: 14.2 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.6007, allocations: 7.984 kB / 0.5644 GB, free: 14.19 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001152/0.6009, allocations: 112.9 kB / 0.5645 GB, free: 14.07 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.601, allocations: 51.34 kB / 0.5645 GB, free: 14.02 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007525/0.6018, allocations: 242.6 kB / 0.5648 GB, free: 13.77 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.6018, allocations: 0 / 0.5648 GB, free: 13.77 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.6019, allocations: 3.938 kB / 0.5648 GB, free: 13.77 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.505e-06/0.6019, allocations: 3.984 kB / 0.5648 GB, free: 13.77 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.6036, allocations: 0.8066 MB / 0.5656 GB, free: 12.91 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.6036, allocations: 0 / 0.5656 GB, free: 12.91 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003464/0.604, allocations: 39.97 kB / 0.5656 GB, free: 12.88 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.604, allocations: 0 / 0.5656 GB, free: 12.88 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.604, allocations: 15.92 kB / 0.5656 GB, free: 12.86 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.604, allocations: 4 kB / 0.5656 GB, free: 12.86 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.604, allocations: 0 / 0.5656 GB, free: 12.86 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006134/0.6047, allocations: 391.6 kB / 0.566 GB, free: 12.45 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003598/0.605, allocations: 176.4 kB / 0.5662 GB, free: 12.26 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.215e-05/0.6051, allocations: 0 / 0.5662 GB, free: 12.26 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003641/0.6055, allocations: 19.98 kB / 0.5662 GB, free: 12.24 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.966e-05/0.6056, allocations: 15.94 kB / 0.5662 GB, free: 12.22 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.6056, allocations: 8.359 kB / 0.5662 GB, free: 12.21 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.001147/0.6068, allocations: 0.5848 MB / 0.5668 GB, free: 11.63 MB / 411.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6068, allocations: 0 / 0.5668 GB, free: 11.63 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0006088/0.6074, allocations: 71.92 kB / 0.5668 GB, free: 11.56 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.001071/0.6085, allocations: 348.2 kB / 0.5672 GB, free: 11.27 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0004304/0.609, allocations: 115.9 kB / 0.5673 GB, free: 11.15 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.609, allocations: 0 / 0.5673 GB, free: 11.15 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.6092, allocations: 67.92 kB / 0.5673 GB, free: 11.09 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00076/0.61, allocations: 68.88 kB / 0.5674 GB, free: 11.02 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.612, allocations: 0.7643 MB / 0.5682 GB, free: 10.22 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006536/0.6127, allocations: 0.877 MB / 0.569 GB, free: 9.316 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000285/0.613, allocations: 47.36 kB / 0.5691 GB, free: 9.27 MB / 411.1 MB Notification: Performance of SimCode: time 9.01e-07/0.613, allocations: 0 / 0.5691 GB, free: 9.27 MB / 411.1 MB Notification: Performance of Templates: time 0.01432/0.6273, allocations: 5.885 MB / 0.5748 GB, free: 3.383 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches