Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009582/0.000958, allocations: 173.7 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.532/1.532, allocations: 221.5 MB / 230.7 MB, free: 7.59 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.001282/0.001282, allocations: 98.05 kB / 281.6 MB, free: 5.328 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.2639/0.2639, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.647e-05/2.65e-05, allocations: 8.219 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1654, allocations: 61.92 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4741/0.6395, allocations: 88.58 MB / 0.5812 GB, free: 7.969 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.6398, allocations: 75.45 kB / 0.5813 GB, free: 7.898 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01521/0.6551, allocations: 5.718 MB / 0.5868 GB, free: 2.199 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.6551, allocations: 0 / 0.5868 GB, free: 2.199 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.6551, allocations: 4 kB / 0.5869 GB, free: 2.195 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.0005179/0.6556, allocations: 430 kB / 0.5873 GB, free: 1.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.6557, allocations: 11.98 kB / 0.5873 GB, free: 1.719 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.295e-05/0.6558, allocations: 19.81 kB / 0.5873 GB, free: 1.699 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.6562, allocations: 258.1 kB / 0.5875 GB, free: 1.406 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.6562, allocations: 3.953 kB / 0.5875 GB, free: 1.402 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.6562, allocations: 4 kB / 0.5875 GB, free: 1.398 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.169e-05/0.6563, allocations: 27.98 kB / 0.5876 GB, free: 1.371 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.6565, allocations: 93.03 kB / 0.5877 GB, free: 1.262 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.6565, allocations: 4 kB / 0.5877 GB, free: 1.258 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.6565, allocations: 3.984 kB / 0.5877 GB, free: 1.254 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.6565, allocations: 0 / 0.5877 GB, free: 1.254 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002242/0.6568, allocations: 187.1 kB / 0.5878 GB, free: 1.031 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.6569, allocations: 89.34 kB / 0.5879 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.252e-05/0.657, allocations: 41.66 kB / 0.588 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.657, allocations: 4 kB / 0.588 GB, free: 0.875 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001933/0.6572, allocations: 105.1 kB / 0.5881 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.665e-06/0.6572, allocations: 4.734 kB / 0.5881 GB, free: 0.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002758/0.6575, allocations: 129.4 kB / 0.5882 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/0.6576, allocations: 132.5 kB / 0.5883 GB, free: 468 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.6578, allocations: 191.1 kB / 0.5885 GB, free: 268 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.6578, allocations: 29.7 kB / 0.5885 GB, free: 232 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.322e-05/0.6579, allocations: 108.1 kB / 0.5886 GB, free: 120 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.042e-05/0.6579, allocations: 35.55 kB / 0.5887 GB, free: 84 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.658, allocations: 0 / 0.5887 GB, free: 84 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.6581, allocations: 334.8 kB / 0.589 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.239e-05/0.6581, allocations: 24 kB / 0.589 GB, free: 15.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.82e-05/0.6582, allocations: 70.39 kB / 0.5891 GB, free: 15.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.992e-05/0.6583, allocations: 32.23 kB / 0.5891 GB, free: 15.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.6583, allocations: 0 / 0.5891 GB, free: 15.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001831/0.6585, allocations: 121.4 kB / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.6585, allocations: 12.05 kB / 0.5892 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.6585, allocations: 4 kB / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.6586, allocations: 0 / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.6587, allocations: 19.98 kB / 0.5893 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.6587, allocations: 7.938 kB / 0.5893 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.015e-05/0.6588, allocations: 4 kB / 0.5893 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.6588, allocations: 7.938 kB / 0.5893 GB, free: 15.43 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.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.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 0.0001004/0.6589, allocations: 116.9 kB / 0.5894 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.659, allocations: 19.81 kB / 0.5894 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002747/0.6592, allocations: 151.1 kB / 0.5896 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.6593, allocations: 4 kB / 0.5896 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.6593, allocations: 0 / 0.5896 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.6593, allocations: 0 / 0.5896 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.6595, allocations: 190.1 kB / 0.5897 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.6595, allocations: 0 / 0.5897 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.615e-05/0.6595, allocations: 12 kB / 0.5898 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6595, allocations: 4 kB / 0.5898 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.6596, allocations: 3.984 kB / 0.5898 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.6596, allocations: 8.25 kB / 0.5898 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.6596, allocations: 3.953 kB / 0.5898 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.6598, allocations: 179.4 kB / 0.5899 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.562e-05/0.6599, allocations: 104.8 kB / 0.59 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.66, allocations: 0 / 0.59 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.672e-05/0.66, allocations: 15.94 kB / 0.5901 GB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.6601, allocations: 12 kB / 0.5901 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.6601, allocations: 7.984 kB / 0.5901 GB, free: 14.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001377/0.6602, allocations: 157.5 kB / 0.5902 GB, free: 14.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6603, allocations: 0 / 0.5902 GB, free: 14.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002567/0.6605, allocations: 43.94 kB / 0.5903 GB, free: 14.32 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.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.0009622/0.6615, allocations: 399.8 kB / 0.5907 GB, free: 14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.6617, allocations: 75.92 kB / 0.5907 GB, free: 13.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6617, allocations: 0 / 0.5907 GB, free: 13.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.444e-05/0.6618, allocations: 36.12 kB / 0.5908 GB, free: 13.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.6621, allocations: 49.14 kB / 0.5908 GB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003912/0.6625, allocations: 186.4 kB / 0.591 GB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.6628, allocations: 0.728 MB / 0.5917 GB, free: 12.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.892e-05/0.6629, allocations: 33.28 kB / 0.5917 GB, free: 12.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.676e-05/0.663, allocations: 23.42 kB / 0.5918 GB, free: 12.83 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.663, allocations: 0 / 0.5918 GB, free: 12.83 MB / 410.7 MB Notification: Performance of Templates: time 0.00519/0.6682, allocations: 2.432 MB / 0.5941 GB, free: 10.41 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches