Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,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.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 172.7 kB / 8.742 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.441/1.441, allocations: 221.5 MB / 230.7 MB, free: 7.547 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.0008506/0.0008505, allocations: 87.47 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.2123/0.2123, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.059e-05/2.046e-05, allocations: 8 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1234, allocations: 61.9 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.351/0.4744, allocations: 88.78 MB / 0.5814 GB, free: 7.762 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.4746, allocations: 71.97 kB / 0.5814 GB, free: 7.691 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01605/0.4907, allocations: 5.839 MB / 0.5871 GB, free: 1.859 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4907, allocations: 0 / 0.5871 GB, free: 1.859 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.4908, allocations: 4 kB / 0.5871 GB, free: 1.855 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.000399/0.4912, allocations: 390.2 kB / 0.5875 GB, free: 1.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.4912, allocations: 11.98 kB / 0.5875 GB, free: 1.418 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/0.4913, allocations: 11.89 kB / 0.5875 GB, free: 1.406 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.4915, allocations: 209.1 kB / 0.5877 GB, free: 1.164 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.4916, allocations: 4 kB / 0.5877 GB, free: 1.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.4916, allocations: 0 / 0.5877 GB, free: 1.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.384e-05/0.4917, allocations: 27.92 kB / 0.5878 GB, free: 1.133 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.4918, allocations: 59.39 kB / 0.5878 GB, free: 1.062 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.4918, allocations: 3.984 kB / 0.5878 GB, free: 1.059 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.4918, allocations: 0 / 0.5878 GB, free: 1.059 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.4918, allocations: 4 kB / 0.5878 GB, free: 1.055 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003331/0.4922, allocations: 269.5 kB / 0.5881 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.4923, allocations: 54.62 kB / 0.5881 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.409e-05/0.4923, allocations: 16.98 kB / 0.5882 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.4924, allocations: 0 / 0.5882 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000127/0.4925, allocations: 67.39 kB / 0.5882 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.4925, allocations: 0 / 0.5882 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000455/0.493, allocations: 145.2 kB / 0.5884 GB, free: 456 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.493, allocations: 81.11 kB / 0.5884 GB, free: 356 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.4932, allocations: 142.6 kB / 0.5886 GB, free: 208 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.4932, allocations: 25.7 kB / 0.5886 GB, free: 176 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.4933, allocations: 92.14 kB / 0.5887 GB, free: 80 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.4933, allocations: 27.64 kB / 0.5887 GB, free: 52 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.4933, allocations: 0 / 0.5887 GB, free: 52 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.4935, allocations: 330.8 kB / 0.589 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.597e-05/0.4935, allocations: 20 kB / 0.5891 GB, free: 15.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.712e-05/0.4936, allocations: 34.58 kB / 0.5891 GB, free: 15.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.422e-05/0.4936, allocations: 15.98 kB / 0.5891 GB, free: 15.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4936, allocations: 4 kB / 0.5891 GB, free: 15.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001446/0.4938, allocations: 93.47 kB / 0.5892 GB, free: 15.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.4938, allocations: 8.062 kB / 0.5892 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.4938, allocations: 3.984 kB / 0.5892 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.4938, allocations: 4 kB / 0.5892 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.4939, allocations: 12.38 kB / 0.5892 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.494, allocations: 4 kB / 0.5892 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.348e-05/0.494, allocations: 7.938 kB / 0.5892 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.494, allocations: 7.984 kB / 0.5892 GB, free: 15.49 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 8.158e-05/0.4941, allocations: 110 kB / 0.5893 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.4942, allocations: 7.906 kB / 0.5894 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.4944, allocations: 114.2 kB / 0.5895 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.4944, allocations: 0 / 0.5895 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4944, allocations: 4 kB / 0.5895 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4944, allocations: 0 / 0.5895 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004272/0.4949, allocations: 371.8 kB / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.4949, allocations: 0 / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.369e-05/0.4949, allocations: 11.98 kB / 0.5898 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.4949, allocations: 4.031 kB / 0.5898 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.4949, allocations: 4 kB / 0.5898 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.495, allocations: 0 / 0.5898 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.495, allocations: 0 / 0.5898 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.4952, allocations: 214.1 kB / 0.59 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.4952, allocations: 89 kB / 0.5901 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.4953, allocations: 4 kB / 0.5901 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.612e-05/0.4954, allocations: 4 kB / 0.5901 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.4954, allocations: 19.92 kB / 0.5902 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.4954, allocations: 4 kB / 0.5902 GB, free: 14.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.993e-05/0.4955, allocations: 111.3 kB / 0.5903 GB, free: 14.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4955, allocations: 0 / 0.5903 GB, free: 14.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003076/0.4958, allocations: 39.88 kB / 0.5903 GB, free: 14.3 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.0009339/0.4968, allocations: 444.2 kB / 0.5907 GB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.4969, allocations: 48 kB / 0.5908 GB, free: 13.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4969, allocations: 3.938 kB / 0.5908 GB, free: 13.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.977e-05/0.497, allocations: 31.97 kB / 0.5908 GB, free: 13.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.4972, allocations: 23.97 kB / 0.5908 GB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003008/0.4976, allocations: 134 kB / 0.591 GB, free: 13.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.4978, allocations: 0.7079 MB / 0.5916 GB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.951e-05/0.4979, allocations: 12.86 kB / 0.5917 GB, free: 12.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.848e-05/0.4979, allocations: 19.42 kB / 0.5917 GB, free: 12.92 MB / 410.7 MB Notification: Performance of SimCode: time 1.533e-06/0.498, allocations: 4 kB / 0.5917 GB, free: 12.91 MB / 410.7 MB Notification: Performance of Templates: time 0.004107/0.5021, allocations: 1.821 MB / 0.5935 GB, free: 11.11 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches