Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009663/0.0009663, allocations: 169.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.346/1.346, allocations: 221.5 MB / 230.7 MB, free: 7.512 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.0009408/0.0009408, allocations: 92.64 kB / 281.6 MB, free: 5.27 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.1945/0.1945, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.514e-05/1.518e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1231, allocations: 61.92 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3737/0.4968, allocations: 88.56 MB / 0.5812 GB, free: 7.973 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001914/0.4971, allocations: 71.97 kB / 0.5812 GB, free: 7.902 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01468/0.5118, allocations: 5.607 MB / 0.5867 GB, free: 2.309 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.5118, allocations: 0 / 0.5867 GB, free: 2.309 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.5118, allocations: 6.953 kB / 0.5867 GB, free: 2.305 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004101/0.5122, allocations: 402.2 kB / 0.5871 GB, free: 1.867 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.5123, allocations: 11.98 kB / 0.5871 GB, free: 1.855 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.5123, allocations: 7.906 kB / 0.5871 GB, free: 1.848 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.5126, allocations: 219.5 kB / 0.5873 GB, free: 1.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.5126, allocations: 7.953 kB / 0.5873 GB, free: 1.582 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.5127, allocations: 0 / 0.5873 GB, free: 1.582 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.601e-05/0.5127, allocations: 19.98 kB / 0.5874 GB, free: 1.562 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.201e-05/0.5128, allocations: 53.62 kB / 0.5874 GB, free: 1.504 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.5129, allocations: 0 / 0.5874 GB, free: 1.504 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.5129, allocations: 3.938 kB / 0.5874 GB, free: 1.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.5129, allocations: 0 / 0.5874 GB, free: 1.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000349/0.5132, allocations: 277.5 kB / 0.5877 GB, free: 1.191 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.649e-05/0.5133, allocations: 46.69 kB / 0.5877 GB, free: 1.137 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.239e-05/0.5134, allocations: 16.98 kB / 0.5877 GB, free: 1.117 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.5134, allocations: 0 / 0.5877 GB, free: 1.117 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001094/0.5135, allocations: 67.33 kB / 0.5878 GB, free: 1.039 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.5135, allocations: 4 kB / 0.5878 GB, free: 1.035 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003933/0.5139, allocations: 145.3 kB / 0.5879 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.514, allocations: 55.34 kB / 0.588 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.5141, allocations: 179.6 kB / 0.5882 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.5142, allocations: 29.69 kB / 0.5882 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.985e-05/0.5142, allocations: 104.1 kB / 0.5883 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.5143, allocations: 27.64 kB / 0.5883 GB, free: 476 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.5143, allocations: 0 / 0.5883 GB, free: 476 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.5144, allocations: 322.8 kB / 0.5886 GB, free: 144 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.318e-05/0.5144, allocations: 20 kB / 0.5886 GB, free: 124 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.303e-05/0.5145, allocations: 30.47 kB / 0.5887 GB, free: 88 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.409e-05/0.5145, allocations: 27.94 kB / 0.5887 GB, free: 60 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.5145, allocations: 0 / 0.5887 GB, free: 60 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001545/0.5147, allocations: 89.53 kB / 0.5888 GB, free: 15.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.5147, allocations: 8.172 kB / 0.5888 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.5147, allocations: 0 / 0.5888 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.5148, allocations: 3.938 kB / 0.5888 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.157e-05/0.5149, allocations: 24.02 kB / 0.5888 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.5149, allocations: 0 / 0.5888 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.5149, allocations: 4 kB / 0.5888 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.5149, allocations: 4.172 kB / 0.5888 GB, free: 15.92 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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.773e-05/0.515, allocations: 119.3 kB / 0.5889 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.515, allocations: 11.81 kB / 0.589 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.5152, allocations: 107.5 kB / 0.5891 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.5153, allocations: 4 kB / 0.5891 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.5153, allocations: 4 kB / 0.5891 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.5153, allocations: 0 / 0.5891 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003895/0.5157, allocations: 383.8 kB / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.5157, allocations: 0 / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.235e-05/0.5157, allocations: 19.88 kB / 0.5895 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.5157, allocations: 0 / 0.5895 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.5158, allocations: 0 / 0.5895 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.5158, allocations: 0 / 0.5895 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5158, allocations: 8.031 kB / 0.5895 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.516, allocations: 214 kB / 0.5897 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.16e-05/0.516, allocations: 93 kB / 0.5898 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.5161, allocations: 4 kB / 0.5898 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.403e-05/0.5162, allocations: 3.984 kB / 0.5898 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.5162, allocations: 8 kB / 0.5898 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.5162, allocations: 8 kB / 0.5898 GB, free: 14.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001106/0.5163, allocations: 144 kB / 0.5899 GB, free: 14.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5163, allocations: 0 / 0.5899 GB, free: 14.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002755/0.5166, allocations: 31.92 kB / 0.5899 GB, free: 14.68 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008829/0.5175, allocations: 393.2 kB / 0.5903 GB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001209/0.5177, allocations: 51.92 kB / 0.5904 GB, free: 14.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5177, allocations: 0 / 0.5904 GB, free: 14.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.255e-05/0.5177, allocations: 35.92 kB / 0.5904 GB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.518, allocations: 28.06 kB / 0.5904 GB, free: 14.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.5183, allocations: 165.5 kB / 0.5906 GB, free: 14.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.5187, allocations: 0.7157 MB / 0.5913 GB, free: 13.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.136e-05/0.5187, allocations: 16.42 kB / 0.5913 GB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.234e-05/0.5188, allocations: 23.42 kB / 0.5913 GB, free: 13.3 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5188, allocations: 3.938 kB / 0.5913 GB, free: 13.29 MB / 410.7 MB Notification: Performance of Templates: time 0.003923/0.5227, allocations: 1.645 MB / 0.5929 GB, free: 11.66 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches