Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,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.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009305/0.0009306, allocations: 179 kB / 18.09 MB, free: 3.754 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.362/1.362, allocations: 223.3 MB / 242.1 MB, free: 11.68 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.0008279/0.0008279, allocations: 104.9 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.348/0.348, allocations: 44.15 MB / 388.5 MB, free: 39.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003653, allocations: 16 kB / 461.1 MB, free: 1.547 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3723, allocations: 61.88 MB / 0.5107 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1175/0.4898, allocations: 89.54 MB / 0.5982 GB, free: 5.559 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.4901, allocations: 79.94 kB / 0.5983 GB, free: 5.484 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01644/0.5066, allocations: 6.177 MB / 0.6043 GB, free: 15.31 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.5066, allocations: 0 / 0.6043 GB, free: 15.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.5067, allocations: 4 kB / 0.6043 GB, free: 15.3 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.0005433/0.5072, allocations: 411.2 kB / 0.6047 GB, free: 14.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.5073, allocations: 15.97 kB / 0.6047 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.825e-05/0.5073, allocations: 8.844 kB / 0.6047 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.5076, allocations: 204.1 kB / 0.6049 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.5077, allocations: 4.375 kB / 0.6049 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.5077, allocations: 4.375 kB / 0.6049 GB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.5078, allocations: 71.94 kB / 0.605 GB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.5079, allocations: 192 / 0.605 GB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.5079, allocations: 7.938 kB / 0.605 GB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.5079, allocations: 7.938 kB / 0.605 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.086e-05/0.508, allocations: 23.91 kB / 0.605 GB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004204/0.5084, allocations: 284.9 kB / 0.6053 GB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.5086, allocations: 62.61 kB / 0.6053 GB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.5087, allocations: 20.86 kB / 0.6054 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.5087, allocations: 0 / 0.6054 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.5089, allocations: 79.22 kB / 0.6054 GB, free: 13.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.794e-06/0.5089, allocations: 0 / 0.6054 GB, free: 13.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005811/0.5095, allocations: 177.2 kB / 0.6056 GB, free: 13.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.5095, allocations: 81.11 kB / 0.6057 GB, free: 13.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.5097, allocations: 159.7 kB / 0.6058 GB, free: 13.51 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.5097, allocations: 25.7 kB / 0.6059 GB, free: 13.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.5098, allocations: 92.14 kB / 0.606 GB, free: 13.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.5098, allocations: 23.7 kB / 0.606 GB, free: 13.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.5098, allocations: 0 / 0.606 GB, free: 13.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.51, allocations: 331 kB / 0.6063 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.576e-05/0.5101, allocations: 12 kB / 0.6063 GB, free: 13.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.815e-05/0.5101, allocations: 50.55 kB / 0.6064 GB, free: 12.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.5103, allocations: 61.66 kB / 0.6064 GB, free: 12.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.5103, allocations: 0 / 0.6064 GB, free: 12.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002045/0.5105, allocations: 101.6 kB / 0.6065 GB, free: 12.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.5105, allocations: 7.938 kB / 0.6065 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5105, allocations: 7.938 kB / 0.6065 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.5106, allocations: 0 / 0.6065 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.671e-05/0.5106, allocations: 15.98 kB / 0.6065 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.5107, allocations: 4.062 kB / 0.6065 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.395e-05/0.5107, allocations: 4 kB / 0.6065 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.5107, allocations: 4 kB / 0.6065 GB, free: 12.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 (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.0001031/0.5108, allocations: 131.7 kB / 0.6067 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.5109, allocations: 11.91 kB / 0.6067 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/0.5111, allocations: 114.5 kB / 0.6068 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.5112, allocations: 4 kB / 0.6068 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5112, allocations: 4.094 kB / 0.6068 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5112, allocations: 3.938 kB / 0.6068 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004729/0.5117, allocations: 403.2 kB / 0.6072 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.5117, allocations: 0 / 0.6072 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.272e-05/0.5117, allocations: 15.94 kB / 0.6072 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5117, allocations: 0 / 0.6072 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.5117, allocations: 7.984 kB / 0.6072 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.5117, allocations: 0 / 0.6072 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5118, allocations: 7.938 kB / 0.6072 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.512, allocations: 208.5 kB / 0.6074 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.077e-05/0.5121, allocations: 89 kB / 0.6075 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.5121, allocations: 8 kB / 0.6075 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-05/0.5122, allocations: 0 / 0.6075 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.5122, allocations: 11.92 kB / 0.6075 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.5123, allocations: 12 kB / 0.6075 GB, free: 11.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001096/0.5124, allocations: 122 kB / 0.6077 GB, free: 11.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5124, allocations: 0 / 0.6077 GB, free: 11.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002883/0.5127, allocations: 35.98 kB / 0.6077 GB, free: 11.47 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.001154/0.5138, allocations: 0.5146 MB / 0.6082 GB, free: 11.15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.5141, allocations: 59.91 kB / 0.6082 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5141, allocations: 0 / 0.6082 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.15e-05/0.5142, allocations: 44.03 kB / 0.6083 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.5145, allocations: 30.61 kB / 0.6083 GB, free: 11.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004893/0.515, allocations: 210 kB / 0.6085 GB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.5153, allocations: 0.7043 MB / 0.6092 GB, free: 10.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.276e-05/0.5154, allocations: 16.84 kB / 0.6092 GB, free: 10.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.203e-05/0.5155, allocations: 19.42 kB / 0.6092 GB, free: 10.02 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5155, allocations: 0 / 0.6092 GB, free: 10.02 MB / 426.7 MB Notification: Performance of Templates: time 0.004761/0.5202, allocations: 1.896 MB / 0.6111 GB, free: 8.141 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches