Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, 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.356/1.356, allocations: 221.5 MB / 230.7 MB, free: 7.559 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.0008096/0.0008097, allocations: 94.05 kB / 281.6 MB, free: 5.316 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.1779/0.1779, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.712e-05/1.716e-05, allocations: 8.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1184, allocations: 61.92 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3647/0.4832, allocations: 88.52 MB / 0.5811 GB, free: 7.984 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.4835, allocations: 71.97 kB / 0.5812 GB, free: 7.914 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01685/0.5004, allocations: 5.383 MB / 0.5865 GB, free: 2.539 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5004, allocations: 2.953 kB / 0.5865 GB, free: 2.539 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.726e-05/0.5005, allocations: 4 kB / 0.5865 GB, free: 2.535 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.0005719/0.501, allocations: 394.2 kB / 0.5868 GB, free: 2.105 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.5011, allocations: 11.98 kB / 0.5868 GB, free: 2.094 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.5012, allocations: 7.906 kB / 0.5869 GB, free: 2.086 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/0.5016, allocations: 214.8 kB / 0.5871 GB, free: 1.836 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.5016, allocations: 3.953 kB / 0.5871 GB, free: 1.832 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.5016, allocations: 4 kB / 0.5871 GB, free: 1.828 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000102/0.5018, allocations: 15.98 kB / 0.5871 GB, free: 1.812 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.5019, allocations: 53.67 kB / 0.5871 GB, free: 1.754 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.5019, allocations: 3.938 kB / 0.5871 GB, free: 1.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.5019, allocations: 0 / 0.5871 GB, free: 1.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.5019, allocations: 4 kB / 0.5871 GB, free: 1.746 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004706/0.5024, allocations: 277.3 kB / 0.5874 GB, free: 1.438 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.5026, allocations: 46.69 kB / 0.5874 GB, free: 1.383 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.178e-05/0.5027, allocations: 16.98 kB / 0.5875 GB, free: 1.363 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.5027, allocations: 4 kB / 0.5875 GB, free: 1.359 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.5028, allocations: 67.39 kB / 0.5875 GB, free: 1.281 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.764e-06/0.5028, allocations: 0 / 0.5875 GB, free: 1.281 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005615/0.5034, allocations: 145.2 kB / 0.5877 GB, free: 1.133 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.5035, allocations: 55.41 kB / 0.5877 GB, free: 1.066 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.5037, allocations: 150.8 kB / 0.5879 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.5037, allocations: 29.7 kB / 0.5879 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.976e-05/0.5038, allocations: 100.1 kB / 0.588 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.5039, allocations: 23.66 kB / 0.588 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.5039, allocations: 0 / 0.588 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.504, allocations: 326.8 kB / 0.5883 GB, free: 436 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.996e-05/0.5041, allocations: 16.75 kB / 0.5883 GB, free: 420 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.436e-05/0.5042, allocations: 37.64 kB / 0.5884 GB, free: 376 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.432e-05/0.5043, allocations: 23.94 kB / 0.5884 GB, free: 352 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.5043, allocations: 192 / 0.5884 GB, free: 352 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001893/0.5045, allocations: 85.59 kB / 0.5885 GB, free: 260 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.5045, allocations: 11.94 kB / 0.5885 GB, free: 248 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.5045, allocations: 0 / 0.5885 GB, free: 248 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.5045, allocations: 4.031 kB / 0.5885 GB, free: 244 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.5047, allocations: 19.92 kB / 0.5885 GB, free: 224 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.5047, allocations: 4 kB / 0.5885 GB, free: 220 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.5048, allocations: 0 / 0.5885 GB, free: 220 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.5048, allocations: 4 kB / 0.5885 GB, free: 216 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 8.565e-05/0.5049, allocations: 110.3 kB / 0.5886 GB, free: 100 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.5049, allocations: 7.906 kB / 0.5886 GB, free: 92 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003018/0.5052, allocations: 114.1 kB / 0.5887 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.5053, allocations: 4 kB / 0.5887 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.5053, allocations: 192 / 0.5887 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.5053, allocations: 0 / 0.5887 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005104/0.5058, allocations: 379.8 kB / 0.5891 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.5058, allocations: 7.938 kB / 0.5891 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.581e-05/0.5059, allocations: 8 kB / 0.5891 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.5059, allocations: 0 / 0.5891 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.5059, allocations: 0 / 0.5891 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.384e-05/0.506, allocations: 8.031 kB / 0.5891 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.506, allocations: 0 / 0.5891 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.5063, allocations: 213.9 kB / 0.5893 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-05/0.5064, allocations: 92.91 kB / 0.5894 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/0.5064, allocations: 4 kB / 0.5894 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.5066, allocations: 0 / 0.5894 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.5066, allocations: 15.98 kB / 0.5894 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.5066, allocations: 4 kB / 0.5894 GB, free: 15.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001485/0.5068, allocations: 130.5 kB / 0.5896 GB, free: 15.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5068, allocations: 0 / 0.5896 GB, free: 15.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004245/0.5072, allocations: 27.94 kB / 0.5896 GB, free: 15.01 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.001259/0.5085, allocations: 406.2 kB / 0.59 GB, free: 14.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.5087, allocations: 51.92 kB / 0.59 GB, free: 14.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.5087, allocations: 0 / 0.59 GB, free: 14.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.678e-05/0.5088, allocations: 32.06 kB / 0.5901 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.5093, allocations: 23.94 kB / 0.5901 GB, free: 14.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004841/0.5098, allocations: 146.2 kB / 0.5902 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.5102, allocations: 0.7041 MB / 0.5909 GB, free: 13.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.784e-05/0.5103, allocations: 24.47 kB / 0.5909 GB, free: 13.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.201e-05/0.5103, allocations: 23.31 kB / 0.591 GB, free: 13.63 MB / 410.7 MB Notification: Performance of SimCode: time 5.2e-07/0.5104, allocations: 0 / 0.591 GB, free: 13.63 MB / 410.7 MB Notification: Performance of Templates: time 0.0067/0.5171, allocations: 1.603 MB / 0.5925 GB, free: 12.04 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches