Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.62/1.62, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.000867/0.0008672, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2332/0.2332, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003621, allocations: 16 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1396, allocations: 58.86 MB / 490.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.387/0.5266, allocations: 87.71 MB / 0.5644 GB, free: 12.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.5269, allocations: 78.83 kB / 0.5645 GB, free: 12.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01475/0.5417, allocations: 5.426 MB / 0.5698 GB, free: 7.438 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5417, allocations: 0 / 0.5698 GB, free: 7.438 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.5417, allocations: 4 kB / 0.5698 GB, free: 7.434 MB / 378.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.0005509/0.5423, allocations: 429.6 kB / 0.5702 GB, free: 6.977 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.5423, allocations: 8.031 kB / 0.5702 GB, free: 6.969 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.5424, allocations: 11.81 kB / 0.5702 GB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.5427, allocations: 218.8 kB / 0.5704 GB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.5427, allocations: 7.938 kB / 0.5704 GB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.5428, allocations: 0 / 0.5704 GB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.5429, allocations: 52.61 kB / 0.5705 GB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.5429, allocations: 0 / 0.5705 GB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.543, allocations: 3.75 kB / 0.5705 GB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.543, allocations: 4 kB / 0.5705 GB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.236e-05/0.5431, allocations: 27.16 kB / 0.5705 GB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004801/0.5435, allocations: 293.8 kB / 0.5708 GB, free: 6.305 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.5437, allocations: 57.61 kB / 0.5709 GB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.5438, allocations: 3.938 kB / 0.5709 GB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.5439, allocations: 77.38 kB / 0.5709 GB, free: 6.168 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.5439, allocations: 4 kB / 0.5709 GB, free: 6.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005563/0.5445, allocations: 180.3 kB / 0.5711 GB, free: 6.016 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.5446, allocations: 55.36 kB / 0.5712 GB, free: 5.949 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.5448, allocations: 178.5 kB / 0.5713 GB, free: 5.785 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.5448, allocations: 29.7 kB / 0.5714 GB, free: 5.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/0.5449, allocations: 104.2 kB / 0.5715 GB, free: 5.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.5449, allocations: 27.58 kB / 0.5715 GB, free: 5.637 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.5449, allocations: 0 / 0.5715 GB, free: 5.637 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.545, allocations: 326.7 kB / 0.5718 GB, free: 5.312 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.313e-05/0.5451, allocations: 18.44 kB / 0.5718 GB, free: 5.301 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.746e-05/0.5452, allocations: 36.77 kB / 0.5719 GB, free: 5.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.782e-05/0.5452, allocations: 26.11 kB / 0.5719 GB, free: 5.254 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.5453, allocations: 0 / 0.5719 GB, free: 5.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001806/0.5454, allocations: 102.7 kB / 0.572 GB, free: 5.164 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.5455, allocations: 7.984 kB / 0.572 GB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.5455, allocations: 4.031 kB / 0.572 GB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.5455, allocations: 4 kB / 0.572 GB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.507e-05/0.5456, allocations: 12 kB / 0.572 GB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.5456, allocations: 3.938 kB / 0.572 GB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.207e-05/0.5457, allocations: 7.953 kB / 0.572 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.5457, allocations: 11.48 kB / 0.572 GB, free: 5.117 MB / 378.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.0001245/0.5458, allocations: 123.6 kB / 0.5721 GB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.5459, allocations: 15.81 kB / 0.5722 GB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.5461, allocations: 129.9 kB / 0.5723 GB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.5461, allocations: 0 / 0.5723 GB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.5462, allocations: 4 kB / 0.5723 GB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.5462, allocations: 0 / 0.5723 GB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005119/0.5467, allocations: 415.1 kB / 0.5727 GB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5467, allocations: 0 / 0.5727 GB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.5467, allocations: 12.55 kB / 0.5727 GB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.5468, allocations: 32 / 0.5727 GB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.5468, allocations: 9.062 kB / 0.5727 GB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.5468, allocations: 3.953 kB / 0.5727 GB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5468, allocations: 0 / 0.5727 GB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.5471, allocations: 227.5 kB / 0.5729 GB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.982e-05/0.5472, allocations: 95.31 kB / 0.573 GB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.5472, allocations: 9.203 kB / 0.573 GB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.5473, allocations: 5 kB / 0.573 GB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.5473, allocations: 9.672 kB / 0.573 GB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.5473, allocations: 4 kB / 0.573 GB, free: 4.047 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001398/0.5475, allocations: 158 kB / 0.5732 GB, free: 3.914 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5475, allocations: 0 / 0.5732 GB, free: 3.914 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002707/0.5478, allocations: 36.17 kB / 0.5732 GB, free: 3.883 MB / 378.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.001105/0.5489, allocations: 475.3 kB / 0.5737 GB, free: 3.477 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.5491, allocations: 67.03 kB / 0.5737 GB, free: 3.426 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5491, allocations: 0 / 0.5737 GB, free: 3.426 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.67e-05/0.5492, allocations: 31.48 kB / 0.5738 GB, free: 3.402 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.5495, allocations: 33.7 kB / 0.5738 GB, free: 3.375 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/0.55, allocations: 257.5 kB / 0.5741 GB, free: 3.117 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.5502, allocations: 0.7112 MB / 0.5747 GB, free: 2.383 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.396e-05/0.5503, allocations: 12.55 kB / 0.5748 GB, free: 2.371 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.246e-05/0.5504, allocations: 15.44 kB / 0.5748 GB, free: 2.355 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5504, allocations: 0 / 0.5748 GB, free: 2.355 MB / 378.7 MB Notification: Performance of Templates: time 0.004133/0.5545, allocations: 1.707 MB / 0.5764 GB, free: 0.6641 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches