Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.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.CombiTable1Ds.Test32,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.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000912/0.0009119, allocations: 180.5 kB / 17.41 MB, free: 4.406 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.33/1.33, 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.000721/0.000721, allocations: 90.34 kB / 271.9 MB, free: 8.258 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.3043/0.3043, allocations: 43.56 MB / 363.8 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003934, allocations: 16 kB / 432.6 MB, free: 5.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1072, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2799/0.3871, allocations: 86.42 MB / 0.5643 GB, free: 12 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.3874, allocations: 73.22 kB / 0.5644 GB, free: 15.94 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009883/0.3973, allocations: 4.048 MB / 0.5683 GB, free: 11.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3973, allocations: 0 / 0.5683 GB, free: 11.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.719e-06/0.3974, allocations: 0 / 0.5683 GB, free: 11.93 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.0004321/0.3978, allocations: 420.2 kB / 0.5687 GB, free: 11.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3978, allocations: 12.03 kB / 0.5688 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.182e-05/0.3979, allocations: 9.875 kB / 0.5688 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.3982, allocations: 214.9 kB / 0.569 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.3982, allocations: 4.375 kB / 0.569 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.868e-05/0.3982, allocations: 8.375 kB / 0.569 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.3984, allocations: 53.62 kB / 0.569 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3984, allocations: 192 / 0.569 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.3984, allocations: 3.938 kB / 0.569 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.3984, allocations: 3.984 kB / 0.569 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.199e-05/0.3985, allocations: 23.98 kB / 0.5691 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.3989, allocations: 293 kB / 0.5693 GB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.3991, allocations: 54.42 kB / 0.5694 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.806e-05/0.3991, allocations: 15.77 kB / 0.5694 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.3992, allocations: 4 kB / 0.5694 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.3992, allocations: 34.56 kB / 0.5694 GB, free: 10.65 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3992, allocations: 0 / 0.5694 GB, free: 10.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000544/0.3997, allocations: 173.3 kB / 0.5696 GB, free: 10.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.3998, allocations: 51.41 kB / 0.5697 GB, free: 10.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.4, allocations: 234.7 kB / 0.5699 GB, free: 10.17 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.4, allocations: 25.7 kB / 0.5699 GB, free: 10.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.159e-05/0.4001, allocations: 104.1 kB / 0.57 GB, free: 10.04 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.4001, allocations: 15.8 kB / 0.57 GB, free: 10.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-06/0.4001, allocations: 4 kB / 0.57 GB, free: 10.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.4003, allocations: 334.7 kB / 0.5703 GB, free: 9.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.584e-05/0.4003, allocations: 23.98 kB / 0.5704 GB, free: 9.656 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.729e-05/0.4004, allocations: 15.98 kB / 0.5704 GB, free: 9.641 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.4005, allocations: 60.78 kB / 0.5704 GB, free: 9.578 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4005, allocations: 0 / 0.5704 GB, free: 9.578 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001794/0.4007, allocations: 93.47 kB / 0.5705 GB, free: 9.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.4008, allocations: 4 kB / 0.5705 GB, free: 9.477 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.4008, allocations: 0 / 0.5705 GB, free: 9.477 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.4008, allocations: 0 / 0.5705 GB, free: 9.477 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.124e-05/0.4008, allocations: 16 kB / 0.5706 GB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.4009, allocations: 2.656 kB / 0.5706 GB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/0.4009, allocations: 11.98 kB / 0.5706 GB, free: 9.449 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.4009, allocations: 4 kB / 0.5706 GB, free: 9.445 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.02e-05/0.401, allocations: 133.8 kB / 0.5707 GB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.4011, allocations: 11.91 kB / 0.5707 GB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.4013, allocations: 111.3 kB / 0.5708 GB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4013, allocations: 288 / 0.5708 GB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4013, allocations: 0 / 0.5708 GB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.4013, allocations: 0 / 0.5708 GB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004218/0.4017, allocations: 402.7 kB / 0.5712 GB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4018, allocations: 1.031 kB / 0.5712 GB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.265e-05/0.4018, allocations: 12 kB / 0.5712 GB, free: 8.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.4018, allocations: 0 / 0.5712 GB, free: 8.719 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.4018, allocations: 0 / 0.5712 GB, free: 8.719 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.4018, allocations: 0 / 0.5712 GB, free: 8.719 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4018, allocations: 3.984 kB / 0.5712 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.4021, allocations: 195.3 kB / 0.5714 GB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.058e-05/0.4021, allocations: 97 kB / 0.5715 GB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.4022, allocations: 0 / 0.5715 GB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.4022, allocations: 12 kB / 0.5715 GB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.4023, allocations: 11.86 kB / 0.5715 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-06/0.4023, allocations: 3.938 kB / 0.5715 GB, free: 8.367 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001458/0.4024, allocations: 184.3 kB / 0.5717 GB, free: 8.188 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4024, allocations: 4 kB / 0.5717 GB, free: 8.184 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002301/0.4027, allocations: 23.94 kB / 0.5717 GB, free: 8.16 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.0007972/0.4035, allocations: 404 kB / 0.5721 GB, free: 7.855 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001732/0.4037, allocations: 47.97 kB / 0.5722 GB, free: 7.809 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4037, allocations: 0 / 0.5722 GB, free: 7.809 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.336e-05/0.4038, allocations: 31.92 kB / 0.5722 GB, free: 7.777 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.404, allocations: 19.98 kB / 0.5722 GB, free: 7.758 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.4045, allocations: 313.5 kB / 0.5725 GB, free: 7.422 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.4047, allocations: 0.7082 MB / 0.5732 GB, free: 6.688 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/0.4048, allocations: 23.42 kB / 0.5732 GB, free: 6.664 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4048, allocations: 0 / 0.5732 GB, free: 6.664 MB / 394.7 MB Notification: Performance of Templates: time 0.002907/0.4077, allocations: 1.626 MB / 0.5748 GB, free: 5.043 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches