Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") [: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.001293/0.001293, allocations: 172.3 kB / 8.517 MB, free: 1.84 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.209/1.209, allocations: 221.4 MB / 230.3 MB, free: 7.633 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.0008637/0.0008637, allocations: 86.42 kB / 281.2 MB, free: 5.445 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.1704/0.1704, allocations: 44.15 MB / 376.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.289e-05/1.294e-05, allocations: 4.219 kB / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1575, allocations: 61.91 MB / 0.4941 GB, free: 1.598 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3165/0.474, allocations: 88.32 MB / 0.5804 GB, free: 8.531 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.4743, allocations: 75.95 kB / 0.5804 GB, free: 8.457 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01639/0.4907, allocations: 6.27 MB / 0.5865 GB, free: 2.203 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.924e-05/0.4908, allocations: 11.98 kB / 0.5866 GB, free: 2.191 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000685/0.4914, allocations: 0.5986 MB / 0.5871 GB, free: 1.547 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.4915, allocations: 13.47 kB / 0.5872 GB, free: 1.535 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.646e-05/0.4916, allocations: 51.34 kB / 0.5872 GB, free: 1.484 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008172/0.4924, allocations: 479 kB / 0.5877 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.4925, allocations: 7.984 kB / 0.5877 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.4925, allocations: 0 / 0.5877 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.956e-05/0.4926, allocations: 27.98 kB / 0.5877 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.4927, allocations: 87.31 kB / 0.5878 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.4927, allocations: 0 / 0.5878 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.4927, allocations: 3.906 kB / 0.5878 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4928, allocations: 4 kB / 0.5878 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/0.4932, allocations: 355.6 kB / 0.5881 GB, free: 460 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.4933, allocations: 101.3 kB / 0.5882 GB, free: 340 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.22e-05/0.4934, allocations: 33.72 kB / 0.5883 GB, free: 300 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.4934, allocations: 0 / 0.5883 GB, free: 300 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.4936, allocations: 101 kB / 0.5884 GB, free: 180 kB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.184e-06/0.4936, allocations: 3.984 kB / 0.5884 GB, free: 176 kB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.000291/0.4939, allocations: 153 kB / 0.5885 GB, free: 16 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.4939, allocations: 81.11 kB / 0.5886 GB, free: 15.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.4951, allocations: 0.9005 MB / 0.5895 GB, free: 15.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.4951, allocations: 25.7 kB / 0.5895 GB, free: 14.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.654e-05/0.4952, allocations: 140.1 kB / 0.5896 GB, free: 14.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/0.4952, allocations: 27.64 kB / 0.5896 GB, free: 14.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.4953, allocations: 0 / 0.5896 GB, free: 14.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.4954, allocations: 370.8 kB / 0.59 GB, free: 14.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.8e-05/0.4955, allocations: 28 kB / 0.59 GB, free: 14.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.906e-05/0.4956, allocations: 51.42 kB / 0.5901 GB, free: 14.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.007e-05/0.4956, allocations: 31.92 kB / 0.5901 GB, free: 14.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4956, allocations: 0 / 0.5901 GB, free: 14.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002467/0.4959, allocations: 153 kB / 0.5902 GB, free: 14.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4959, allocations: 8.062 kB / 0.5903 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.4959, allocations: 4 kB / 0.5903 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.496, allocations: 0 / 0.5903 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.4961, allocations: 19.98 kB / 0.5903 GB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.4961, allocations: 4 kB / 0.5903 GB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.4962, allocations: 11.89 kB / 0.5903 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.4962, allocations: 7.938 kB / 0.5903 GB, free: 14.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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.52e-05/0.4963, allocations: 116.8 kB / 0.5904 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.316e-05/0.4964, allocations: 55.34 kB / 0.5905 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.4967, allocations: 169.7 kB / 0.5906 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.4967, allocations: 7.906 kB / 0.5906 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4967, allocations: 0 / 0.5906 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.4967, allocations: 3.984 kB / 0.5906 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.4971, allocations: 354.3 kB / 0.591 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4971, allocations: 0 / 0.591 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.994e-05/0.4971, allocations: 23.98 kB / 0.591 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4972, allocations: 3.906 kB / 0.591 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.4972, allocations: 0 / 0.591 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.4972, allocations: 8 kB / 0.591 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4972, allocations: 0 / 0.591 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002468/0.4974, allocations: 191.1 kB / 0.5912 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000229/0.4977, allocations: 200.3 kB / 0.5914 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.311e-05/0.4978, allocations: 0 / 0.5914 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.4979, allocations: 8 kB / 0.5914 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.4979, allocations: 7.984 kB / 0.5914 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.4979, allocations: 11.94 kB / 0.5914 GB, free: 12.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0007394/0.4987, allocations: 0.7175 MB / 0.5921 GB, free: 12.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003049/0.499, allocations: 79.91 kB / 0.5922 GB, free: 12.08 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006562/0.4997, allocations: 299.6 kB / 0.5925 GB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.4999, allocations: 79.94 kB / 0.5925 GB, free: 11.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.4999, allocations: 0 / 0.5925 GB, free: 11.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.102e-05/0.4999, allocations: 43.92 kB / 0.5926 GB, free: 11.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.5003, allocations: 54.81 kB / 0.5926 GB, free: 11.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.5015, allocations: 0.7719 MB / 0.5934 GB, free: 10.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004843/0.502, allocations: 0.8967 MB / 0.5943 GB, free: 9.965 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.502, allocations: 0 / 0.5943 GB, free: 9.965 MB / 410.7 MB Notification: Performance of Templates: time 0.007755/0.5098, allocations: 3.622 MB / 0.5978 GB, free: 6.359 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches