Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 179 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.234/1.234, allocations: 223.3 MB / 242.1 MB, free: 11.62 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.0007916/0.0007916, allocations: 96.23 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.3017/0.3017, allocations: 44.15 MB / 388.5 MB, free: 38.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003922, allocations: 16 kB / 461.1 MB, free: 1.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3143, allocations: 61.88 MB / 0.5107 GB, free: 38.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1085/0.4229, allocations: 89.32 MB / 0.598 GB, free: 5.742 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.4231, allocations: 79.94 kB / 0.598 GB, free: 5.668 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01528/0.4384, allocations: 5.589 MB / 0.6035 GB, free: 80 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.4385, allocations: 0 / 0.6035 GB, free: 80 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.4385, allocations: 7.922 kB / 0.6035 GB, free: 72 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.0005388/0.4391, allocations: 419 kB / 0.6039 GB, free: 15.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.4391, allocations: 8.031 kB / 0.6039 GB, free: 15.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.4392, allocations: 8.844 kB / 0.6039 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.4395, allocations: 229 kB / 0.6041 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.4395, allocations: 4.375 kB / 0.6041 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.4395, allocations: 4.359 kB / 0.6041 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.4397, allocations: 54.23 kB / 0.6042 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.4397, allocations: 192 / 0.6042 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.4397, allocations: 7.938 kB / 0.6042 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.4397, allocations: 3.984 kB / 0.6042 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.05e-05/0.4398, allocations: 23.92 kB / 0.6042 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.4402, allocations: 289 kB / 0.6045 GB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.4404, allocations: 58.61 kB / 0.6046 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.405e-05/0.4405, allocations: 24.84 kB / 0.6046 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.4405, allocations: 7.938 kB / 0.6046 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.4406, allocations: 67.39 kB / 0.6047 GB, free: 14.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.4406, allocations: 0 / 0.6047 GB, free: 14.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005457/0.4412, allocations: 173.2 kB / 0.6048 GB, free: 14.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.4412, allocations: 51.41 kB / 0.6049 GB, free: 14.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.4414, allocations: 184 kB / 0.605 GB, free: 14.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.4415, allocations: 29.7 kB / 0.6051 GB, free: 14.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/0.4415, allocations: 100.1 kB / 0.6052 GB, free: 14.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.4416, allocations: 27.64 kB / 0.6052 GB, free: 14.13 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.4416, allocations: 4 kB / 0.6052 GB, free: 14.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4417, allocations: 330.9 kB / 0.6055 GB, free: 13.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.899e-05/0.4418, allocations: 20 kB / 0.6055 GB, free: 13.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.298e-05/0.4418, allocations: 33.7 kB / 0.6056 GB, free: 13.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.442, allocations: 69.62 kB / 0.6056 GB, free: 13.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.442, allocations: 0 / 0.6056 GB, free: 13.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001876/0.4422, allocations: 113.4 kB / 0.6057 GB, free: 13.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.4422, allocations: 4 kB / 0.6057 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4422, allocations: 384 / 0.6057 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.4422, allocations: 0 / 0.6057 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.933e-05/0.4423, allocations: 19.98 kB / 0.6058 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.4423, allocations: 0 / 0.6058 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.725e-05/0.4424, allocations: 8 kB / 0.6058 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.4424, allocations: 0 / 0.6058 GB, free: 13.51 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 9.976e-05/0.4425, allocations: 139.6 kB / 0.6059 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.4426, allocations: 11.84 kB / 0.6059 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.4428, allocations: 118.5 kB / 0.606 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.4428, allocations: 0 / 0.606 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4428, allocations: 0 / 0.606 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4428, allocations: 0 / 0.606 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000486/0.4433, allocations: 415.2 kB / 0.6064 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.4434, allocations: 4.031 kB / 0.6064 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.25e-05/0.4434, allocations: 19.92 kB / 0.6064 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.4434, allocations: 0 / 0.6064 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.4434, allocations: 0 / 0.6064 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.4434, allocations: 4 kB / 0.6065 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.4434, allocations: 3.938 kB / 0.6065 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.4437, allocations: 216.4 kB / 0.6067 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.55e-05/0.4438, allocations: 93.11 kB / 0.6068 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.4438, allocations: 7.938 kB / 0.6068 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.048e-05/0.4439, allocations: 3.984 kB / 0.6068 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.4439, allocations: 11.94 kB / 0.6068 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.444, allocations: 4 kB / 0.6068 GB, free: 12.37 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001387/0.4441, allocations: 148 kB / 0.6069 GB, free: 12.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4441, allocations: 0 / 0.6069 GB, free: 12.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002619/0.4444, allocations: 35.92 kB / 0.607 GB, free: 12.19 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.001054/0.4454, allocations: 471 kB / 0.6074 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001901/0.4456, allocations: 63.91 kB / 0.6075 GB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4457, allocations: 64 / 0.6075 GB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.412e-05/0.4457, allocations: 35.94 kB / 0.6075 GB, free: 11.81 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.4461, allocations: 28.72 kB / 0.6075 GB, free: 11.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.4466, allocations: 242.4 kB / 0.6078 GB, free: 11.51 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.4469, allocations: 0.7082 MB / 0.6084 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.061e-05/0.4469, allocations: 20.84 kB / 0.6085 GB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.447, allocations: 19.42 kB / 0.6085 GB, free: 10.73 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.447, allocations: 0 / 0.6085 GB, free: 10.73 MB / 426.7 MB Notification: Performance of Templates: time 0.004162/0.4512, allocations: 1.699 MB / 0.6101 GB, free: 9.055 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches