Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009816/0.0009818, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008871/0.000887, allocations: 90.95 kB / 281.6 MB, free: 5.312 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.1973/0.1973, allocations: 44.14 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.415e-05/2.407e-05, allocations: 8 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1301, allocations: 61.92 MB / 0.4947 GB, free: 1.23 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4025/0.5327, allocations: 88.4 MB / 0.581 GB, free: 8.066 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.533, allocations: 67.97 kB / 0.5811 GB, free: 8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01654/0.5495, allocations: 6.597 MB / 0.5875 GB, free: 1.414 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.5495, allocations: 0 / 0.5875 GB, free: 1.414 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.207e-05/0.5496, allocations: 4 kB / 0.5875 GB, free: 1.41 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006938/0.5503, allocations: 0.5909 MB / 0.5881 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.5503, allocations: 19.98 kB / 0.5881 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.083e-05/0.5504, allocations: 47.34 kB / 0.5882 GB, free: 0.707 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007214/0.5511, allocations: 475.1 kB / 0.5886 GB, free: 204 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.5512, allocations: 7.953 kB / 0.5886 GB, free: 196 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.5512, allocations: 3.984 kB / 0.5886 GB, free: 192 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.218e-05/0.5513, allocations: 27.98 kB / 0.5887 GB, free: 164 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.5514, allocations: 79.31 kB / 0.5887 GB, free: 72 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.5514, allocations: 0 / 0.5887 GB, free: 72 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.5515, allocations: 4 kB / 0.5887 GB, free: 68 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.5515, allocations: 4 kB / 0.5887 GB, free: 64 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.5518, allocations: 350.9 kB / 0.5891 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.552, allocations: 89.34 kB / 0.5892 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.629e-05/0.5521, allocations: 41.66 kB / 0.5892 GB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.5521, allocations: 3.953 kB / 0.5892 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.5523, allocations: 105.9 kB / 0.5893 GB, free: 15.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.5523, allocations: 0 / 0.5893 GB, free: 15.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003038/0.5526, allocations: 157 kB / 0.5895 GB, free: 15.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.5526, allocations: 81.11 kB / 0.5895 GB, free: 15.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.5538, allocations: 0.881 MB / 0.5904 GB, free: 14.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.5538, allocations: 25.7 kB / 0.5904 GB, free: 14.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.5539, allocations: 232.1 kB / 0.5906 GB, free: 13.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.554, allocations: 27.56 kB / 0.5907 GB, free: 13.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-06/0.554, allocations: 3.938 kB / 0.5907 GB, free: 13.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.5542, allocations: 366.8 kB / 0.591 GB, free: 13.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.672e-05/0.5542, allocations: 27.98 kB / 0.591 GB, free: 13.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.837e-05/0.5543, allocations: 47.44 kB / 0.5911 GB, free: 13.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.554e-05/0.5544, allocations: 40.05 kB / 0.5911 GB, free: 13.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.5544, allocations: 0 / 0.5911 GB, free: 13.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002299/0.5546, allocations: 149 kB / 0.5913 GB, free: 13.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.5546, allocations: 15.94 kB / 0.5913 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5546, allocations: 0 / 0.5913 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.5547, allocations: 4.062 kB / 0.5913 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.5548, allocations: 20 kB / 0.5913 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.5548, allocations: 7.922 kB / 0.5913 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.5549, allocations: 11.91 kB / 0.5913 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.5549, allocations: 4 kB / 0.5913 GB, free: 13.25 MB / 410.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 () * 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 8.79e-05/0.555, allocations: 114.7 kB / 0.5914 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.13e-05/0.5551, allocations: 47.44 kB / 0.5915 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002927/0.5554, allocations: 197.6 kB / 0.5917 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.5554, allocations: 4 kB / 0.5917 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5554, allocations: 0 / 0.5917 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5554, allocations: 0 / 0.5917 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003233/0.5558, allocations: 357.8 kB / 0.592 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.5558, allocations: 0 / 0.592 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.845e-05/0.5558, allocations: 15.98 kB / 0.592 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.5558, allocations: 0 / 0.592 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.5559, allocations: 4 kB / 0.592 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.5559, allocations: 0 / 0.592 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.5559, allocations: 4.203 kB / 0.592 GB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.5562, allocations: 219.1 kB / 0.5923 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002085/0.5564, allocations: 188.4 kB / 0.5924 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.212e-05/0.5564, allocations: 8 kB / 0.5924 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.5566, allocations: 11.94 kB / 0.5925 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.5566, allocations: 15.97 kB / 0.5925 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.5566, allocations: 8 kB / 0.5925 GB, free: 11.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007099/0.5573, allocations: 0.6941 MB / 0.5932 GB, free: 11.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5573, allocations: 0 / 0.5932 GB, free: 11.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003232/0.5577, allocations: 75.94 kB / 0.5932 GB, free: 11.22 MB / 410.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) * 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.0007503/0.5584, allocations: 344.2 kB / 0.5936 GB, free: 10.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.5586, allocations: 75.92 kB / 0.5936 GB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5586, allocations: 4 kB / 0.5936 GB, free: 10.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.62e-05/0.5587, allocations: 44.17 kB / 0.5937 GB, free: 10.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.5591, allocations: 68.2 kB / 0.5937 GB, free: 10.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.5602, allocations: 0.7395 MB / 0.5945 GB, free: 9.996 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.5606, allocations: 0.8508 MB / 0.5953 GB, free: 9.117 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001511/0.5607, allocations: 83.27 kB / 0.5954 GB, free: 9.039 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.899e-05/0.5608, allocations: 35.44 kB / 0.5954 GB, free: 9.004 MB / 410.7 MB Notification: Performance of SimCode: time 2.565e-06/0.5609, allocations: 0 / 0.5954 GB, free: 9.004 MB / 410.7 MB Notification: Performance of Templates: time 0.008007/0.5689, allocations: 3.912 MB / 0.5992 GB, free: 5.105 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches