Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009291/0.0009292, allocations: 180.2 kB / 16.77 MB, free: 5.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.774/1.774, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008065/0.0008066, allocations: 85.03 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4301/0.4301, allocations: 43.57 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004531/0.0004535, allocations: 16 kB / 432.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1361, allocations: 58.85 MB / 491.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3539/0.4901, allocations: 87.76 MB / 0.5657 GB, free: 14.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.4903, allocations: 79.95 kB / 0.5657 GB, free: 14.13 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01442/0.5048, allocations: 5.389 MB / 0.571 GB, free: 8.789 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5048, allocations: 0 / 0.571 GB, free: 8.789 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.5048, allocations: 4 kB / 0.571 GB, free: 8.785 MB / 394.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.0005136/0.5053, allocations: 415 kB / 0.5714 GB, free: 8.332 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.5054, allocations: 12.03 kB / 0.5714 GB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.5054, allocations: 8.844 kB / 0.5714 GB, free: 8.312 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.5057, allocations: 223.6 kB / 0.5716 GB, free: 8.059 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.5057, allocations: 4.375 kB / 0.5716 GB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.5058, allocations: 8.359 kB / 0.5716 GB, free: 8.047 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.5059, allocations: 55.55 kB / 0.5717 GB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.5059, allocations: 4.172 kB / 0.5717 GB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.506, allocations: 7.938 kB / 0.5717 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.506, allocations: 0 / 0.5717 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.08e-05/0.506, allocations: 19.98 kB / 0.5717 GB, free: 7.957 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.5064, allocations: 288.8 kB / 0.572 GB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.5066, allocations: 70.55 kB / 0.5721 GB, free: 7.547 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.087e-05/0.5067, allocations: 24.84 kB / 0.5721 GB, free: 7.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.5067, allocations: 0 / 0.5721 GB, free: 7.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.5068, allocations: 64.27 kB / 0.5722 GB, free: 7.445 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.875e-06/0.5069, allocations: 8 kB / 0.5722 GB, free: 7.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005231/0.5074, allocations: 173.9 kB / 0.5723 GB, free: 7.262 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.5074, allocations: 51.41 kB / 0.5724 GB, free: 7.199 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.5076, allocations: 186.2 kB / 0.5726 GB, free: 7.008 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.5076, allocations: 25.7 kB / 0.5726 GB, free: 6.977 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.5077, allocations: 104.1 kB / 0.5727 GB, free: 6.871 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.138e-05/0.5078, allocations: 31.62 kB / 0.5727 GB, free: 6.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/0.5078, allocations: 4 kB / 0.5727 GB, free: 6.836 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5079, allocations: 330.8 kB / 0.573 GB, free: 6.504 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.755e-05/0.508, allocations: 16 kB / 0.573 GB, free: 6.488 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.404e-05/0.5081, allocations: 37.7 kB / 0.5731 GB, free: 6.445 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.5082, allocations: 57.77 kB / 0.5731 GB, free: 6.383 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.5082, allocations: 0 / 0.5731 GB, free: 6.383 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002011/0.5084, allocations: 109.8 kB / 0.5732 GB, free: 6.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.5084, allocations: 8.219 kB / 0.5732 GB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.5084, allocations: 0 / 0.5732 GB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.5085, allocations: 7.938 kB / 0.5733 GB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.298e-05/0.5086, allocations: 23.92 kB / 0.5733 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.5086, allocations: 0 / 0.5733 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.069e-05/0.5086, allocations: 8 kB / 0.5733 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-06/0.5087, allocations: 4 kB / 0.5733 GB, free: 6.219 MB / 394.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.0001136/0.5088, allocations: 125.8 kB / 0.5734 GB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.5088, allocations: 11.91 kB / 0.5734 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/0.5091, allocations: 118.3 kB / 0.5735 GB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.5091, allocations: 0 / 0.5735 GB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.5091, allocations: 4 kB / 0.5735 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.5091, allocations: 0 / 0.5735 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005069/0.5096, allocations: 411.2 kB / 0.5739 GB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.5096, allocations: 3.984 kB / 0.5739 GB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-05/0.5097, allocations: 12.03 kB / 0.5739 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.5097, allocations: 0 / 0.5739 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.5097, allocations: 8 kB / 0.574 GB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5097, allocations: 3.938 kB / 0.574 GB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5097, allocations: 3.938 kB / 0.574 GB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.51, allocations: 212.1 kB / 0.5742 GB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.952e-05/0.5101, allocations: 85.02 kB / 0.5742 GB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.5101, allocations: 12 kB / 0.5743 GB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.299e-05/0.5102, allocations: 7.984 kB / 0.5743 GB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.5103, allocations: 11.88 kB / 0.5743 GB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.5103, allocations: 0 / 0.5743 GB, free: 5.094 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001354/0.5104, allocations: 144.8 kB / 0.5744 GB, free: 4.953 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5104, allocations: 0 / 0.5744 GB, free: 4.953 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002991/0.5107, allocations: 39.92 kB / 0.5745 GB, free: 4.914 MB / 394.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.0009792/0.5117, allocations: 480.7 kB / 0.5749 GB, free: 4.543 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001786/0.5119, allocations: 59.91 kB / 0.575 GB, free: 4.484 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5119, allocations: 0 / 0.575 GB, free: 4.484 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.158e-05/0.512, allocations: 28.28 kB / 0.575 GB, free: 4.457 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.5123, allocations: 40.05 kB / 0.575 GB, free: 4.418 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005466/0.5129, allocations: 252.8 kB / 0.5753 GB, free: 4.145 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.5132, allocations: 0.7121 MB / 0.576 GB, free: 3.406 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.278e-05/0.5133, allocations: 12.56 kB / 0.576 GB, free: 3.395 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.5134, allocations: 19.42 kB / 0.576 GB, free: 3.375 MB / 394.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5134, allocations: 0 / 0.576 GB, free: 3.375 MB / 394.7 MB Notification: Performance of Templates: time 0.004215/0.5176, allocations: 1.683 MB / 0.5776 GB, free: 1.707 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches