Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008628/0.0008628, allocations: 179.7 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.291/1.291, allocations: 223.3 MB / 242.1 MB, free: 11.66 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.0009348/0.0009347, allocations: 87.08 kB / 293.3 MB, free: 10.76 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.3538/0.3538, allocations: 44.14 MB / 388.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.0004006, allocations: 16 kB / 461.1 MB, free: 1.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3617, allocations: 61.88 MB / 0.5107 GB, free: 38.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1211/0.4829, allocations: 89.34 MB / 0.598 GB, free: 5.711 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.4832, allocations: 83.94 kB / 0.5981 GB, free: 5.633 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01539/0.4986, allocations: 6.068 MB / 0.604 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4986, allocations: 0 / 0.604 GB, free: 15.56 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.4986, allocations: 8 kB / 0.604 GB, free: 15.55 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006079/0.4993, allocations: 458.8 kB / 0.6044 GB, free: 15.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.4993, allocations: 8.031 kB / 0.6044 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.486e-05/0.4994, allocations: 20.75 kB / 0.6045 GB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.4997, allocations: 243.9 kB / 0.6047 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.4998, allocations: 4.375 kB / 0.6047 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.4998, allocations: 4.375 kB / 0.6047 GB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.5, allocations: 105.6 kB / 0.6048 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.5, allocations: 192 / 0.6048 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.5, allocations: 7.938 kB / 0.6048 GB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5, allocations: 0 / 0.6048 GB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.5002, allocations: 39.95 kB / 0.6048 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/0.5004, allocations: 222.4 kB / 0.6051 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.5007, allocations: 113.2 kB / 0.6052 GB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.966e-05/0.5008, allocations: 41.69 kB / 0.6052 GB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.5008, allocations: 0 / 0.6052 GB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/0.5011, allocations: 113 kB / 0.6053 GB, free: 14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.5011, allocations: 0 / 0.6053 GB, free: 14 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004307/0.5015, allocations: 173.3 kB / 0.6055 GB, free: 13.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/0.5016, allocations: 136.5 kB / 0.6056 GB, free: 13.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.5018, allocations: 223.8 kB / 0.6058 GB, free: 13.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.5019, allocations: 25.7 kB / 0.6058 GB, free: 13.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.5019, allocations: 116.1 kB / 0.606 GB, free: 13.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.502, allocations: 31.66 kB / 0.606 GB, free: 13.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.502, allocations: 0 / 0.606 GB, free: 13.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.5021, allocations: 331.1 kB / 0.6063 GB, free: 12.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.315e-05/0.5022, allocations: 27.98 kB / 0.6063 GB, free: 12.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.5023, allocations: 81.06 kB / 0.6064 GB, free: 12.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.5025, allocations: 91.95 kB / 0.6065 GB, free: 12.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5025, allocations: 0 / 0.6065 GB, free: 12.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002482/0.5028, allocations: 141.3 kB / 0.6066 GB, free: 12.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.5028, allocations: 11.94 kB / 0.6066 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.5028, allocations: 0 / 0.6066 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.5028, allocations: 64 / 0.6066 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.5029, allocations: 27.98 kB / 0.6067 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.503, allocations: 0 / 0.6067 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.344e-05/0.503, allocations: 19.83 kB / 0.6067 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.5031, allocations: 8 kB / 0.6067 GB, free: 12.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001122/0.5032, allocations: 126.4 kB / 0.6068 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.5032, allocations: 23.73 kB / 0.6068 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003229/0.5035, allocations: 158.6 kB / 0.607 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.5036, allocations: 0 / 0.607 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.5036, allocations: 3.984 kB / 0.607 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.5036, allocations: 0 / 0.607 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.5038, allocations: 229.5 kB / 0.6072 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.5038, allocations: 0 / 0.6072 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.049e-05/0.5038, allocations: 8 kB / 0.6072 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.5038, allocations: 7.938 kB / 0.6072 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.5039, allocations: 256 / 0.6072 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.5039, allocations: 11.98 kB / 0.6072 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.5039, allocations: 3.938 kB / 0.6072 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.5042, allocations: 189.6 kB / 0.6074 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.479e-05/0.5043, allocations: 96.91 kB / 0.6075 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.5043, allocations: 11.92 kB / 0.6075 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.215e-05/0.5044, allocations: 4 kB / 0.6075 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.5044, allocations: 11.98 kB / 0.6075 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.5044, allocations: 8 kB / 0.6075 GB, free: 11.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001534/0.5046, allocations: 164.2 kB / 0.6077 GB, free: 11.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5046, allocations: 0 / 0.6077 GB, free: 11.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002495/0.5049, allocations: 47.92 kB / 0.6077 GB, free: 11.29 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001024/0.5059, allocations: 474.1 kB / 0.6082 GB, free: 11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002386/0.5061, allocations: 87.89 kB / 0.6083 GB, free: 10.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.5062, allocations: 0 / 0.6083 GB, free: 10.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.5063, allocations: 47.92 kB / 0.6083 GB, free: 10.87 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.5066, allocations: 47.89 kB / 0.6084 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005346/0.5072, allocations: 299.3 kB / 0.6087 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.5075, allocations: 0.7205 MB / 0.6094 GB, free: 9.754 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.841e-05/0.5076, allocations: 25.53 kB / 0.6094 GB, free: 9.727 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.104e-05/0.5076, allocations: 23.42 kB / 0.6094 GB, free: 9.703 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5076, allocations: 0 / 0.6094 GB, free: 9.703 MB / 426.7 MB Notification: Performance of Templates: time 0.005214/0.5129, allocations: 2.586 MB / 0.6119 GB, free: 7.148 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches