Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 178 kB / 18.09 MB, free: 3.75 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.278/1.278, allocations: 223.3 MB / 242.1 MB, free: 9.957 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.0008965/0.0008967, allocations: 98.33 kB / 293.3 MB, free: 10.56 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.3408/0.3408, allocations: 44.15 MB / 388.5 MB, free: 38.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003913/0.0003914, allocations: 20 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3758, allocations: 61.88 MB / 0.5107 GB, free: 37.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1112/0.4871, allocations: 89.31 MB / 0.598 GB, free: 5.758 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/0.4874, allocations: 81.19 kB / 0.598 GB, free: 5.684 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01597/0.5034, allocations: 5.906 MB / 0.6038 GB, free: 15.78 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.5035, allocations: 4 kB / 0.6038 GB, free: 15.78 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.861e-05/0.5035, allocations: 7.938 kB / 0.6038 GB, free: 15.77 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006075/0.5041, allocations: 430.9 kB / 0.6042 GB, free: 15.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.5042, allocations: 12.03 kB / 0.6042 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.619e-05/0.5042, allocations: 12.75 kB / 0.6043 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.5046, allocations: 239.9 kB / 0.6045 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.5046, allocations: 4.375 kB / 0.6045 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.5047, allocations: 4.375 kB / 0.6045 GB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.5048, allocations: 62.17 kB / 0.6045 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.5048, allocations: 192 / 0.6045 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.5049, allocations: 3.938 kB / 0.6046 GB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5049, allocations: 0 / 0.6046 GB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.517e-05/0.505, allocations: 19.98 kB / 0.6046 GB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/0.5054, allocations: 308.8 kB / 0.6049 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.5056, allocations: 74.53 kB / 0.6049 GB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.457e-05/0.5056, allocations: 20.84 kB / 0.605 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.5057, allocations: 0 / 0.605 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.5058, allocations: 67.39 kB / 0.605 GB, free: 14.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.5058, allocations: 0 / 0.605 GB, free: 14.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005709/0.5064, allocations: 189.1 kB / 0.6052 GB, free: 14.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.5065, allocations: 51.41 kB / 0.6052 GB, free: 14.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.5067, allocations: 264.7 kB / 0.6055 GB, free: 13.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.5068, allocations: 25.7 kB / 0.6055 GB, free: 13.81 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.426e-05/0.5069, allocations: 112.1 kB / 0.6056 GB, free: 13.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.5069, allocations: 27.64 kB / 0.6057 GB, free: 13.67 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.5069, allocations: 0 / 0.6057 GB, free: 13.67 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.507, allocations: 334.9 kB / 0.606 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.098e-05/0.5071, allocations: 27.98 kB / 0.606 GB, free: 13.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.322e-05/0.5072, allocations: 37.64 kB / 0.606 GB, free: 13.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.5073, allocations: 57.7 kB / 0.6061 GB, free: 13.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.5073, allocations: 0 / 0.6061 GB, free: 13.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002156/0.5075, allocations: 109.4 kB / 0.6062 GB, free: 13.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.5076, allocations: 4 kB / 0.6062 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.5076, allocations: 0 / 0.6062 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.5076, allocations: 8.031 kB / 0.6062 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.852e-05/0.5077, allocations: 15.98 kB / 0.6062 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.5077, allocations: 0 / 0.6062 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.165e-05/0.5078, allocations: 4 kB / 0.6062 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.5078, allocations: 8 kB / 0.6062 GB, free: 13.05 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 0.0001394/0.5079, allocations: 136 kB / 0.6064 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.508, allocations: 23.73 kB / 0.6064 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.5082, allocations: 131.1 kB / 0.6065 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.5083, allocations: 0 / 0.6065 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.5083, allocations: 0 / 0.6065 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.5083, allocations: 3.938 kB / 0.6065 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000488/0.5088, allocations: 439.6 kB / 0.6069 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.5088, allocations: 0 / 0.6069 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.058e-05/0.5088, allocations: 15.94 kB / 0.607 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.5088, allocations: 0 / 0.607 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.5089, allocations: 12.02 kB / 0.607 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5089, allocations: 0 / 0.607 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.5089, allocations: 3.938 kB / 0.607 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.5091, allocations: 220.4 kB / 0.6072 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.449e-05/0.5092, allocations: 93.09 kB / 0.6073 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.5092, allocations: 11.94 kB / 0.6073 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.5093, allocations: 0 / 0.6073 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.5094, allocations: 15.92 kB / 0.6073 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.5094, allocations: 4 kB / 0.6073 GB, free: 11.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001714/0.5096, allocations: 200.2 kB / 0.6075 GB, free: 11.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5096, allocations: 0 / 0.6075 GB, free: 11.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002769/0.5098, allocations: 35.94 kB / 0.6075 GB, free: 11.62 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.001005/0.5109, allocations: 480 kB / 0.608 GB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.511, allocations: 55.97 kB / 0.608 GB, free: 11.28 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5111, allocations: 0 / 0.608 GB, free: 11.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.843e-05/0.5111, allocations: 35.92 kB / 0.6081 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.5115, allocations: 23.98 kB / 0.6081 GB, free: 11.22 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005528/0.5121, allocations: 327 kB / 0.6084 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.5124, allocations: 0.716 MB / 0.6091 GB, free: 10.13 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.753e-05/0.5125, allocations: 24.84 kB / 0.6091 GB, free: 10.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.5125, allocations: 15.44 kB / 0.6091 GB, free: 10.09 MB / 426.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5125, allocations: 0 / 0.6091 GB, free: 10.09 MB / 426.7 MB Notification: Performance of Templates: time 0.004579/0.5171, allocations: 1.852 MB / 0.611 GB, free: 8.258 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches