Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5") translateModel(ModelicaTest.Tables.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00218/0.00218, allocations: 177.8 kB / 8.36 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.108/2.108, allocations: 205.3 MB / 214.1 MB, free: 14.12 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.001163/0.001163, allocations: 90.19 kB / 262.1 MB, free: 13.86 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.3399/0.3399, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.697e-05/1.705e-05, allocations: 4.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3975, allocations: 58.86 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1623/0.5599, allocations: 86.12 MB / 0.55 GB, free: 13.18 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/0.5603, allocations: 71.97 kB / 0.5501 GB, free: 13.11 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02872/0.589, allocations: 7.634 MB / 0.5575 GB, free: 5.461 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.589, allocations: 3.938 kB / 0.5575 GB, free: 5.457 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.962e-05/0.5891, allocations: 4 kB / 0.5575 GB, free: 5.453 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007549/0.5898, allocations: 0.5432 MB / 0.5581 GB, free: 4.867 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.5899, allocations: 12.03 kB / 0.5581 GB, free: 4.855 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.59, allocations: 51.39 kB / 0.5581 GB, free: 4.805 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006837/0.5907, allocations: 323.4 kB / 0.5584 GB, free: 4.449 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.5907, allocations: 0 / 0.5584 GB, free: 4.449 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.5908, allocations: 4 kB / 0.5584 GB, free: 4.445 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.355e-05/0.5909, allocations: 19.92 kB / 0.5585 GB, free: 4.426 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.591, allocations: 41.7 kB / 0.5585 GB, free: 4.379 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.591, allocations: 0 / 0.5585 GB, free: 4.379 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.591, allocations: 0 / 0.5585 GB, free: 4.379 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.5911, allocations: 3.953 kB / 0.5585 GB, free: 4.375 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007922/0.5919, allocations: 409.3 kB / 0.5589 GB, free: 3.938 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.5921, allocations: 38.61 kB / 0.5589 GB, free: 3.891 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.437e-05/0.5921, allocations: 12.84 kB / 0.5589 GB, free: 3.875 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.5922, allocations: 4 kB / 0.5589 GB, free: 3.871 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.5922, allocations: 34.56 kB / 0.559 GB, free: 3.828 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.823e-06/0.5922, allocations: 0 / 0.559 GB, free: 3.828 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005875/0.5928, allocations: 184.1 kB / 0.5592 GB, free: 3.641 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.5929, allocations: 55.34 kB / 0.5592 GB, free: 3.574 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001784/0.5947, allocations: 0.7512 MB / 0.5599 GB, free: 2.816 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.5947, allocations: 25.7 kB / 0.56 GB, free: 2.785 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.5949, allocations: 234.5 kB / 0.5602 GB, free: 2.555 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.595, allocations: 15.75 kB / 0.5602 GB, free: 2.539 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.595, allocations: 8.547 kB / 0.5602 GB, free: 2.531 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.5951, allocations: 310.8 kB / 0.5605 GB, free: 2.219 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.494e-05/0.5952, allocations: 8 kB / 0.5605 GB, free: 2.211 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.174e-05/0.5952, allocations: 8 kB / 0.5605 GB, free: 2.203 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.387e-05/0.5953, allocations: 15.98 kB / 0.5605 GB, free: 2.188 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5953, allocations: 3.938 kB / 0.5605 GB, free: 2.184 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001514/0.5955, allocations: 49.7 kB / 0.5606 GB, free: 2.129 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.5955, allocations: 4 kB / 0.5606 GB, free: 2.125 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.5955, allocations: 11.97 kB / 0.5606 GB, free: 2.113 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.5955, allocations: 7.953 kB / 0.5606 GB, free: 2.105 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.5957, allocations: 15.94 kB / 0.5606 GB, free: 2.09 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.5957, allocations: 0 / 0.5606 GB, free: 2.09 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.5959, allocations: 8.141 kB / 0.5606 GB, free: 2.082 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.5959, allocations: 0 / 0.5606 GB, free: 2.082 MB / 395.1 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 (5): * Single equations (assignments): 5 * 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 8.411e-05/0.596, allocations: 105 kB / 0.5607 GB, free: 1.973 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.5961, allocations: 43.44 kB / 0.5608 GB, free: 1.93 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.5964, allocations: 113.4 kB / 0.5609 GB, free: 1.809 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.5964, allocations: 3.953 kB / 0.5609 GB, free: 1.805 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5964, allocations: 0 / 0.5609 GB, free: 1.805 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.5964, allocations: 0 / 0.5609 GB, free: 1.805 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.5975, allocations: 0.5344 MB / 0.5614 GB, free: 1.227 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5975, allocations: 0 / 0.5614 GB, free: 1.227 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.5977, allocations: 24.05 kB / 0.5614 GB, free: 1.203 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.5977, allocations: 0 / 0.5614 GB, free: 1.203 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.5977, allocations: 11.95 kB / 0.5614 GB, free: 1.191 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.5977, allocations: 0 / 0.5614 GB, free: 1.191 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5977, allocations: 0 / 0.5614 GB, free: 1.191 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.598, allocations: 194.9 kB / 0.5616 GB, free: 0.9844 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003029/0.5983, allocations: 156.6 kB / 0.5618 GB, free: 0.8125 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.764e-05/0.5984, allocations: 0 / 0.5618 GB, free: 0.8125 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.5986, allocations: 15.94 kB / 0.5618 GB, free: 0.7969 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.5986, allocations: 8 kB / 0.5618 GB, free: 0.7891 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.148e-06/0.5986, allocations: 4 kB / 0.5618 GB, free: 0.7852 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001063/0.5997, allocations: 0.6043 MB / 0.5624 GB, free: 188 kB / 395.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5997, allocations: 0 / 0.5624 GB, free: 188 kB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004547/0.6002, allocations: 63.84 kB / 0.5625 GB, free: 124 kB / 395.1 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 (5): * Single equations (assignments): 5 * 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.001013/0.6012, allocations: 333.2 kB / 0.5628 GB, free: 15.82 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0001363/0.6014, allocations: 27.94 kB / 0.5628 GB, free: 15.8 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6014, allocations: 0 / 0.5628 GB, free: 15.8 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 5.02e-05/0.6015, allocations: 19.98 kB / 0.5628 GB, free: 15.78 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.6018, allocations: 17.95 kB / 0.5628 GB, free: 15.76 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.6035, allocations: 0.755 MB / 0.5636 GB, free: 14.98 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005894/0.6041, allocations: 0.8302 MB / 0.5644 GB, free: 14.12 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.6043, allocations: 23.44 kB / 0.5644 GB, free: 14.1 MB / 411.1 MB Notification: Performance of SimCode: time 8.82e-07/0.6043, allocations: 0 / 0.5644 GB, free: 14.1 MB / 411.1 MB Notification: Performance of Templates: time 0.01222/0.6165, allocations: 4.202 MB / 0.5685 GB, free: 9.887 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches