Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009518/0.0009517, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008715/0.0008714, allocations: 94.12 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2954/0.2954, allocations: 44.21 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003516, allocations: 12 kB / 459.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3582, allocations: 61.9 MB / 0.5096 GB, free: 38.06 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1167/0.475, allocations: 89.41 MB / 0.5969 GB, free: 5.719 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.4753, allocations: 79.92 kB / 0.597 GB, free: 5.645 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01687/0.4921, allocations: 6.382 MB / 0.6032 GB, free: 15.26 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4922, allocations: 0 / 0.6032 GB, free: 15.26 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.4922, allocations: 0 / 0.6032 GB, free: 15.26 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005657/0.4928, allocations: 458.5 kB / 0.6036 GB, free: 14.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.4928, allocations: 8.562 kB / 0.6036 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.4929, allocations: 15.81 kB / 0.6036 GB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.4932, allocations: 234.8 kB / 0.6039 GB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.4933, allocations: 3.953 kB / 0.6039 GB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.4933, allocations: 8 kB / 0.6039 GB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.4935, allocations: 77.53 kB / 0.604 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.4935, allocations: 4 kB / 0.604 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.4935, allocations: 3.984 kB / 0.604 GB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.4935, allocations: 0 / 0.604 GB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.4936, allocations: 43.97 kB / 0.604 GB, free: 14.33 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004627/0.4941, allocations: 348.6 kB / 0.6043 GB, free: 13.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.4944, allocations: 90.45 kB / 0.6044 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.4944, allocations: 0 / 0.6044 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.4946, allocations: 75.62 kB / 0.6045 GB, free: 13.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.4946, allocations: 0 / 0.6045 GB, free: 13.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.000832/0.4954, allocations: 307.5 kB / 0.6048 GB, free: 13.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.4955, allocations: 55.41 kB / 0.6048 GB, free: 13.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.4957, allocations: 233.6 kB / 0.6051 GB, free: 13.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.4957, allocations: 29.7 kB / 0.6051 GB, free: 13.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.325e-05/0.4958, allocations: 120 kB / 0.6052 GB, free: 12.99 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.4958, allocations: 39.45 kB / 0.6052 GB, free: 12.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.4959, allocations: 4 kB / 0.6052 GB, free: 12.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.496, allocations: 330.8 kB / 0.6056 GB, free: 12.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.403e-05/0.4961, allocations: 43.97 kB / 0.6056 GB, free: 12.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.519e-05/0.4962, allocations: 59.61 kB / 0.6057 GB, free: 12.51 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.645e-05/0.4963, allocations: 47.98 kB / 0.6057 GB, free: 12.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4963, allocations: 112 / 0.6057 GB, free: 12.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002638/0.4965, allocations: 165.3 kB / 0.6059 GB, free: 12.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.4966, allocations: 6.406 kB / 0.6059 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.4966, allocations: 4.031 kB / 0.6059 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.4966, allocations: 4 kB / 0.6059 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.599e-05/0.4967, allocations: 27.92 kB / 0.6059 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.4967, allocations: 4 kB / 0.6059 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.216e-05/0.4968, allocations: 7.984 kB / 0.6059 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.4968, allocations: 7.953 kB / 0.6059 GB, free: 12.23 MB / 426.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 (16): * Single equations (assignments): 16 * 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.0001086/0.4969, allocations: 141.8 kB / 0.6061 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.4969, allocations: 15.81 kB / 0.6061 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003487/0.4973, allocations: 203 kB / 0.6063 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.4973, allocations: 4 kB / 0.6063 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4973, allocations: 0 / 0.6063 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4973, allocations: 0 / 0.6063 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006563/0.498, allocations: 0.5352 MB / 0.6068 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.498, allocations: 8.031 kB / 0.6068 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.84e-05/0.4981, allocations: 23.98 kB / 0.6068 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.4981, allocations: 4 kB / 0.6068 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.4981, allocations: 3.953 kB / 0.6068 GB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.4981, allocations: 4 kB / 0.6068 GB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4981, allocations: 0 / 0.6068 GB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003349/0.4985, allocations: 310.3 kB / 0.6071 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.397e-05/0.4986, allocations: 96.91 kB / 0.6072 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.4986, allocations: 12 kB / 0.6072 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.944e-05/0.4987, allocations: 4 kB / 0.6072 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.4987, allocations: 11.98 kB / 0.6073 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.4987, allocations: 8 kB / 0.6073 GB, free: 10.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000164/0.4989, allocations: 188.8 kB / 0.6074 GB, free: 10.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4989, allocations: 0 / 0.6074 GB, free: 10.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002783/0.4992, allocations: 47.94 kB / 0.6075 GB, free: 10.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.001109/0.5003, allocations: 0.518 MB / 0.608 GB, free: 10.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002319/0.5006, allocations: 115.8 kB / 0.6081 GB, free: 10.08 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5006, allocations: 0 / 0.6081 GB, free: 10.08 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.5007, allocations: 63.8 kB / 0.6082 GB, free: 10.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.501, allocations: 28.12 kB / 0.6082 GB, free: 9.988 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005658/0.5015, allocations: 379.9 kB / 0.6086 GB, free: 9.586 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.5018, allocations: 0.7321 MB / 0.6093 GB, free: 8.828 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.492e-05/0.5019, allocations: 29.41 kB / 0.6093 GB, free: 8.801 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.39e-05/0.502, allocations: 19.44 kB / 0.6093 GB, free: 8.781 MB / 426.7 MB Notification: Performance of SimCode: time 3.6e-07/0.502, allocations: 0 / 0.6093 GB, free: 8.781 MB / 426.7 MB Notification: Performance of Templates: time 0.004684/0.5067, allocations: 2.239 MB / 0.6115 GB, free: 6.566 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches