Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,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.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,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.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 177 kB / 17.06 MB, free: 5.098 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.38/1.38, allocations: 223.2 MB / 241 MB, free: 10.14 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.0009047/0.0009047, allocations: 95.3 kB / 292.2 MB, free: 10.69 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.3625/0.3625, allocations: 44.21 MB / 387.5 MB, free: 38.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003005/0.0003006, allocations: 12 kB / 459.9 MB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3391, allocations: 61.9 MB / 0.5096 GB, free: 37.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1357/0.4749, allocations: 89.31 MB / 0.5968 GB, free: 5.816 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.4752, allocations: 83.92 kB / 0.5969 GB, free: 5.738 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01963/0.4948, allocations: 5.425 MB / 0.6022 GB, free: 324 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.4949, allocations: 0 / 0.6022 GB, free: 324 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.4949, allocations: 8 kB / 0.6022 GB, free: 316 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.0007077/0.4956, allocations: 403 kB / 0.6025 GB, free: 15.87 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.4957, allocations: 12.56 kB / 0.6026 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.4958, allocations: 11.84 kB / 0.6026 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.4962, allocations: 216.1 kB / 0.6028 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.4962, allocations: 0 / 0.6028 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.4963, allocations: 4 kB / 0.6028 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.4965, allocations: 67.39 kB / 0.6028 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.4965, allocations: 0 / 0.6028 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.4966, allocations: 8 kB / 0.6029 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.4966, allocations: 0 / 0.6029 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.4967, allocations: 19.98 kB / 0.6029 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004796/0.4972, allocations: 280.8 kB / 0.6031 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/0.4975, allocations: 70.61 kB / 0.6032 GB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.4975, allocations: 0 / 0.6032 GB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002023/0.4977, allocations: 83.42 kB / 0.6033 GB, free: 14.99 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.4977, allocations: 0 / 0.6033 GB, free: 14.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008752/0.4986, allocations: 193.3 kB / 0.6035 GB, free: 14.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/0.4987, allocations: 81.11 kB / 0.6035 GB, free: 14.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.4989, allocations: 147.8 kB / 0.6037 GB, free: 14.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.499, allocations: 29.7 kB / 0.6037 GB, free: 14.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.856e-05/0.4991, allocations: 96.31 kB / 0.6038 GB, free: 14.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/0.4991, allocations: 31.56 kB / 0.6038 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-06/0.4991, allocations: 4 kB / 0.6038 GB, free: 14.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.4993, allocations: 322.8 kB / 0.6042 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.4994, allocations: 27.98 kB / 0.6042 GB, free: 14.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.4996, allocations: 63.67 kB / 0.6042 GB, free: 13.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.4997, allocations: 36.11 kB / 0.6043 GB, free: 13.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4997, allocations: 0 / 0.6043 GB, free: 13.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003359/0.5, allocations: 125.5 kB / 0.6044 GB, free: 13.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.5001, allocations: 9.344 kB / 0.6044 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.5001, allocations: 3.984 kB / 0.6044 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.5001, allocations: 64 / 0.6044 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.5003, allocations: 31.92 kB / 0.6044 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.5003, allocations: 0 / 0.6044 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.384e-05/0.5004, allocations: 8 kB / 0.6044 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.5004, allocations: 4 kB / 0.6044 GB, free: 13.74 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 (13): * Single equations (assignments): 13 * 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.0001468/0.5006, allocations: 125.8 kB / 0.6046 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.5006, allocations: 11.91 kB / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003766/0.501, allocations: 138.7 kB / 0.6047 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.501, allocations: 7.984 kB / 0.6047 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5011, allocations: 0 / 0.6047 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.5011, allocations: 4 kB / 0.6047 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007151/0.5018, allocations: 435.1 kB / 0.6051 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.5018, allocations: 0 / 0.6051 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.177e-05/0.5019, allocations: 16 kB / 0.6052 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.5019, allocations: 0 / 0.6052 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.5019, allocations: 8.016 kB / 0.6052 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.5019, allocations: 4 kB / 0.6052 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-06/0.502, allocations: 7.938 kB / 0.6052 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.5023, allocations: 233.9 kB / 0.6054 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.331e-05/0.5024, allocations: 89.02 kB / 0.6055 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.5025, allocations: 8 kB / 0.6055 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.5026, allocations: 15.94 kB / 0.6055 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.5026, allocations: 4 kB / 0.6055 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.5027, allocations: 3.984 kB / 0.6055 GB, free: 12.53 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001327/0.5028, allocations: 125.5 kB / 0.6056 GB, free: 12.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5028, allocations: 0 / 0.6056 GB, free: 12.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000457/0.5033, allocations: 36 kB / 0.6057 GB, free: 12.38 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 (11): * Single equations (assignments): 9 * 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.00195/0.5052, allocations: 0.5291 MB / 0.6062 GB, free: 12.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003198/0.5056, allocations: 71.91 kB / 0.6063 GB, free: 11.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5056, allocations: 0 / 0.6063 GB, free: 11.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.5057, allocations: 43.92 kB / 0.6063 GB, free: 11.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.5062, allocations: 28.27 kB / 0.6063 GB, free: 11.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000649/0.5068, allocations: 242.4 kB / 0.6066 GB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.5072, allocations: 0.7004 MB / 0.6072 GB, free: 10.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.5073, allocations: 24.86 kB / 0.6073 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.426e-05/0.5074, allocations: 19.42 kB / 0.6073 GB, free: 10.86 MB / 426.7 MB Notification: Performance of SimCode: time 7.32e-07/0.5074, allocations: 0 / 0.6073 GB, free: 10.86 MB / 426.7 MB Notification: Performance of Templates: time 0.005018/0.5124, allocations: 2.024 MB / 0.6093 GB, free: 8.848 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches