Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001389, allocations: 173.8 kB / 8.739 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.516/1.516, allocations: 221.5 MB / 230.7 MB, free: 7.551 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.000873/0.000873, allocations: 97.48 kB / 281.6 MB, free: 5.273 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.1832/0.1832, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.158e-05/2.175e-05, allocations: 8.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1312, allocations: 61.92 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3569/0.4881, allocations: 88.56 MB / 0.5812 GB, free: 7.984 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.4884, allocations: 71.95 kB / 0.5812 GB, free: 7.914 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01518/0.5036, allocations: 5.535 MB / 0.5866 GB, free: 2.391 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5037, allocations: 4 kB / 0.5866 GB, free: 2.387 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.5037, allocations: 3.984 kB / 0.5867 GB, free: 2.383 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.0005168/0.5042, allocations: 390.2 kB / 0.587 GB, free: 1.957 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.5043, allocations: 11.98 kB / 0.587 GB, free: 1.945 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.707e-05/0.5043, allocations: 7.906 kB / 0.587 GB, free: 1.938 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.5046, allocations: 214.7 kB / 0.5872 GB, free: 1.688 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.5047, allocations: 11.94 kB / 0.5873 GB, free: 1.676 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.5047, allocations: 0 / 0.5873 GB, free: 1.676 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.923e-05/0.5048, allocations: 23.98 kB / 0.5873 GB, free: 1.652 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.997e-05/0.5049, allocations: 53.67 kB / 0.5873 GB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.5049, allocations: 0 / 0.5873 GB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.5049, allocations: 7.875 kB / 0.5873 GB, free: 1.586 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.5049, allocations: 0 / 0.5873 GB, free: 1.586 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.5053, allocations: 269.5 kB / 0.5876 GB, free: 1.285 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.5054, allocations: 50.69 kB / 0.5876 GB, free: 1.227 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.5055, allocations: 16.98 kB / 0.5877 GB, free: 1.207 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.5055, allocations: 4 kB / 0.5877 GB, free: 1.203 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.5056, allocations: 67.33 kB / 0.5877 GB, free: 1.125 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.5057, allocations: 0 / 0.5877 GB, free: 1.125 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004449/0.5061, allocations: 141.2 kB / 0.5879 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.5062, allocations: 55.41 kB / 0.5879 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.5063, allocations: 169.4 kB / 0.5881 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.5064, allocations: 25.7 kB / 0.5881 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/0.5064, allocations: 100.1 kB / 0.5882 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.5065, allocations: 23.7 kB / 0.5882 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.5065, allocations: 0 / 0.5882 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5066, allocations: 322.8 kB / 0.5885 GB, free: 268 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.526e-05/0.5067, allocations: 20 kB / 0.5886 GB, free: 248 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.632e-05/0.5067, allocations: 30.47 kB / 0.5886 GB, free: 212 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.533e-05/0.5068, allocations: 27.94 kB / 0.5886 GB, free: 184 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.5068, allocations: 0 / 0.5886 GB, free: 184 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001405/0.5069, allocations: 97.61 kB / 0.5887 GB, free: 80 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.507, allocations: 9.406 kB / 0.5887 GB, free: 72 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.507, allocations: 3.938 kB / 0.5887 GB, free: 68 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.507, allocations: 3.984 kB / 0.5887 GB, free: 64 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.589e-05/0.5071, allocations: 12.19 kB / 0.5887 GB, free: 52 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.5071, allocations: 4 kB / 0.5887 GB, free: 48 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.5072, allocations: 11.97 kB / 0.5887 GB, free: 36 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.5072, allocations: 4 kB / 0.5887 GB, free: 32 kB / 394.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 0.0001075/0.5073, allocations: 112.9 kB / 0.5889 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/0.5073, allocations: 7.906 kB / 0.5889 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001933/0.5075, allocations: 110.2 kB / 0.589 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5075, allocations: 0 / 0.589 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5075, allocations: 0 / 0.589 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.5075, allocations: 0 / 0.589 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003997/0.5079, allocations: 383.8 kB / 0.5893 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.508, allocations: 0 / 0.5893 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.023e-05/0.508, allocations: 15.92 kB / 0.5893 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.508, allocations: 4 kB / 0.5894 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.508, allocations: 4 kB / 0.5894 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.508, allocations: 0 / 0.5894 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.5081, allocations: 7.938 kB / 0.5894 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.5083, allocations: 210.2 kB / 0.5896 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.551e-05/0.5083, allocations: 89 kB / 0.5896 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.5084, allocations: 4 kB / 0.5897 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.193e-05/0.5085, allocations: 4 kB / 0.5897 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.5085, allocations: 11.92 kB / 0.5897 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.5085, allocations: 4 kB / 0.5897 GB, free: 14.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.894e-05/0.5086, allocations: 137 kB / 0.5898 GB, free: 14.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5086, allocations: 4 kB / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000266/0.5089, allocations: 24 kB / 0.5898 GB, free: 14.82 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.0008758/0.5098, allocations: 400 kB / 0.5902 GB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.5099, allocations: 55.92 kB / 0.5903 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.51, allocations: 0 / 0.5903 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.188e-05/0.51, allocations: 27.94 kB / 0.5903 GB, free: 14.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.5103, allocations: 31.81 kB / 0.5903 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/0.5107, allocations: 161.5 kB / 0.5905 GB, free: 14.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.511, allocations: 0.7119 MB / 0.5912 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.201e-05/0.511, allocations: 16.42 kB / 0.5912 GB, free: 13.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/0.5111, allocations: 23.42 kB / 0.5912 GB, free: 13.43 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5111, allocations: 7.875 kB / 0.5912 GB, free: 13.42 MB / 410.7 MB Notification: Performance of Templates: time 0.004042/0.5151, allocations: 1.611 MB / 0.5928 GB, free: 11.82 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches