Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 170.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.368/1.368, allocations: 221.5 MB / 230.7 MB, free: 7.555 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.0009381/0.0009381, allocations: 95.73 kB / 281.6 MB, free: 5.301 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.1934/0.1934, allocations: 44.14 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.928e-05/1.93e-05, allocations: 8.219 kB / 444.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1276, allocations: 61.92 MB / 0.4947 GB, free: 1.215 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3608/0.4884, allocations: 88.39 MB / 0.581 GB, free: 8.059 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.4887, allocations: 71.97 kB / 0.5811 GB, free: 7.988 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01725/0.5059, allocations: 6.655 MB / 0.5876 GB, free: 1.348 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.506, allocations: 0 / 0.5876 GB, free: 1.348 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.671e-05/0.506, allocations: 4 kB / 0.5876 GB, free: 1.344 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.0006721/0.5067, allocations: 0.5974 MB / 0.5882 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.5068, allocations: 11.98 kB / 0.5882 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.385e-05/0.5068, allocations: 55.34 kB / 0.5882 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007427/0.5076, allocations: 483 kB / 0.5887 GB, free: 124 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.5076, allocations: 8.516 kB / 0.5887 GB, free: 116 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.5077, allocations: 0 / 0.5887 GB, free: 116 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001003/0.5078, allocations: 27.98 kB / 0.5887 GB, free: 88 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.5079, allocations: 83.3 kB / 0.5888 GB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.5079, allocations: 0 / 0.5888 GB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.508, allocations: 3.984 kB / 0.5888 GB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.508, allocations: 7.938 kB / 0.5888 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.5084, allocations: 358.9 kB / 0.5892 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.5086, allocations: 93.39 kB / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.323e-05/0.5086, allocations: 41.7 kB / 0.5893 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.5087, allocations: 3.953 kB / 0.5893 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.5088, allocations: 97.08 kB / 0.5894 GB, free: 15.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.5089, allocations: 0 / 0.5894 GB, free: 15.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003333/0.5092, allocations: 161 kB / 0.5895 GB, free: 15.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.5093, allocations: 85.09 kB / 0.5896 GB, free: 15.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.5104, allocations: 0.9045 MB / 0.5905 GB, free: 14.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.5105, allocations: 25.7 kB / 0.5905 GB, free: 14.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.5106, allocations: 232.1 kB / 0.5907 GB, free: 13.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.5107, allocations: 31.64 kB / 0.5908 GB, free: 13.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.5107, allocations: 0 / 0.5908 GB, free: 13.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5108, allocations: 362.8 kB / 0.5911 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.618e-05/0.5109, allocations: 24 kB / 0.5911 GB, free: 13.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.392e-05/0.5109, allocations: 59.36 kB / 0.5912 GB, free: 13.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.698e-05/0.511, allocations: 36.11 kB / 0.5912 GB, free: 13.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.511, allocations: 0 / 0.5912 GB, free: 13.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002171/0.5112, allocations: 149 kB / 0.5914 GB, free: 13.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.5113, allocations: 11.95 kB / 0.5914 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.5113, allocations: 0 / 0.5914 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.5113, allocations: 0 / 0.5914 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.5114, allocations: 32.05 kB / 0.5914 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.5114, allocations: 0 / 0.5914 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.5116, allocations: 19.83 kB / 0.5914 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.5116, allocations: 7.938 kB / 0.5914 GB, free: 13.13 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 0.0001108/0.5117, allocations: 108.8 kB / 0.5916 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.77e-05/0.5118, allocations: 51.44 kB / 0.5916 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/0.5121, allocations: 193.8 kB / 0.5918 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.5121, allocations: 7.984 kB / 0.5918 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.5121, allocations: 0 / 0.5918 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.5122, allocations: 0 / 0.5918 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003634/0.5125, allocations: 369.8 kB / 0.5921 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5125, allocations: 0 / 0.5921 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.5126, allocations: 8 kB / 0.5922 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5126, allocations: 0 / 0.5922 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.5126, allocations: 7.938 kB / 0.5922 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5126, allocations: 0 / 0.5922 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.5126, allocations: 4.203 kB / 0.5922 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002859/0.5129, allocations: 219.1 kB / 0.5924 GB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/0.5132, allocations: 192.5 kB / 0.5926 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.41e-05/0.5132, allocations: 11.92 kB / 0.5926 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.624e-05/0.5133, allocations: 7.953 kB / 0.5926 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.5134, allocations: 7.984 kB / 0.5926 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.5134, allocations: 8 kB / 0.5926 GB, free: 11.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008263/0.5142, allocations: 0.7175 MB / 0.5933 GB, free: 11.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5143, allocations: 4 kB / 0.5933 GB, free: 11.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003254/0.5146, allocations: 79.91 kB / 0.5934 GB, free: 11.06 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.0008532/0.5154, allocations: 340.8 kB / 0.5937 GB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.5156, allocations: 71.98 kB / 0.5938 GB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5156, allocations: 4.062 kB / 0.5938 GB, free: 10.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.186e-05/0.5157, allocations: 44.23 kB / 0.5938 GB, free: 10.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.5162, allocations: 64.27 kB / 0.5939 GB, free: 10.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.5173, allocations: 0.7666 MB / 0.5946 GB, free: 9.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.5177, allocations: 0.8546 MB / 0.5955 GB, free: 8.938 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000143/0.5179, allocations: 91.25 kB / 0.5955 GB, free: 8.852 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.518, allocations: 39.44 kB / 0.5956 GB, free: 8.812 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.518, allocations: 0 / 0.5956 GB, free: 8.812 MB / 410.7 MB Notification: Performance of Templates: time 0.008151/0.5262, allocations: 3.968 MB / 0.5995 GB, free: 4.859 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches