Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001453, allocations: 169.8 kB / 8.743 MB, free: 344 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.385/1.385, allocations: 221.5 MB / 230.7 MB, free: 7.586 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.0008943/0.0008941, allocations: 101.4 kB / 281.6 MB, free: 5.34 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.1878/0.1878, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.716e-05/1.712e-05, allocations: 8.219 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1195, allocations: 61.92 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3672/0.4868, allocations: 88.4 MB / 0.581 GB, free: 8.164 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.487, allocations: 75.95 kB / 0.5811 GB, free: 8.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01694/0.504, allocations: 6.645 MB / 0.5876 GB, free: 1.457 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5041, allocations: 0 / 0.5876 GB, free: 1.457 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.812e-05/0.5041, allocations: 8 kB / 0.5876 GB, free: 1.449 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.0007719/0.5049, allocations: 0.5948 MB / 0.5882 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/0.5049, allocations: 11.98 kB / 0.5882 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.505, allocations: 51.34 kB / 0.5882 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008293/0.5059, allocations: 479 kB / 0.5887 GB, free: 240 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.5059, allocations: 7.953 kB / 0.5887 GB, free: 232 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.5059, allocations: 7.984 kB / 0.5887 GB, free: 224 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.774e-05/0.506, allocations: 20 kB / 0.5887 GB, free: 204 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.5062, allocations: 95.28 kB / 0.5888 GB, free: 96 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.5062, allocations: 0 / 0.5888 GB, free: 96 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.5062, allocations: 4 kB / 0.5888 GB, free: 92 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.5063, allocations: 0 / 0.5888 GB, free: 92 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.5067, allocations: 354.9 kB / 0.5891 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.5069, allocations: 97.28 kB / 0.5892 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.507, allocations: 33.72 kB / 0.5893 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.507, allocations: 3.953 kB / 0.5893 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.5072, allocations: 105.9 kB / 0.5894 GB, free: 15.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.158e-05/0.5072, allocations: 4 kB / 0.5894 GB, free: 15.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003547/0.5076, allocations: 160.9 kB / 0.5895 GB, free: 15.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.5077, allocations: 77.11 kB / 0.5896 GB, free: 15.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.5089, allocations: 0.9045 MB / 0.5905 GB, free: 14.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.5089, allocations: 25.7 kB / 0.5905 GB, free: 14.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.5091, allocations: 236 kB / 0.5907 GB, free: 13.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.776e-05/0.5092, allocations: 27.64 kB / 0.5908 GB, free: 13.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.5092, allocations: 0 / 0.5908 GB, free: 13.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.5094, allocations: 374.8 kB / 0.5911 GB, free: 13.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.244e-05/0.5094, allocations: 20 kB / 0.5911 GB, free: 13.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.601e-05/0.5095, allocations: 55.36 kB / 0.5912 GB, free: 13.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.229e-05/0.5096, allocations: 28.11 kB / 0.5912 GB, free: 13.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5096, allocations: 0 / 0.5912 GB, free: 13.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002482/0.5099, allocations: 165 kB / 0.5914 GB, free: 13.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.5099, allocations: 7.953 kB / 0.5914 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.5099, allocations: 0 / 0.5914 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.5099, allocations: 4 kB / 0.5914 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.5101, allocations: 19.98 kB / 0.5914 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.5101, allocations: 11.92 kB / 0.5914 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.5102, allocations: 15.83 kB / 0.5914 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.5102, allocations: 4 kB / 0.5914 GB, free: 13.24 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 9.424e-05/0.5103, allocations: 112.8 kB / 0.5915 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.256e-05/0.5104, allocations: 55.47 kB / 0.5916 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/0.5107, allocations: 193.8 kB / 0.5918 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.5108, allocations: 0 / 0.5918 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.5108, allocations: 4 kB / 0.5918 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.5108, allocations: 0 / 0.5918 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000398/0.5112, allocations: 361.8 kB / 0.5921 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5112, allocations: 0 / 0.5921 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.272e-05/0.5112, allocations: 8 kB / 0.5921 GB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.5113, allocations: 4 kB / 0.5921 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.5113, allocations: 8 kB / 0.5922 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.5113, allocations: 0 / 0.5922 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.5113, allocations: 7.953 kB / 0.5922 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.5116, allocations: 219.4 kB / 0.5924 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/0.5119, allocations: 184.5 kB / 0.5925 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.365e-05/0.5119, allocations: 11.92 kB / 0.5926 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.5121, allocations: 15.95 kB / 0.5926 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.5121, allocations: 11.98 kB / 0.5926 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.5121, allocations: 4 kB / 0.5926 GB, free: 11.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007792/0.5129, allocations: 0.7175 MB / 0.5933 GB, free: 11.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5129, allocations: 0 / 0.5933 GB, free: 11.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003106/0.5132, allocations: 75.91 kB / 0.5934 GB, free: 11.18 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.000817/0.5141, allocations: 350.6 kB / 0.5937 GB, free: 10.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001669/0.5142, allocations: 75.92 kB / 0.5938 GB, free: 10.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5142, allocations: 0 / 0.5938 GB, free: 10.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.468e-05/0.5143, allocations: 36.36 kB / 0.5938 GB, free: 10.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.5147, allocations: 58.19 kB / 0.5939 GB, free: 10.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.5159, allocations: 0.7705 MB / 0.5946 GB, free: 9.934 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.5164, allocations: 0.8547 MB / 0.5954 GB, free: 9.051 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001542/0.5166, allocations: 99.23 kB / 0.5955 GB, free: 8.957 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.5167, allocations: 35.44 kB / 0.5956 GB, free: 8.922 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5167, allocations: 7.938 kB / 0.5956 GB, free: 8.914 MB / 410.7 MB Notification: Performance of Templates: time 0.007948/0.5247, allocations: 3.955 MB / 0.5994 GB, free: 4.973 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches