Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1D.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009751/0.0009754, allocations: 176.9 kB / 17.41 MB, free: 4.285 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.486/1.486, allocations: 205.4 MB / 223.6 MB, free: 9.008 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.000793/0.0007926, allocations: 93.03 kB / 271.9 MB, free: 8.254 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.3457/0.3457, allocations: 43.56 MB / 363.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.000387, allocations: 16 kB / 432.6 MB, free: 5.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1323, allocations: 58.84 MB / 491.4 MB, free: 10.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3313/0.4636, allocations: 86.53 MB / 0.5644 GB, free: 15.9 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.4639, allocations: 71.97 kB / 0.5645 GB, free: 15.83 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009666/0.4736, allocations: 3.954 MB / 0.5684 GB, free: 11.92 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4736, allocations: 0 / 0.5684 GB, free: 11.92 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.4736, allocations: 4 kB / 0.5684 GB, free: 11.92 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.0004513/0.4741, allocations: 407.7 kB / 0.5687 GB, free: 11.47 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.4741, allocations: 12.03 kB / 0.5688 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.4742, allocations: 8.844 kB / 0.5688 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.4744, allocations: 200.1 kB / 0.569 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.4745, allocations: 4.375 kB / 0.569 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.4745, allocations: 9.312 kB / 0.569 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.4746, allocations: 50.23 kB / 0.569 GB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.4747, allocations: 192 / 0.569 GB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.4747, allocations: 3.938 kB / 0.569 GB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.4747, allocations: 0 / 0.569 GB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.615e-05/0.4748, allocations: 27.92 kB / 0.569 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.4752, allocations: 296.9 kB / 0.5693 GB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.4755, allocations: 50.5 kB / 0.5694 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.703e-05/0.4755, allocations: 20.94 kB / 0.5694 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.4755, allocations: 0 / 0.5694 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.4756, allocations: 41.5 kB / 0.5694 GB, free: 10.65 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.4756, allocations: 0 / 0.5694 GB, free: 10.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005957/0.4762, allocations: 173.5 kB / 0.5696 GB, free: 10.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.4762, allocations: 59.34 kB / 0.5697 GB, free: 10.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.4765, allocations: 194.2 kB / 0.5698 GB, free: 10.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.4765, allocations: 25.7 kB / 0.5699 GB, free: 10.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.4766, allocations: 108 kB / 0.57 GB, free: 10.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.4766, allocations: 15.81 kB / 0.57 GB, free: 10.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/0.4766, allocations: 0 / 0.57 GB, free: 10.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4767, allocations: 330.8 kB / 0.5703 GB, free: 9.719 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.264e-05/0.4768, allocations: 23.98 kB / 0.5703 GB, free: 9.695 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.29e-05/0.4769, allocations: 27.97 kB / 0.5704 GB, free: 9.668 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.477, allocations: 61.45 kB / 0.5704 GB, free: 9.605 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.4771, allocations: 0 / 0.5704 GB, free: 9.605 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001855/0.4772, allocations: 93.77 kB / 0.5705 GB, free: 9.508 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.4773, allocations: 8 kB / 0.5705 GB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.4773, allocations: 4 kB / 0.5705 GB, free: 9.496 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.4773, allocations: 0 / 0.5705 GB, free: 9.496 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.116e-05/0.4774, allocations: 19.98 kB / 0.5705 GB, free: 9.477 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4774, allocations: 0 / 0.5705 GB, free: 9.477 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.356e-05/0.4774, allocations: 7.984 kB / 0.5705 GB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.4775, allocations: 4 kB / 0.5705 GB, free: 9.465 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.000136/0.4776, allocations: 133.7 kB / 0.5707 GB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.4776, allocations: 15.89 kB / 0.5707 GB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.4779, allocations: 117.8 kB / 0.5708 GB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.4779, allocations: 288 / 0.5708 GB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4779, allocations: 4 kB / 0.5708 GB, free: 9.188 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.4779, allocations: 3.984 kB / 0.5708 GB, free: 9.184 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.4784, allocations: 382.5 kB / 0.5712 GB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4784, allocations: 0 / 0.5712 GB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.544e-05/0.4785, allocations: 15.98 kB / 0.5712 GB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.4785, allocations: 0 / 0.5712 GB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/0.4785, allocations: 1.125 kB / 0.5712 GB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4785, allocations: 0 / 0.5712 GB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4785, allocations: 3.938 kB / 0.5712 GB, free: 8.734 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.4787, allocations: 195.4 kB / 0.5714 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/0.4788, allocations: 97 kB / 0.5715 GB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.4788, allocations: 0 / 0.5715 GB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.4789, allocations: 8.188 kB / 0.5715 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.479, allocations: 11.92 kB / 0.5715 GB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.479, allocations: 4 kB / 0.5715 GB, free: 8.391 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001354/0.4791, allocations: 159.8 kB / 0.5716 GB, free: 8.238 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4791, allocations: 3.938 kB / 0.5716 GB, free: 8.234 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002361/0.4794, allocations: 12 kB / 0.5717 GB, free: 8.223 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.0009352/0.4803, allocations: 406.8 kB / 0.572 GB, free: 7.914 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.4805, allocations: 63.91 kB / 0.5721 GB, free: 7.852 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.4805, allocations: 0 / 0.5721 GB, free: 7.852 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.729e-05/0.4806, allocations: 31.97 kB / 0.5721 GB, free: 7.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.4809, allocations: 12 kB / 0.5722 GB, free: 7.809 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004622/0.4814, allocations: 281 kB / 0.5724 GB, free: 7.508 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.4817, allocations: 0.7043 MB / 0.5731 GB, free: 6.777 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.937e-05/0.4818, allocations: 15.38 kB / 0.5731 GB, free: 6.762 MB / 394.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4818, allocations: 4 kB / 0.5731 GB, free: 6.758 MB / 394.7 MB Notification: Performance of Templates: time 0.003069/0.4849, allocations: 1.565 MB / 0.5747 GB, free: 5.199 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches