Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,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.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,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.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 177.9 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.277/1.277, allocations: 223.2 MB / 241 MB, free: 11.89 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.0008819/0.0008819, allocations: 99.45 kB / 292.2 MB, free: 10.93 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.3767/0.3767, allocations: 44.22 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003578, allocations: 16 kB / 459.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4197, allocations: 61.9 MB / 0.5096 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1238/0.5435, allocations: 89.3 MB / 0.5968 GB, free: 5.855 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.5438, allocations: 83.91 kB / 0.5969 GB, free: 5.777 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01539/0.5592, allocations: 5.652 MB / 0.6024 GB, free: 132 kB / 410.7 MB Notification: Performance of FrontEnd: time 4.289e-06/0.5592, allocations: 0 / 0.6024 GB, free: 132 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.5592, allocations: 7.938 kB / 0.6024 GB, free: 124 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.0005612/0.5598, allocations: 418.8 kB / 0.6028 GB, free: 15.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.5599, allocations: 8.031 kB / 0.6028 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.5599, allocations: 11.91 kB / 0.6028 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.5602, allocations: 224.3 kB / 0.603 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.5602, allocations: 11.94 kB / 0.603 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.5603, allocations: 0 / 0.603 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.5604, allocations: 61.61 kB / 0.6031 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.5605, allocations: 0 / 0.6031 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.5605, allocations: 0 / 0.6031 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.5605, allocations: 3.984 kB / 0.6031 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.692e-05/0.5606, allocations: 23.92 kB / 0.6031 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.561, allocations: 300.9 kB / 0.6034 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.5611, allocations: 54.69 kB / 0.6035 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.5612, allocations: 0 / 0.6035 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.5613, allocations: 71.44 kB / 0.6035 GB, free: 14.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.5613, allocations: 0 / 0.6035 GB, free: 14.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005561/0.5619, allocations: 189 kB / 0.6037 GB, free: 14.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.5619, allocations: 51.41 kB / 0.6037 GB, free: 14.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.5622, allocations: 190.5 kB / 0.6039 GB, free: 14.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.5622, allocations: 25.7 kB / 0.604 GB, free: 14.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.638e-05/0.5622, allocations: 96.14 kB / 0.604 GB, free: 14.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.5623, allocations: 27.64 kB / 0.6041 GB, free: 14.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.5623, allocations: 4 kB / 0.6041 GB, free: 14.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.5624, allocations: 327 kB / 0.6044 GB, free: 13.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.662e-05/0.5625, allocations: 27.98 kB / 0.6044 GB, free: 13.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.087e-05/0.5626, allocations: 33.7 kB / 0.6044 GB, free: 13.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.834e-05/0.5626, allocations: 24 kB / 0.6045 GB, free: 13.76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.5626, allocations: 0 / 0.6045 GB, free: 13.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001842/0.5628, allocations: 101.5 kB / 0.6046 GB, free: 13.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.5629, allocations: 9.875 kB / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.5629, allocations: 0 / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.5629, allocations: 4.031 kB / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.679e-05/0.563, allocations: 19.92 kB / 0.6046 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.563, allocations: 4 kB / 0.6046 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/0.563, allocations: 0 / 0.6046 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-05/0.5631, allocations: 4 kB / 0.6046 GB, free: 13.61 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.000103/0.5632, allocations: 134.3 kB / 0.6047 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.5632, allocations: 11.81 kB / 0.6047 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/0.5635, allocations: 131.1 kB / 0.6049 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.5635, allocations: 0 / 0.6049 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.5635, allocations: 0 / 0.6049 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.5635, allocations: 0 / 0.6049 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005058/0.564, allocations: 419.2 kB / 0.6053 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.564, allocations: 384 / 0.6053 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.639e-05/0.5641, allocations: 8 kB / 0.6053 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.5641, allocations: 4 kB / 0.6053 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.5641, allocations: 8 kB / 0.6053 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5641, allocations: 4.031 kB / 0.6053 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.5641, allocations: 4 kB / 0.6053 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.5644, allocations: 229.8 kB / 0.6055 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.553e-05/0.5645, allocations: 89.02 kB / 0.6056 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.5645, allocations: 7.984 kB / 0.6056 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.972e-05/0.5646, allocations: 4 kB / 0.6056 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.5646, allocations: 7.984 kB / 0.6056 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.5647, allocations: 15.89 kB / 0.6056 GB, free: 12.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001253/0.5648, allocations: 148.9 kB / 0.6058 GB, free: 12.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5648, allocations: 0 / 0.6058 GB, free: 12.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002895/0.5651, allocations: 31.94 kB / 0.6058 GB, free: 12.26 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.001086/0.5662, allocations: 473.3 kB / 0.6063 GB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.5664, allocations: 67.84 kB / 0.6063 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.5664, allocations: 0 / 0.6063 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.192e-05/0.5665, allocations: 35.97 kB / 0.6064 GB, free: 11.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.5667, allocations: 28.11 kB / 0.6064 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005182/0.5673, allocations: 258.1 kB / 0.6066 GB, free: 11.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.5676, allocations: 0.7121 MB / 0.6073 GB, free: 10.83 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.861e-05/0.5677, allocations: 16.55 kB / 0.6073 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.997e-05/0.5677, allocations: 23.42 kB / 0.6074 GB, free: 10.79 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5677, allocations: 0 / 0.6074 GB, free: 10.79 MB / 426.7 MB Notification: Performance of Templates: time 0.004444/0.5722, allocations: 1.697 MB / 0.609 GB, free: 9.109 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches