Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000932/0.0009322, allocations: 178.5 kB / 18.08 MB, free: 3.742 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.223/1.223, allocations: 223.3 MB / 242.1 MB, free: 11.71 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.0007722/0.0007723, allocations: 97.92 kB / 293.3 MB, free: 10.81 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.2858/0.2858, allocations: 44.14 MB / 388.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003322, allocations: 19.98 kB / 461.1 MB, free: 1.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2833, allocations: 61.88 MB / 0.5107 GB, free: 38.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1089/0.3922, allocations: 89.32 MB / 0.598 GB, free: 5.793 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.3925, allocations: 83.92 kB / 0.598 GB, free: 5.715 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01376/0.4062, allocations: 5.628 MB / 0.6035 GB, free: 88 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.4063, allocations: 0 / 0.6035 GB, free: 88 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.4063, allocations: 11.88 kB / 0.6035 GB, free: 76 kB / 410.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.000466/0.4068, allocations: 419.1 kB / 0.6039 GB, free: 15.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.4068, allocations: 8.031 kB / 0.604 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.4069, allocations: 12.84 kB / 0.604 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.4071, allocations: 221.6 kB / 0.6042 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.4071, allocations: 8.359 kB / 0.6042 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.4072, allocations: 384 / 0.6042 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.4073, allocations: 58.17 kB / 0.6042 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4073, allocations: 4.172 kB / 0.6042 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.4073, allocations: 7.938 kB / 0.6043 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.4073, allocations: 0 / 0.6043 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.779e-05/0.4074, allocations: 23.98 kB / 0.6043 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.4078, allocations: 296.9 kB / 0.6046 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.4079, allocations: 62.56 kB / 0.6046 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.085e-05/0.408, allocations: 24.84 kB / 0.6046 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.408, allocations: 0 / 0.6046 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001319/0.4081, allocations: 67.39 kB / 0.6047 GB, free: 14.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.4081, allocations: 0 / 0.6047 GB, free: 14.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004838/0.4086, allocations: 181.1 kB / 0.6049 GB, free: 14.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.4087, allocations: 55.39 kB / 0.6049 GB, free: 14.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.4089, allocations: 199.3 kB / 0.6051 GB, free: 14.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.4089, allocations: 25.7 kB / 0.6051 GB, free: 14.22 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.325e-05/0.4089, allocations: 104.1 kB / 0.6052 GB, free: 14.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.409, allocations: 27.66 kB / 0.6053 GB, free: 14.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.409, allocations: 4 kB / 0.6053 GB, free: 14.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.409e-05/0.4091, allocations: 326.9 kB / 0.6056 GB, free: 13.76 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.172e-05/0.4091, allocations: 23.98 kB / 0.6056 GB, free: 13.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.135e-05/0.4092, allocations: 41.64 kB / 0.6056 GB, free: 13.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.4093, allocations: 65.75 kB / 0.6057 GB, free: 13.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4093, allocations: 4 kB / 0.6057 GB, free: 13.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001714/0.4095, allocations: 101.5 kB / 0.6058 GB, free: 13.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.4095, allocations: 4 kB / 0.6058 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4095, allocations: 0 / 0.6058 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.4096, allocations: 4 kB / 0.6058 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.028e-05/0.4096, allocations: 16.36 kB / 0.6058 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.4097, allocations: 0 / 0.6058 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.448e-05/0.4097, allocations: 8 kB / 0.6058 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.4097, allocations: 8 kB / 0.6059 GB, free: 13.47 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 (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 9.07e-05/0.4098, allocations: 137.7 kB / 0.606 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.4098, allocations: 19.75 kB / 0.606 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/0.4101, allocations: 119 kB / 0.6061 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4101, allocations: 0 / 0.6061 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4101, allocations: 0 / 0.6061 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.4101, allocations: 0 / 0.6061 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.4105, allocations: 423.2 kB / 0.6065 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4105, allocations: 0 / 0.6065 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.638e-05/0.4106, allocations: 8 kB / 0.6065 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.4106, allocations: 0 / 0.6065 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.4106, allocations: 4 kB / 0.6065 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4106, allocations: 0 / 0.6065 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.4106, allocations: 3.938 kB / 0.6065 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.4108, allocations: 220.4 kB / 0.6067 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.4109, allocations: 93.11 kB / 0.6068 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.4109, allocations: 3.938 kB / 0.6068 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.293e-05/0.411, allocations: 11.98 kB / 0.6068 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.4111, allocations: 7.938 kB / 0.6069 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.4111, allocations: 7.984 kB / 0.6069 GB, free: 12.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001263/0.4112, allocations: 148.9 kB / 0.607 GB, free: 12.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4112, allocations: 0 / 0.607 GB, free: 12.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002586/0.4115, allocations: 31.94 kB / 0.607 GB, free: 12.14 MB / 426.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.0009848/0.4125, allocations: 476.2 kB / 0.6075 GB, free: 11.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001686/0.4126, allocations: 59.95 kB / 0.6075 GB, free: 11.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.4127, allocations: 4.062 kB / 0.6076 GB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.248e-05/0.4127, allocations: 35.92 kB / 0.6076 GB, free: 11.76 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.4131, allocations: 30.36 kB / 0.6076 GB, free: 11.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004138/0.4135, allocations: 258.1 kB / 0.6079 GB, free: 11.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.4137, allocations: 0.7121 MB / 0.6086 GB, free: 10.71 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.1e-05/0.4138, allocations: 12.5 kB / 0.6086 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/0.4138, allocations: 19.42 kB / 0.6086 GB, free: 10.68 MB / 426.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4138, allocations: 4 kB / 0.6086 GB, free: 10.68 MB / 426.7 MB Notification: Performance of Templates: time 0.003891/0.4177, allocations: 1.735 MB / 0.6103 GB, free: 8.965 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches