Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009745/0.0009746, 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.361/1.361, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.0008953/0.0008953, allocations: 92.44 kB / 281.6 MB, free: 5.32 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.1916/0.1916, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.955e-05/1.956e-05, allocations: 8.219 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.126, allocations: 61.92 MB / 0.4947 GB, free: 1.23 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3638/0.4898, allocations: 88.4 MB / 0.581 GB, free: 8.105 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.4901, allocations: 71.97 kB / 0.5811 GB, free: 8.035 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01679/0.5069, allocations: 6.637 MB / 0.5876 GB, free: 1.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.5069, allocations: 4 kB / 0.5876 GB, free: 1.406 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.544e-05/0.507, allocations: 8 kB / 0.5876 GB, free: 1.398 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.0007482/0.5077, allocations: 0.5999 MB / 0.5882 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.5078, allocations: 11.98 kB / 0.5882 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.692e-05/0.5079, allocations: 51.34 kB / 0.5882 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007801/0.5087, allocations: 491 kB / 0.5887 GB, free: 172 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.5087, allocations: 3.953 kB / 0.5887 GB, free: 168 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.5087, allocations: 8 kB / 0.5887 GB, free: 160 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001129/0.5089, allocations: 27.98 kB / 0.5887 GB, free: 132 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.509, allocations: 83.3 kB / 0.5888 GB, free: 36 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.509, allocations: 0 / 0.5888 GB, free: 36 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.509, allocations: 0 / 0.5888 GB, free: 36 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.509, allocations: 0 / 0.5888 GB, free: 36 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004285/0.5095, allocations: 362.9 kB / 0.5892 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.5097, allocations: 97.3 kB / 0.5892 GB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.067e-05/0.5097, allocations: 33.8 kB / 0.5893 GB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.5097, allocations: 7.953 kB / 0.5893 GB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.5099, allocations: 97.09 kB / 0.5894 GB, free: 15.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.51, allocations: 0 / 0.5894 GB, free: 15.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003373/0.5103, allocations: 164.9 kB / 0.5895 GB, free: 15.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.5104, allocations: 81.11 kB / 0.5896 GB, free: 15.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.5115, allocations: 0.9044 MB / 0.5905 GB, free: 14.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.5116, allocations: 25.7 kB / 0.5905 GB, free: 14.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.5117, allocations: 232.1 kB / 0.5907 GB, free: 13.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.5118, allocations: 31.66 kB / 0.5908 GB, free: 13.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/0.5118, allocations: 0 / 0.5908 GB, free: 13.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.512, allocations: 366.8 kB / 0.5911 GB, free: 13.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.746e-05/0.512, allocations: 24 kB / 0.5911 GB, free: 13.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.403e-05/0.5121, allocations: 51.42 kB / 0.5912 GB, free: 13.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.472e-05/0.5122, allocations: 31.92 kB / 0.5912 GB, free: 13.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.5122, allocations: 4 kB / 0.5912 GB, free: 13.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002254/0.5124, allocations: 157.1 kB / 0.5914 GB, free: 13.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.5124, allocations: 11.95 kB / 0.5914 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.5124, allocations: 0 / 0.5914 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.5125, allocations: 0 / 0.5914 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.5126, allocations: 27.98 kB / 0.5914 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.5126, allocations: 0 / 0.5914 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.5127, allocations: 15.84 kB / 0.5914 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.5127, allocations: 4 kB / 0.5914 GB, free: 13.19 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 7.888e-05/0.5128, allocations: 120.8 kB / 0.5915 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.691e-05/0.5129, allocations: 47.44 kB / 0.5916 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002964/0.5132, allocations: 189.8 kB / 0.5918 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.5132, allocations: 7.938 kB / 0.5918 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5132, allocations: 0 / 0.5918 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.5132, allocations: 3.984 kB / 0.5918 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/0.5136, allocations: 365.8 kB / 0.5921 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5136, allocations: 0 / 0.5921 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.38e-05/0.5136, allocations: 15.98 kB / 0.5922 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.5136, allocations: 0 / 0.5922 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.5137, allocations: 4 kB / 0.5922 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.5137, allocations: 0 / 0.5922 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.5137, allocations: 3.953 kB / 0.5922 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.514, allocations: 211.1 kB / 0.5924 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002363/0.5142, allocations: 196.8 kB / 0.5925 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.196e-05/0.5143, allocations: 7.938 kB / 0.5926 GB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.5144, allocations: 15.94 kB / 0.5926 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.5144, allocations: 7.984 kB / 0.5926 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.5144, allocations: 4 kB / 0.5926 GB, free: 11.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007736/0.5152, allocations: 0.7136 MB / 0.5933 GB, free: 11.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5152, allocations: 0 / 0.5933 GB, free: 11.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003109/0.5156, allocations: 87.89 kB / 0.5934 GB, free: 11.12 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.0008669/0.5164, allocations: 349.3 kB / 0.5937 GB, free: 10.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001722/0.5166, allocations: 67.98 kB / 0.5938 GB, free: 10.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5166, allocations: 3.938 kB / 0.5938 GB, free: 10.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.625e-05/0.5167, allocations: 40 kB / 0.5938 GB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.5171, allocations: 54.67 kB / 0.5939 GB, free: 10.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.5182, allocations: 0.7666 MB / 0.5946 GB, free: 9.883 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.5186, allocations: 0.8585 MB / 0.5954 GB, free: 8.996 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001425/0.5188, allocations: 91.27 kB / 0.5955 GB, free: 8.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.5189, allocations: 43.42 kB / 0.5956 GB, free: 8.867 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.5189, allocations: 4 kB / 0.5956 GB, free: 8.863 MB / 410.7 MB Notification: Performance of Templates: time 0.007989/0.5269, allocations: 3.962 MB / 0.5994 GB, free: 4.918 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches