Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,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.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, 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.283/1.283, allocations: 223.3 MB / 242.1 MB, free: 9.977 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.0007254/0.0007253, allocations: 103.3 kB / 293.3 MB, free: 10.57 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.3374/0.3374, allocations: 44.14 MB / 388.5 MB, free: 38.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004452/0.0004454, allocations: 19.98 kB / 461.1 MB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3674, allocations: 61.88 MB / 0.5107 GB, free: 37.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1264/0.4938, allocations: 89.54 MB / 0.5982 GB, free: 5.57 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.4941, allocations: 87.92 kB / 0.5983 GB, free: 5.488 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01629/0.5104, allocations: 6.173 MB / 0.6043 GB, free: 15.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.5105, allocations: 0 / 0.6043 GB, free: 15.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.5105, allocations: 0 / 0.6043 GB, free: 15.32 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.0005525/0.511, allocations: 411.1 kB / 0.6047 GB, free: 14.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.5111, allocations: 12.03 kB / 0.6047 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.89e-05/0.5112, allocations: 8.844 kB / 0.6047 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.5115, allocations: 216.1 kB / 0.6049 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.5115, allocations: 384 / 0.6049 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.5115, allocations: 4.375 kB / 0.6049 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.5117, allocations: 67.95 kB / 0.605 GB, free: 14.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.5117, allocations: 192 / 0.605 GB, free: 14.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.5117, allocations: 7.938 kB / 0.605 GB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.5118, allocations: 0 / 0.605 GB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.788e-05/0.5118, allocations: 27.91 kB / 0.605 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.5123, allocations: 281 kB / 0.6053 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.5125, allocations: 62.61 kB / 0.6053 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.505e-05/0.5125, allocations: 20.86 kB / 0.6054 GB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.5126, allocations: 7.938 kB / 0.6054 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.5127, allocations: 79.22 kB / 0.6054 GB, free: 13.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.5127, allocations: 0 / 0.6054 GB, free: 13.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005767/0.5133, allocations: 173.2 kB / 0.6056 GB, free: 13.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.5134, allocations: 81.11 kB / 0.6057 GB, free: 13.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.5136, allocations: 155.7 kB / 0.6058 GB, free: 13.53 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.5136, allocations: 25.7 kB / 0.6059 GB, free: 13.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.5137, allocations: 92.14 kB / 0.6059 GB, free: 13.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.5137, allocations: 31.69 kB / 0.606 GB, free: 13.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.5137, allocations: 0 / 0.606 GB, free: 13.37 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.5139, allocations: 327 kB / 0.6063 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.481e-05/0.514, allocations: 20 kB / 0.6063 GB, free: 13.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-05/0.514, allocations: 38.56 kB / 0.6063 GB, free: 12.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.5142, allocations: 73.73 kB / 0.6064 GB, free: 12.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.5142, allocations: 0 / 0.6064 GB, free: 12.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001914/0.5144, allocations: 101.5 kB / 0.6065 GB, free: 12.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.5144, allocations: 8 kB / 0.6065 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.5144, allocations: 3.938 kB / 0.6065 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.5144, allocations: 0 / 0.6065 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.611e-05/0.5145, allocations: 15.98 kB / 0.6065 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.5145, allocations: 4 kB / 0.6065 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.5146, allocations: 0 / 0.6065 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.5146, allocations: 4 kB / 0.6065 GB, free: 12.76 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.0001118/0.5147, allocations: 141.7 kB / 0.6067 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.5148, allocations: 7.906 kB / 0.6067 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/0.515, allocations: 114.3 kB / 0.6068 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.515, allocations: 4 kB / 0.6068 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.515, allocations: 0 / 0.6068 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.515, allocations: 0 / 0.6068 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.5155, allocations: 407.2 kB / 0.6072 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5155, allocations: 4 kB / 0.6072 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.884e-05/0.5156, allocations: 12.22 kB / 0.6072 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.5156, allocations: 0 / 0.6072 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.5156, allocations: 7.984 kB / 0.6072 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.5156, allocations: 7.938 kB / 0.6072 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.5156, allocations: 3.938 kB / 0.6072 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.5159, allocations: 212.3 kB / 0.6074 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.5159, allocations: 89 kB / 0.6075 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.516, allocations: 4.375 kB / 0.6075 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.143e-05/0.516, allocations: 4 kB / 0.6075 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.5161, allocations: 11.92 kB / 0.6075 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.5161, allocations: 4 kB / 0.6075 GB, free: 11.63 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001066/0.5162, allocations: 126.2 kB / 0.6077 GB, free: 11.51 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5162, allocations: 0 / 0.6077 GB, free: 11.51 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002866/0.5165, allocations: 36 kB / 0.6077 GB, free: 11.48 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.001148/0.5177, allocations: 0.5153 MB / 0.6082 GB, free: 11.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.5179, allocations: 55.91 kB / 0.6082 GB, free: 11.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5179, allocations: 4 kB / 0.6082 GB, free: 11.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.629e-05/0.518, allocations: 31.92 kB / 0.6083 GB, free: 11.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.5183, allocations: 33.36 kB / 0.6083 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004405/0.5188, allocations: 214.2 kB / 0.6085 GB, free: 10.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.5191, allocations: 0.7043 MB / 0.6092 GB, free: 10.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.022e-05/0.5192, allocations: 16.55 kB / 0.6092 GB, free: 10.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.5192, allocations: 19.42 kB / 0.6092 GB, free: 10.03 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5192, allocations: 0 / 0.6092 GB, free: 10.03 MB / 426.7 MB Notification: Performance of Templates: time 0.004827/0.524, allocations: 1.9 MB / 0.6111 GB, free: 8.148 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches