Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 171.6 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.281/1.281, allocations: 221.5 MB / 230.7 MB, free: 7.555 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.000791/0.000791, allocations: 94.11 kB / 281.6 MB, free: 5.312 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.2383/0.2383, allocations: 44.14 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.655e-05/1.663e-05, allocations: 4 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1172, allocations: 61.92 MB / 0.4947 GB, free: 1.227 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3578/0.4751, allocations: 89.47 MB / 0.5821 GB, free: 7.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.4754, allocations: 75.95 kB / 0.5821 GB, free: 6.945 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0117/0.4871, allocations: 4.365 MB / 0.5864 GB, free: 2.586 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4871, allocations: 0 / 0.5864 GB, free: 2.586 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.4871, allocations: 4 kB / 0.5864 GB, free: 2.582 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005505/0.4877, allocations: 451.8 kB / 0.5868 GB, free: 2.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.4878, allocations: 15.98 kB / 0.5868 GB, free: 2.074 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.4878, allocations: 11.91 kB / 0.5868 GB, free: 2.062 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.4881, allocations: 220.5 kB / 0.5871 GB, free: 1.809 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.4882, allocations: 11.95 kB / 0.5871 GB, free: 1.797 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.4882, allocations: 7.938 kB / 0.5871 GB, free: 1.789 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001015/0.4883, allocations: 32 kB / 0.5871 GB, free: 1.758 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.4885, allocations: 89.64 kB / 0.5872 GB, free: 1.656 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.4885, allocations: 0 / 0.5872 GB, free: 1.656 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.4885, allocations: 0 / 0.5872 GB, free: 1.656 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.4885, allocations: 4 kB / 0.5872 GB, free: 1.652 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006042/0.4891, allocations: 0.4975 MB / 0.5877 GB, free: 1.109 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.4894, allocations: 70.69 kB / 0.5878 GB, free: 1.031 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.483e-05/0.4894, allocations: 28.86 kB / 0.5878 GB, free: 1 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.4895, allocations: 11.92 kB / 0.5878 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.4896, allocations: 75.33 kB / 0.5879 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.4897, allocations: 0 / 0.5879 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002555/0.4899, allocations: 102.2 kB / 0.588 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.49, allocations: 59.41 kB / 0.588 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.4902, allocations: 162.6 kB / 0.5882 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.4902, allocations: 25.7 kB / 0.5882 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.27e-05/0.4903, allocations: 116 kB / 0.5883 GB, free: 412 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.4903, allocations: 31.64 kB / 0.5883 GB, free: 380 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.4903, allocations: 3.938 kB / 0.5883 GB, free: 376 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.4905, allocations: 326.8 kB / 0.5887 GB, free: 40 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.289e-05/0.4905, allocations: 20 kB / 0.5887 GB, free: 20 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.381e-05/0.4906, allocations: 64.41 kB / 0.5887 GB, free: 15.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.51e-05/0.4907, allocations: 27.92 kB / 0.5888 GB, free: 15.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4907, allocations: 4 kB / 0.5888 GB, free: 15.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001668/0.4909, allocations: 109.4 kB / 0.5889 GB, free: 15.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.4909, allocations: 9.375 kB / 0.5889 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.4909, allocations: 4 kB / 0.5889 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.4909, allocations: 7.938 kB / 0.5889 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.491, allocations: 23.98 kB / 0.5889 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-05/0.4911, allocations: 4 kB / 0.5889 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.954e-05/0.4911, allocations: 7.938 kB / 0.5889 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.4911, allocations: 4 kB / 0.5889 GB, free: 15.74 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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 8.079e-05/0.4912, allocations: 115.1 kB / 0.589 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.4913, allocations: 19.81 kB / 0.5891 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.4915, allocations: 115.4 kB / 0.5892 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.4915, allocations: 4 kB / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4915, allocations: 0 / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.4915, allocations: 3.984 kB / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.4917, allocations: 190.3 kB / 0.5894 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4917, allocations: 0 / 0.5894 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.183e-05/0.4918, allocations: 12 kB / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.4918, allocations: 3.984 kB / 0.5894 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.4918, allocations: 4.188 kB / 0.5894 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4918, allocations: 0 / 0.5894 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4918, allocations: 3.938 kB / 0.5894 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.4921, allocations: 168.8 kB / 0.5895 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.449e-05/0.4922, allocations: 100.8 kB / 0.5896 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.4922, allocations: 4 kB / 0.5896 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.398e-05/0.4923, allocations: 11.98 kB / 0.5896 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.4924, allocations: 4.062 kB / 0.5897 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.4924, allocations: 7.984 kB / 0.5897 GB, free: 14.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001164/0.4925, allocations: 132.1 kB / 0.5898 GB, free: 14.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4925, allocations: 0 / 0.5898 GB, free: 14.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002375/0.4927, allocations: 24 kB / 0.5898 GB, free: 14.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0008191/0.4936, allocations: 356.6 kB / 0.5901 GB, free: 14.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.4937, allocations: 59.94 kB / 0.5902 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4937, allocations: 0 / 0.5902 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.696e-05/0.4938, allocations: 35.92 kB / 0.5902 GB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.4941, allocations: 24.17 kB / 0.5903 GB, free: 14.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003892/0.4945, allocations: 183.1 kB / 0.5904 GB, free: 14.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.4948, allocations: 0.7203 MB / 0.5911 GB, free: 13.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.099e-05/0.4948, allocations: 21.19 kB / 0.5912 GB, free: 13.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.889e-05/0.4949, allocations: 15.44 kB / 0.5912 GB, free: 13.37 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4949, allocations: 0 / 0.5912 GB, free: 13.37 MB / 410.7 MB Notification: Performance of Templates: time 0.004105/0.499, allocations: 1.714 MB / 0.5929 GB, free: 11.67 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches