Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,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.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 182.8 kB / 8.522 MB, free: 1.836 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 221.4 MB / 230.3 MB, free: 7.605 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.0009152/0.0009152, allocations: 80.73 kB / 281.2 MB, free: 5.43 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.1933/0.1933, allocations: 44.15 MB / 376.1 MB, free: 3.18 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.047e-06/9.087e-06, allocations: 224 / 444 MB, free: 15.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1308, allocations: 61.91 MB / 0.4941 GB, free: 1.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3439/0.4748, allocations: 88.48 MB / 0.5805 GB, free: 8.242 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.4751, allocations: 74.25 kB / 0.5806 GB, free: 8.184 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01506/0.4901, allocations: 5.356 MB / 0.5858 GB, free: 2.844 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.4902, allocations: 4 kB / 0.5858 GB, free: 2.84 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.0004171/0.4906, allocations: 406.1 kB / 0.5862 GB, free: 2.398 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.4907, allocations: 13.22 kB / 0.5862 GB, free: 2.387 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.4907, allocations: 15.81 kB / 0.5862 GB, free: 2.371 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.491, allocations: 218.7 kB / 0.5864 GB, free: 2.117 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.4911, allocations: 0 / 0.5864 GB, free: 2.117 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.4911, allocations: 4 kB / 0.5864 GB, free: 2.113 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.927e-05/0.4912, allocations: 15.98 kB / 0.5864 GB, free: 2.098 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.327e-05/0.4913, allocations: 53.67 kB / 0.5865 GB, free: 2.039 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.4913, allocations: 4 kB / 0.5865 GB, free: 2.035 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.4913, allocations: 0 / 0.5865 GB, free: 2.035 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.4913, allocations: 4 kB / 0.5865 GB, free: 2.031 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.4917, allocations: 277.3 kB / 0.5868 GB, free: 1.723 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.4918, allocations: 54.62 kB / 0.5868 GB, free: 1.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.09e-05/0.4918, allocations: 20.98 kB / 0.5868 GB, free: 1.637 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.4919, allocations: 0 / 0.5868 GB, free: 1.637 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.57e-05/0.492, allocations: 59.39 kB / 0.5869 GB, free: 1.566 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.492, allocations: 0 / 0.5869 GB, free: 1.566 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004053/0.4924, allocations: 141.1 kB / 0.587 GB, free: 1.422 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.4924, allocations: 51.41 kB / 0.5871 GB, free: 1.359 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.4926, allocations: 193.9 kB / 0.5873 GB, free: 1.16 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.4926, allocations: 25.7 kB / 0.5873 GB, free: 1.129 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.082e-05/0.4927, allocations: 108 kB / 0.5874 GB, free: 1.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.4927, allocations: 19.8 kB / 0.5874 GB, free: 1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.4928, allocations: 0 / 0.5874 GB, free: 1 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.985e-05/0.4929, allocations: 330.7 kB / 0.5877 GB, free: 0.668 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-05/0.4929, allocations: 12 kB / 0.5877 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.432e-05/0.4929, allocations: 33.72 kB / 0.5878 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.341e-05/0.493, allocations: 19.98 kB / 0.5878 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.493, allocations: 4 kB / 0.5878 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001466/0.4932, allocations: 101.4 kB / 0.5879 GB, free: 500 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.4932, allocations: 4 kB / 0.5879 GB, free: 496 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4932, allocations: 192 / 0.5879 GB, free: 496 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.4932, allocations: 4 kB / 0.5879 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.304e-05/0.4933, allocations: 20.17 kB / 0.5879 GB, free: 472 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.4933, allocations: 0 / 0.5879 GB, free: 472 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.996e-05/0.4934, allocations: 7.938 kB / 0.5879 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.4934, allocations: 0 / 0.5879 GB, free: 464 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 6.776e-05/0.4935, allocations: 119.6 kB / 0.588 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.4935, allocations: 15.81 kB / 0.5881 GB, free: 324 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.4937, allocations: 103.2 kB / 0.5882 GB, free: 216 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4937, allocations: 0 / 0.5882 GB, free: 216 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4938, allocations: 3.906 kB / 0.5882 GB, free: 212 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.4938, allocations: 3.984 kB / 0.5882 GB, free: 208 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003844/0.4942, allocations: 383.9 kB / 0.5885 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.4942, allocations: 3.906 kB / 0.5885 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.253e-05/0.4942, allocations: 12 kB / 0.5885 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.4942, allocations: 0 / 0.5885 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.4942, allocations: 3.938 kB / 0.5885 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4942, allocations: 0 / 0.5885 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4943, allocations: 4 kB / 0.5886 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001739/0.4944, allocations: 206.1 kB / 0.5887 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.4945, allocations: 104.9 kB / 0.5888 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.4945, allocations: 4 kB / 0.5889 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.926e-05/0.4946, allocations: 0 / 0.5889 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.4947, allocations: 7.984 kB / 0.5889 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.4947, allocations: 8 kB / 0.5889 GB, free: 15.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000124/0.4948, allocations: 159.2 kB / 0.589 GB, free: 15.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002572/0.4951, allocations: 31.94 kB / 0.589 GB, free: 15.2 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.0006961/0.4958, allocations: 345.6 kB / 0.5894 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.4959, allocations: 55.98 kB / 0.5894 GB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4959, allocations: 0 / 0.5894 GB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.82e-05/0.496, allocations: 28 kB / 0.5895 GB, free: 14.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.4963, allocations: 32.08 kB / 0.5895 GB, free: 14.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.4967, allocations: 184.9 kB / 0.5897 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003319/0.497, allocations: 0.7309 MB / 0.5904 GB, free: 13.87 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.497, allocations: 0 / 0.5904 GB, free: 13.87 MB / 410.7 MB Notification: Performance of Templates: time 0.003996/0.501, allocations: 1.696 MB / 0.592 GB, free: 12.18 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches