Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 221.3 MB / 236 MB, free: 2.965 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.0007969/0.000797, allocations: 92.05 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1709/0.1709, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.584e-05/2.586e-05, allocations: 8.203 kB / 451.8 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1208, allocations: 61.91 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3538/0.4747, allocations: 89.17 MB / 0.5888 GB, free: 116 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.475, allocations: 75.95 kB / 0.5889 GB, free: 40 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01457/0.4896, allocations: 5.482 MB / 0.5942 GB, free: 10.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4896, allocations: 0 / 0.5942 GB, free: 10.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.4896, allocations: 0 / 0.5942 GB, free: 10.57 MB / 410.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.0004382/0.4901, allocations: 396.5 kB / 0.5946 GB, free: 10.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.4901, allocations: 8.031 kB / 0.5946 GB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.4902, allocations: 7.906 kB / 0.5946 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.4905, allocations: 206.8 kB / 0.5948 GB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.4905, allocations: 11.95 kB / 0.5948 GB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.4905, allocations: 7.938 kB / 0.5948 GB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.4907, allocations: 57.67 kB / 0.5949 GB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.587e-06/0.4907, allocations: 0 / 0.5949 GB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.4907, allocations: 0 / 0.5949 GB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.4907, allocations: 0 / 0.5949 GB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.024e-05/0.4908, allocations: 23.88 kB / 0.5949 GB, free: 9.777 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.4912, allocations: 296.9 kB / 0.5952 GB, free: 9.438 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.4913, allocations: 58.69 kB / 0.5952 GB, free: 9.371 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.639e-05/0.4913, allocations: 16.98 kB / 0.5953 GB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.4914, allocations: 3.938 kB / 0.5953 GB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/0.4915, allocations: 71.39 kB / 0.5953 GB, free: 9.266 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.4915, allocations: 0 / 0.5953 GB, free: 9.266 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004639/0.492, allocations: 157.2 kB / 0.5955 GB, free: 9.105 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.492, allocations: 55.41 kB / 0.5955 GB, free: 9.039 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.4922, allocations: 169.4 kB / 0.5957 GB, free: 8.867 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.4922, allocations: 29.7 kB / 0.5957 GB, free: 8.832 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/0.4923, allocations: 96.14 kB / 0.5958 GB, free: 8.734 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.4923, allocations: 23.7 kB / 0.5958 GB, free: 8.711 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.4923, allocations: 0 / 0.5958 GB, free: 8.711 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.4925, allocations: 326.8 kB / 0.5962 GB, free: 8.383 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.293e-05/0.4925, allocations: 20 kB / 0.5962 GB, free: 8.363 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.9e-05/0.4926, allocations: 41.7 kB / 0.5962 GB, free: 8.316 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.685e-05/0.4926, allocations: 23.98 kB / 0.5962 GB, free: 8.293 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4926, allocations: 0 / 0.5962 GB, free: 8.293 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001512/0.4928, allocations: 101.4 kB / 0.5963 GB, free: 8.188 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4928, allocations: 8 kB / 0.5963 GB, free: 8.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4928, allocations: 0 / 0.5963 GB, free: 8.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.4928, allocations: 0 / 0.5963 GB, free: 8.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.888e-05/0.4929, allocations: 12 kB / 0.5964 GB, free: 8.168 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.493, allocations: 7.938 kB / 0.5964 GB, free: 8.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.673e-05/0.493, allocations: 11.95 kB / 0.5964 GB, free: 8.148 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.493, allocations: 4 kB / 0.5964 GB, free: 8.145 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.875e-05/0.4931, allocations: 112.9 kB / 0.5965 GB, free: 8.027 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.4931, allocations: 11.89 kB / 0.5965 GB, free: 8.016 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.4934, allocations: 122.3 kB / 0.5966 GB, free: 7.895 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4934, allocations: 0 / 0.5966 GB, free: 7.895 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4934, allocations: 0 / 0.5966 GB, free: 7.895 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4934, allocations: 0 / 0.5966 GB, free: 7.895 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/0.4938, allocations: 415.2 kB / 0.597 GB, free: 7.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4938, allocations: 0 / 0.597 GB, free: 7.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.217e-05/0.4939, allocations: 12 kB / 0.597 GB, free: 7.418 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4939, allocations: 3.938 kB / 0.597 GB, free: 7.414 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.4939, allocations: 3.984 kB / 0.597 GB, free: 7.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.4939, allocations: 4 kB / 0.597 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4939, allocations: 0 / 0.597 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.4941, allocations: 221.9 kB / 0.5972 GB, free: 7.164 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.018e-05/0.4942, allocations: 85.02 kB / 0.5973 GB, free: 7.062 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.4942, allocations: 11.98 kB / 0.5973 GB, free: 7.051 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.096e-05/0.4943, allocations: 0 / 0.5973 GB, free: 7.051 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.4944, allocations: 12.12 kB / 0.5973 GB, free: 7.039 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.4944, allocations: 8 kB / 0.5974 GB, free: 7.031 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001067/0.4945, allocations: 148.9 kB / 0.5975 GB, free: 6.887 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4945, allocations: 0 / 0.5975 GB, free: 6.887 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002438/0.4948, allocations: 31.98 kB / 0.5975 GB, free: 6.855 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.0009727/0.4957, allocations: 435.4 kB / 0.5979 GB, free: 6.539 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001586/0.4959, allocations: 55.94 kB / 0.598 GB, free: 6.484 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4959, allocations: 0 / 0.598 GB, free: 6.484 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.142e-05/0.496, allocations: 31.92 kB / 0.598 GB, free: 6.453 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.4962, allocations: 31.83 kB / 0.5981 GB, free: 6.422 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003648/0.4966, allocations: 158.9 kB / 0.5982 GB, free: 6.234 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.4969, allocations: 0.7084 MB / 0.5989 GB, free: 5.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.118e-05/0.497, allocations: 16.41 kB / 0.5989 GB, free: 5.484 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.509e-05/0.497, allocations: 19.44 kB / 0.5989 GB, free: 5.465 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.497, allocations: 0 / 0.5989 GB, free: 5.465 MB / 410.7 MB Notification: Performance of Templates: time 0.004152/0.5012, allocations: 1.693 MB / 0.6006 GB, free: 3.781 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches