Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 176.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.453/1.453, allocations: 223.2 MB / 241 MB, free: 11.84 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.001166/0.001165, allocations: 93.59 kB / 292.2 MB, free: 10.88 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.3773/0.3773, allocations: 44.21 MB / 387.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003678, allocations: 16 kB / 459.9 MB, free: 1.477 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3885, allocations: 61.9 MB / 0.5096 GB, free: 38.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1294/0.518, allocations: 89.14 MB / 0.5966 GB, free: 5.953 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.5182, allocations: 79.91 kB / 0.5967 GB, free: 5.879 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0173/0.5356, allocations: 6.725 MB / 0.6033 GB, free: 15.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.5356, allocations: 0 / 0.6033 GB, free: 15.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.771e-05/0.5356, allocations: 15.98 kB / 0.6033 GB, free: 15.14 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009818/0.5366, allocations: 0.7074 MB / 0.604 GB, free: 14.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.5367, allocations: 8.562 kB / 0.604 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.008e-05/0.5368, allocations: 47.44 kB / 0.604 GB, free: 14.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008302/0.5376, allocations: 495 kB / 0.6045 GB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.5376, allocations: 0 / 0.6045 GB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.5377, allocations: 4 kB / 0.6045 GB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.5379, allocations: 91.28 kB / 0.6046 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.5379, allocations: 0 / 0.6046 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.5379, allocations: 0 / 0.6046 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.5379, allocations: 4 kB / 0.6046 GB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.538, allocations: 31.97 kB / 0.6046 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.5385, allocations: 382.4 kB / 0.605 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.5387, allocations: 113.2 kB / 0.6051 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.5387, allocations: 4 kB / 0.6051 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002244/0.539, allocations: 117 kB / 0.6052 GB, free: 12.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.539, allocations: 0 / 0.6052 GB, free: 12.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004701/0.5395, allocations: 204.9 kB / 0.6054 GB, free: 12.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.5395, allocations: 81.11 kB / 0.6055 GB, free: 12.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.5407, allocations: 0.9433 MB / 0.6064 GB, free: 11.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.5408, allocations: 25.7 kB / 0.6064 GB, free: 11.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.5409, allocations: 236.1 kB / 0.6066 GB, free: 11.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.29e-05/0.541, allocations: 23.7 kB / 0.6067 GB, free: 11.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.541, allocations: 4 kB / 0.6067 GB, free: 11.42 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.5412, allocations: 366.8 kB / 0.607 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.954e-05/0.5413, allocations: 27.98 kB / 0.607 GB, free: 11.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.409e-05/0.5414, allocations: 63.62 kB / 0.6071 GB, free: 10.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.88e-05/0.5415, allocations: 31.94 kB / 0.6071 GB, free: 10.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5415, allocations: 3.938 kB / 0.6071 GB, free: 10.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003079/0.5418, allocations: 180.9 kB / 0.6073 GB, free: 10.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.5418, allocations: 4 kB / 0.6073 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.5418, allocations: 0.625 kB / 0.6073 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.5419, allocations: 8.062 kB / 0.6073 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.542, allocations: 19.98 kB / 0.6073 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.542, allocations: 3.938 kB / 0.6074 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.5421, allocations: 19.83 kB / 0.6074 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.5421, allocations: 12 kB / 0.6074 GB, free: 10.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002369/0.5424, allocations: 217.8 kB / 0.6076 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.519e-05/0.5425, allocations: 59.38 kB / 0.6076 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004285/0.5429, allocations: 205.5 kB / 0.6078 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.5429, allocations: 4 kB / 0.6078 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5429, allocations: 0 / 0.6078 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5429, allocations: 0 / 0.6078 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004055/0.5434, allocations: 385.3 kB / 0.6082 GB, free: 9.746 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5434, allocations: 0 / 0.6082 GB, free: 9.746 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.593e-05/0.5434, allocations: 11.98 kB / 0.6082 GB, free: 9.734 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.5434, allocations: 7.953 kB / 0.6082 GB, free: 9.727 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.5435, allocations: 4 kB / 0.6082 GB, free: 9.723 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.5435, allocations: 0 / 0.6082 GB, free: 9.723 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5435, allocations: 7.938 kB / 0.6082 GB, free: 9.715 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.5439, allocations: 230.9 kB / 0.6085 GB, free: 9.461 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003206/0.5442, allocations: 204.2 kB / 0.6087 GB, free: 9.242 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.605e-05/0.5442, allocations: 4 kB / 0.6087 GB, free: 9.238 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-05/0.5443, allocations: 8 kB / 0.6087 GB, free: 9.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.5444, allocations: 15.98 kB / 0.6087 GB, free: 9.215 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.5444, allocations: 7.984 kB / 0.6087 GB, free: 9.207 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008847/0.5453, allocations: 0.7526 MB / 0.6094 GB, free: 8.457 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5453, allocations: 0 / 0.6094 GB, free: 8.457 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003137/0.5456, allocations: 76 kB / 0.6095 GB, free: 8.383 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009939/0.5466, allocations: 427.5 kB / 0.6099 GB, free: 8.121 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002751/0.5469, allocations: 99.83 kB / 0.61 GB, free: 8.023 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5469, allocations: 0 / 0.61 GB, free: 8.023 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.5471, allocations: 47.91 kB / 0.61 GB, free: 7.977 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.5475, allocations: 64.66 kB / 0.6101 GB, free: 7.914 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.5489, allocations: 0.9909 MB / 0.6111 GB, free: 6.891 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/0.5494, allocations: 0.8585 MB / 0.6119 GB, free: 6.004 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001668/0.5496, allocations: 99.44 kB / 0.612 GB, free: 5.906 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.5497, allocations: 43.42 kB / 0.6121 GB, free: 5.863 MB / 426.7 MB Notification: Performance of SimCode: time 3.61e-07/0.5497, allocations: 0 / 0.6121 GB, free: 5.863 MB / 426.7 MB Notification: Performance of Templates: time 0.008992/0.5587, allocations: 4.586 MB / 0.6165 GB, free: 1.301 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches