Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001535/0.001535, allocations: 185.5 kB / 16.41 MB, free: 5.727 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.973/1.973, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.00111/0.00111, allocations: 89.56 kB / 270.9 MB, free: 8.383 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.5065/0.5065, allocations: 43.56 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005001/0.0005001, allocations: 15.94 kB / 431.4 MB, free: 5.941 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1351, allocations: 58.84 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5341/0.6693, allocations: 87.68 MB / 0.5644 GB, free: 14.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.6697, allocations: 75.97 kB / 0.5644 GB, free: 14.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02359/0.6933, allocations: 5.246 MB / 0.5696 GB, free: 9.617 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6933, allocations: 0 / 0.5696 GB, free: 9.617 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.6933, allocations: 0 / 0.5696 GB, free: 9.617 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006484/0.694, allocations: 414.5 kB / 0.5699 GB, free: 9.168 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.6941, allocations: 12.02 kB / 0.57 GB, free: 9.156 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.442e-05/0.6941, allocations: 11.34 kB / 0.57 GB, free: 9.148 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.6945, allocations: 220.2 kB / 0.5702 GB, free: 8.895 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.6946, allocations: 4 kB / 0.5702 GB, free: 8.891 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.6946, allocations: 7 kB / 0.5702 GB, free: 8.887 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.6948, allocations: 53.67 kB / 0.5702 GB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.6948, allocations: 0 / 0.5702 GB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.6948, allocations: 0 / 0.5702 GB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.6949, allocations: 1.031 kB / 0.5702 GB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.695, allocations: 20.61 kB / 0.5703 GB, free: 8.809 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.6955, allocations: 296.7 kB / 0.5705 GB, free: 8.469 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.6957, allocations: 62.67 kB / 0.5706 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.6957, allocations: 3.984 kB / 0.5706 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001993/0.696, allocations: 75.5 kB / 0.5707 GB, free: 8.309 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.094e-06/0.696, allocations: 0 / 0.5707 GB, free: 8.309 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007835/0.6968, allocations: 173.3 kB / 0.5708 GB, free: 8.133 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.6968, allocations: 55.36 kB / 0.5709 GB, free: 8.066 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.6971, allocations: 165.3 kB / 0.5711 GB, free: 7.898 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.6971, allocations: 25.7 kB / 0.5711 GB, free: 7.867 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.678e-05/0.6972, allocations: 166.4 kB / 0.5712 GB, free: 7.703 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.6973, allocations: 19.8 kB / 0.5713 GB, free: 7.684 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-06/0.6973, allocations: 4 kB / 0.5713 GB, free: 7.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.6974, allocations: 318.8 kB / 0.5716 GB, free: 7.359 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.586e-05/0.6975, allocations: 27.98 kB / 0.5716 GB, free: 7.332 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.6976, allocations: 33.7 kB / 0.5716 GB, free: 7.293 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.962e-05/0.6977, allocations: 20 kB / 0.5716 GB, free: 7.273 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6978, allocations: 0 / 0.5716 GB, free: 7.273 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000285/0.698, allocations: 101.5 kB / 0.5717 GB, free: 7.168 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.6981, allocations: 4 kB / 0.5717 GB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.6981, allocations: 0 / 0.5717 GB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.6981, allocations: 4.562 kB / 0.5717 GB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.6983, allocations: 16.03 kB / 0.5718 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.6983, allocations: 0 / 0.5718 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.432e-05/0.6984, allocations: 11.94 kB / 0.5718 GB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.6984, allocations: 4 kB / 0.5718 GB, free: 7.129 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001441/0.6986, allocations: 125.8 kB / 0.5719 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.6986, allocations: 9.031 kB / 0.5719 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003803/0.699, allocations: 118.3 kB / 0.572 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.699, allocations: 7.984 kB / 0.572 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.699, allocations: 0 / 0.572 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.699, allocations: 0 / 0.572 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006733/0.6997, allocations: 419.1 kB / 0.5724 GB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.6998, allocations: 288 / 0.5724 GB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.371e-05/0.6998, allocations: 8 kB / 0.5724 GB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.6999, allocations: 0 / 0.5724 GB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.6999, allocations: 7.938 kB / 0.5724 GB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.6999, allocations: 11.92 kB / 0.5725 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.6999, allocations: 0 / 0.5725 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.7003, allocations: 217.9 kB / 0.5727 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-05/0.7004, allocations: 89.02 kB / 0.5727 GB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.7004, allocations: 11.94 kB / 0.5728 GB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.7005, allocations: 0 / 0.5728 GB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.7006, allocations: 12.38 kB / 0.5728 GB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.7006, allocations: 7.984 kB / 0.5728 GB, free: 5.984 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001712/0.7008, allocations: 133.5 kB / 0.5729 GB, free: 5.855 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7008, allocations: 0 / 0.5729 GB, free: 5.855 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003777/0.7012, allocations: 27.98 kB / 0.5729 GB, free: 5.828 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001393/0.7026, allocations: 483.4 kB / 0.5734 GB, free: 5.449 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003554/0.703, allocations: 51.98 kB / 0.5734 GB, free: 5.398 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.703, allocations: 4 kB / 0.5734 GB, free: 5.395 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.7032, allocations: 31.92 kB / 0.5735 GB, free: 5.363 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.7036, allocations: 29.12 kB / 0.5735 GB, free: 5.336 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006939/0.7043, allocations: 270.3 kB / 0.5738 GB, free: 5.035 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.7047, allocations: 0.7121 MB / 0.5745 GB, free: 4.297 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.643e-05/0.7048, allocations: 19.38 kB / 0.5745 GB, free: 4.281 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/0.7048, allocations: 0 / 0.5745 GB, free: 4.281 MB / 394.7 MB Notification: Performance of Templates: time 0.005465/0.7103, allocations: 1.886 MB / 0.5763 GB, free: 2.402 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches