Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.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.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2") translateModel(ModelicaTest.Tables.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001493/0.001493, 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.896/1.896, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.00112/0.00112, allocations: 93.97 kB / 270.9 MB, free: 8.367 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.5522/0.5522, allocations: 43.55 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000674/0.000674, allocations: 16 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1236, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.449/0.5727, allocations: 86.46 MB / 0.5631 GB, free: 264 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.573, allocations: 71.95 kB / 0.5632 GB, free: 192 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01496/0.588, allocations: 3.544 MB / 0.5667 GB, free: 12.69 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.588, allocations: 0 / 0.5667 GB, free: 12.69 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.827e-05/0.588, allocations: 4 kB / 0.5667 GB, free: 12.68 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005027/0.5885, allocations: 390.5 kB / 0.5671 GB, free: 12.26 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.5886, allocations: 12.02 kB / 0.5671 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.5887, allocations: 8 kB / 0.5671 GB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.5889, allocations: 194.4 kB / 0.5673 GB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.589, allocations: 0 / 0.5673 GB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.589, allocations: 0 / 0.5673 GB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.5892, allocations: 49.69 kB / 0.5673 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.5892, allocations: 0 / 0.5673 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.5893, allocations: 4 kB / 0.5673 GB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.5893, allocations: 4 kB / 0.5673 GB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.5894, allocations: 32.94 kB / 0.5673 GB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.5899, allocations: 284.8 kB / 0.5676 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/0.5902, allocations: 46.56 kB / 0.5677 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.5903, allocations: 96 / 0.5677 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.5903, allocations: 38.48 kB / 0.5677 GB, free: 11.49 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.5903, allocations: 0 / 0.5677 GB, free: 11.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008419/0.5912, allocations: 169.6 kB / 0.5679 GB, free: 11.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.5912, allocations: 51.41 kB / 0.5679 GB, free: 11.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.5915, allocations: 133.2 kB / 0.568 GB, free: 11.11 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.5915, allocations: 25.7 kB / 0.5681 GB, free: 11.08 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.393e-05/0.5916, allocations: 154.6 kB / 0.5682 GB, free: 10.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.5916, allocations: 27.7 kB / 0.5682 GB, free: 10.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.5917, allocations: 0 / 0.5682 GB, free: 10.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.5918, allocations: 310.8 kB / 0.5685 GB, free: 10.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.5919, allocations: 28.77 kB / 0.5686 GB, free: 10.56 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.5921, allocations: 23.98 kB / 0.5686 GB, free: 10.54 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.5922, allocations: 31.98 kB / 0.5686 GB, free: 10.51 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5923, allocations: 0 / 0.5686 GB, free: 10.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004394/0.5927, allocations: 85.66 kB / 0.5687 GB, free: 10.42 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.5927, allocations: 4 kB / 0.5687 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.5928, allocations: 3.984 kB / 0.5687 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.5928, allocations: 6.062 kB / 0.5687 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.5929, allocations: 23.92 kB / 0.5687 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.593, allocations: 0 / 0.5687 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.329e-05/0.593, allocations: 11.95 kB / 0.5687 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.5931, allocations: 0 / 0.5687 GB, free: 10.37 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 (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 0.0001216/0.5932, allocations: 121.8 kB / 0.5689 GB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.5932, allocations: 7.906 kB / 0.5689 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004119/0.5937, allocations: 102.8 kB / 0.569 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.5937, allocations: 0 / 0.569 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5937, allocations: 4 kB / 0.569 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.5937, allocations: 0 / 0.569 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006664/0.5944, allocations: 366.8 kB / 0.5693 GB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.5944, allocations: 4 kB / 0.5693 GB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.5946, allocations: 15.98 kB / 0.5693 GB, free: 9.691 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.5946, allocations: 0 / 0.5693 GB, free: 9.691 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.5946, allocations: 0 / 0.5693 GB, free: 9.691 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.5947, allocations: 0 / 0.5693 GB, free: 9.691 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.5947, allocations: 7.953 kB / 0.5693 GB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.5952, allocations: 199.4 kB / 0.5695 GB, free: 9.473 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.081e-05/0.5953, allocations: 85.02 kB / 0.5696 GB, free: 9.371 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.5953, allocations: 3.984 kB / 0.5696 GB, free: 9.367 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.5954, allocations: 8 kB / 0.5696 GB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.5955, allocations: 5.594 kB / 0.5696 GB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.5955, allocations: 7.938 kB / 0.5696 GB, free: 9.348 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001232/0.5956, allocations: 109.4 kB / 0.5697 GB, free: 9.242 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5956, allocations: 0 / 0.5697 GB, free: 9.242 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003342/0.596, allocations: 16 kB / 0.5698 GB, free: 9.227 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 (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.00119/0.5972, allocations: 419 kB / 0.5702 GB, free: 8.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000371/0.5976, allocations: 67.89 kB / 0.5702 GB, free: 8.844 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.5976, allocations: 0 / 0.5702 GB, free: 8.844 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.5978, allocations: 27.98 kB / 0.5702 GB, free: 8.816 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.5981, allocations: 15.92 kB / 0.5703 GB, free: 8.801 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005349/0.5986, allocations: 212.8 kB / 0.5705 GB, free: 8.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.599, allocations: 0.6965 MB / 0.5711 GB, free: 7.848 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.83e-05/0.599, allocations: 15.44 kB / 0.5712 GB, free: 7.832 MB / 394.7 MB Notification: Performance of SimCode: time 8.32e-07/0.599, allocations: 4 kB / 0.5712 GB, free: 7.828 MB / 394.7 MB Notification: Performance of Templates: time 0.004435/0.6035, allocations: 1.409 MB / 0.5725 GB, free: 6.418 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches