Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1D.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001504/0.001504, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.918/1.918, 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.001107/0.001107, allocations: 96.41 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.4991/0.4991, allocations: 43.55 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004724, allocations: 20 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1223, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4412/0.5635, allocations: 86.74 MB / 0.5634 GB, free: 15.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/0.5638, allocations: 75.97 kB / 0.5635 GB, free: 15.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01752/0.5814, allocations: 4.318 MB / 0.5677 GB, free: 11.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5814, allocations: 4 kB / 0.5677 GB, free: 11.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.5815, allocations: 0 / 0.5677 GB, free: 11.63 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.0004936/0.582, allocations: 376.1 kB / 0.5681 GB, free: 11.22 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.582, allocations: 12.02 kB / 0.5681 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.5821, allocations: 11.91 kB / 0.5681 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.5823, allocations: 195.8 kB / 0.5683 GB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.5824, allocations: 4 kB / 0.5683 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.5824, allocations: 7.938 kB / 0.5683 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.5826, allocations: 63.39 kB / 0.5684 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.5826, allocations: 3.656 kB / 0.5684 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.5827, allocations: 4 kB / 0.5684 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.5827, allocations: 0 / 0.5684 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.5828, allocations: 33.02 kB / 0.5684 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.5833, allocations: 284.8 kB / 0.5687 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.5836, allocations: 50.55 kB / 0.5687 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.5836, allocations: 0 / 0.5687 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.5837, allocations: 30.56 kB / 0.5688 GB, free: 10.42 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.5837, allocations: 0 / 0.5688 GB, free: 10.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008214/0.5845, allocations: 169.9 kB / 0.5689 GB, free: 10.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.5846, allocations: 81.09 kB / 0.569 GB, free: 10.15 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.5848, allocations: 128.9 kB / 0.5691 GB, free: 10.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.5848, allocations: 25.7 kB / 0.5691 GB, free: 9.988 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.312e-05/0.5849, allocations: 158.5 kB / 0.5693 GB, free: 9.832 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.5849, allocations: 23.73 kB / 0.5693 GB, free: 9.809 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-06/0.5849, allocations: 4 kB / 0.5693 GB, free: 9.805 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.5851, allocations: 310.8 kB / 0.5696 GB, free: 9.492 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.5852, allocations: 23.98 kB / 0.5696 GB, free: 9.469 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.5853, allocations: 37.64 kB / 0.5697 GB, free: 9.426 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.5855, allocations: 40 kB / 0.5697 GB, free: 9.387 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.5855, allocations: 0 / 0.5697 GB, free: 9.387 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003158/0.5858, allocations: 81.67 kB / 0.5698 GB, free: 9.301 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.5859, allocations: 8 kB / 0.5698 GB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.5859, allocations: 4 kB / 0.5698 GB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.5859, allocations: 0 / 0.5698 GB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.586, allocations: 15.98 kB / 0.5698 GB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.5861, allocations: 0 / 0.5698 GB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.603e-05/0.5861, allocations: 4 kB / 0.5698 GB, free: 9.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.5862, allocations: 7.953 kB / 0.5698 GB, free: 9.262 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.0001059/0.5863, allocations: 121.8 kB / 0.5699 GB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/0.5863, allocations: 7.906 kB / 0.57 GB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003828/0.5867, allocations: 101.9 kB / 0.5701 GB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.5867, allocations: 0 / 0.5701 GB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.5868, allocations: 0 / 0.5701 GB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.5868, allocations: 7.984 kB / 0.5701 GB, free: 9.012 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006358/0.5874, allocations: 366.5 kB / 0.5704 GB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.5874, allocations: 0 / 0.5704 GB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.5876, allocations: 12 kB / 0.5704 GB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.5876, allocations: 0 / 0.5704 GB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.5876, allocations: 0.75 kB / 0.5704 GB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.5876, allocations: 3.984 kB / 0.5704 GB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5876, allocations: 4 kB / 0.5704 GB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003655/0.588, allocations: 195.4 kB / 0.5706 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.5881, allocations: 85 kB / 0.5707 GB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.5881, allocations: 4 kB / 0.5707 GB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.5882, allocations: 8 kB / 0.5707 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.5883, allocations: 11.92 kB / 0.5707 GB, free: 8.246 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.5883, allocations: 7.938 kB / 0.5707 GB, free: 8.238 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001113/0.5884, allocations: 110.4 kB / 0.5708 GB, free: 8.133 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5884, allocations: 0 / 0.5708 GB, free: 8.133 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003701/0.5888, allocations: 27.98 kB / 0.5709 GB, free: 8.105 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.001242/0.5901, allocations: 456.2 kB / 0.5713 GB, free: 7.754 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003479/0.5904, allocations: 51.97 kB / 0.5713 GB, free: 7.703 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.5905, allocations: 4 kB / 0.5713 GB, free: 7.699 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.5906, allocations: 39.92 kB / 0.5714 GB, free: 7.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.5909, allocations: 7.984 kB / 0.5714 GB, free: 7.652 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.5914, allocations: 208.8 kB / 0.5716 GB, free: 7.418 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.5917, allocations: 0.6926 MB / 0.5723 GB, free: 6.699 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.021e-05/0.5918, allocations: 15.44 kB / 0.5723 GB, free: 6.684 MB / 394.7 MB Notification: Performance of SimCode: time 9.91e-07/0.5918, allocations: 0 / 0.5723 GB, free: 6.684 MB / 394.7 MB Notification: Performance of Templates: time 0.004737/0.5966, allocations: 1.6 MB / 0.5738 GB, free: 5.082 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches