Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable1D.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009691/0.0009691, allocations: 181.6 kB / 17.41 MB, free: 4.402 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.405/1.405, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0008062/0.0008068, allocations: 102 kB / 271.9 MB, free: 8.242 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.3505/0.3505, allocations: 43.56 MB / 363.8 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003634, allocations: 12 kB / 432.6 MB, free: 5.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1379, allocations: 58.86 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3574/0.4954, allocations: 86.49 MB / 0.5644 GB, free: 15.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.4957, allocations: 71.97 kB / 0.5645 GB, free: 15.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009404/0.5051, allocations: 3.623 MB / 0.568 GB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.5052, allocations: 4 kB / 0.568 GB, free: 12.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.523e-05/0.5052, allocations: 11.92 kB / 0.568 GB, free: 12.26 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.0003983/0.5056, allocations: 386.8 kB / 0.5684 GB, free: 11.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.5057, allocations: 8.031 kB / 0.5684 GB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.5057, allocations: 8.844 kB / 0.5684 GB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.5059, allocations: 196.2 kB / 0.5686 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-06/0.5059, allocations: 384 / 0.5686 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.506, allocations: 4.375 kB / 0.5686 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.5061, allocations: 51.56 kB / 0.5686 GB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.5061, allocations: 192 / 0.5686 GB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.5061, allocations: 11.88 kB / 0.5686 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.5062, allocations: 0 / 0.5686 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.718e-05/0.5063, allocations: 34.97 kB / 0.5687 GB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003946/0.5067, allocations: 281 kB / 0.569 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.5069, allocations: 50.58 kB / 0.569 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.577e-05/0.5069, allocations: 28.78 kB / 0.569 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.507, allocations: 0 / 0.569 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.507, allocations: 34.56 kB / 0.5691 GB, free: 11.03 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.507, allocations: 0 / 0.5691 GB, free: 11.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005669/0.5076, allocations: 173.2 kB / 0.5692 GB, free: 10.86 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.5076, allocations: 51.41 kB / 0.5693 GB, free: 10.79 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.5078, allocations: 157.8 kB / 0.5694 GB, free: 10.63 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.5078, allocations: 32.42 kB / 0.5695 GB, free: 10.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.828e-05/0.5079, allocations: 100 kB / 0.5696 GB, free: 10.49 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.5079, allocations: 15.75 kB / 0.5696 GB, free: 10.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-06/0.5079, allocations: 0 / 0.5696 GB, free: 10.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.508, allocations: 330.9 kB / 0.5699 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.187e-05/0.5081, allocations: 27.98 kB / 0.5699 GB, free: 10.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.138e-05/0.5082, allocations: 19.98 kB / 0.5699 GB, free: 10.1 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.5083, allocations: 64.83 kB / 0.57 GB, free: 10.03 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.5083, allocations: 0 / 0.57 GB, free: 10.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001835/0.5085, allocations: 97.5 kB / 0.5701 GB, free: 9.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.5085, allocations: 4 kB / 0.5701 GB, free: 9.926 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.5086, allocations: 0 / 0.5701 GB, free: 9.926 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.5086, allocations: 4 kB / 0.5701 GB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.346e-05/0.5086, allocations: 19.98 kB / 0.5701 GB, free: 9.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.5087, allocations: 0 / 0.5701 GB, free: 9.902 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.861e-05/0.5087, allocations: 4 kB / 0.5701 GB, free: 9.898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.5087, allocations: 0 / 0.5701 GB, free: 9.898 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 9.093e-05/0.5088, allocations: 133.8 kB / 0.5702 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.5088, allocations: 7.906 kB / 0.5702 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.5091, allocations: 112.9 kB / 0.5704 GB, free: 9.641 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.5091, allocations: 3.984 kB / 0.5704 GB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5091, allocations: 0 / 0.5704 GB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.5091, allocations: 0 / 0.5704 GB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004139/0.5095, allocations: 370.5 kB / 0.5707 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5096, allocations: 0 / 0.5707 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.56e-05/0.5096, allocations: 19.92 kB / 0.5707 GB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.5096, allocations: 0 / 0.5707 GB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.5096, allocations: 4 kB / 0.5707 GB, free: 9.195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5096, allocations: 0 / 0.5707 GB, free: 9.195 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.5097, allocations: 0.8438 kB / 0.5707 GB, free: 9.195 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.5099, allocations: 195.4 kB / 0.5709 GB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.5099, allocations: 89.02 kB / 0.571 GB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.51, allocations: 0.5 kB / 0.571 GB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.527e-05/0.51, allocations: 7.984 kB / 0.571 GB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.5101, allocations: 15.94 kB / 0.571 GB, free: 8.859 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.5101, allocations: 0 / 0.571 GB, free: 8.859 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.723e-05/0.5102, allocations: 128.9 kB / 0.5712 GB, free: 8.738 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5102, allocations: 0 / 0.5712 GB, free: 8.738 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002305/0.5104, allocations: 31.86 kB / 0.5712 GB, free: 8.707 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.0008904/0.5113, allocations: 408.4 kB / 0.5716 GB, free: 8.402 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.5115, allocations: 55.97 kB / 0.5716 GB, free: 8.348 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5116, allocations: 4 kB / 0.5716 GB, free: 8.344 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.046e-05/0.5116, allocations: 31.98 kB / 0.5717 GB, free: 8.312 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.5119, allocations: 11.98 kB / 0.5717 GB, free: 8.301 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004463/0.5124, allocations: 253 kB / 0.5719 GB, free: 8.023 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.5127, allocations: 0.6965 MB / 0.5726 GB, free: 7.301 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.5127, allocations: 11.44 kB / 0.5726 GB, free: 7.289 MB / 394.7 MB Notification: Performance of SimCode: time 2.9e-07/0.5127, allocations: 0 / 0.5726 GB, free: 7.289 MB / 394.7 MB Notification: Performance of Templates: time 0.002896/0.5156, allocations: 1.464 MB / 0.574 GB, free: 5.828 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches