Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") [: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.001709/0.001709, allocations: 179.4 kB / 8.517 MB, free: 1.852 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.358/1.358, allocations: 221.4 MB / 230.3 MB, free: 7.723 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.0009106/0.0009106, allocations: 91.34 kB / 281.2 MB, free: 5.449 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.1771/0.1771, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.326e-06/8.356e-06, allocations: 4.219 kB / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1136, allocations: 61.91 MB / 0.4941 GB, free: 1.625 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2737/0.3874, allocations: 90.19 MB / 0.5822 GB, free: 6.676 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.3877, allocations: 75.95 kB / 0.5822 GB, free: 6.602 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01342/0.4011, allocations: 4.654 MB / 0.5868 GB, free: 1.965 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.4012, allocations: 0 / 0.5868 GB, free: 1.965 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007522/0.4019, allocations: 0.5402 MB / 0.5873 GB, free: 1.367 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.402, allocations: 12.19 kB / 0.5873 GB, free: 1.355 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.955e-05/0.402, allocations: 15.81 kB / 0.5873 GB, free: 1.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.4024, allocations: 255.5 kB / 0.5876 GB, free: 1.047 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.4024, allocations: 7.984 kB / 0.5876 GB, free: 1.039 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.4025, allocations: 7.984 kB / 0.5876 GB, free: 1.031 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001345/0.4026, allocations: 48 kB / 0.5876 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.4028, allocations: 112.8 kB / 0.5878 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.4028, allocations: 0 / 0.5878 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.4029, allocations: 4 kB / 0.5878 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.4029, allocations: 0 / 0.5878 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007666/0.4036, allocations: 0.5677 MB / 0.5883 GB, free: 248 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.4039, allocations: 94.69 kB / 0.5884 GB, free: 144 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.704e-05/0.404, allocations: 40.84 kB / 0.5884 GB, free: 100 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.404, allocations: 4 kB / 0.5884 GB, free: 96 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.4042, allocations: 89.59 kB / 0.5885 GB, free: 15.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.4042, allocations: 3.938 kB / 0.5885 GB, free: 15.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002669/0.4045, allocations: 121.4 kB / 0.5887 GB, free: 15.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.4045, allocations: 55.31 kB / 0.5887 GB, free: 15.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.4047, allocations: 198.1 kB / 0.5889 GB, free: 15.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.4048, allocations: 25.7 kB / 0.5889 GB, free: 15.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.839e-05/0.4049, allocations: 104.4 kB / 0.589 GB, free: 15.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.4049, allocations: 35.55 kB / 0.5891 GB, free: 15.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/0.4049, allocations: 0 / 0.5891 GB, free: 15.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4051, allocations: 334.7 kB / 0.5894 GB, free: 15.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.865e-05/0.4052, allocations: 40 kB / 0.5894 GB, free: 15.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.783e-05/0.4053, allocations: 68.28 kB / 0.5895 GB, free: 14.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.85e-05/0.4053, allocations: 41.42 kB / 0.5895 GB, free: 14.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4054, allocations: 0 / 0.5895 GB, free: 14.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002647/0.4056, allocations: 154.2 kB / 0.5897 GB, free: 14.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.4056, allocations: 6.344 kB / 0.5897 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4057, allocations: 0 / 0.5897 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.4057, allocations: 4 kB / 0.5897 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.4059, allocations: 55.94 kB / 0.5897 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.4059, allocations: 0 / 0.5897 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.4061, allocations: 31.97 kB / 0.5898 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.4062, allocations: 8 kB / 0.5898 GB, free: 14.67 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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.993e-05/0.4063, allocations: 114.1 kB / 0.5899 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.4063, allocations: 15.81 kB / 0.5899 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002855/0.4066, allocations: 140.2 kB / 0.59 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4066, allocations: 0 / 0.59 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4066, allocations: 11.94 kB / 0.59 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.4066, allocations: 3.906 kB / 0.59 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.4068, allocations: 210.1 kB / 0.5902 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.4068, allocations: 7.984 kB / 0.5902 GB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.407, allocations: 27.98 kB / 0.5903 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.407, allocations: 0 / 0.5903 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.407, allocations: 7.984 kB / 0.5903 GB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4071, allocations: 7.906 kB / 0.5903 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4071, allocations: 0 / 0.5903 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000322/0.4074, allocations: 204.2 kB / 0.5905 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.892e-05/0.4075, allocations: 96.83 kB / 0.5906 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/0.4075, allocations: 7.984 kB / 0.5906 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.4077, allocations: 32.03 kB / 0.5906 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.971e-05/0.4078, allocations: 19.97 kB / 0.5906 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.4078, allocations: 7.984 kB / 0.5906 GB, free: 13.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001298/0.4079, allocations: 152.6 kB / 0.5908 GB, free: 13.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002646/0.4082, allocations: 44.06 kB / 0.5908 GB, free: 13.5 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.0006756/0.4089, allocations: 328.8 kB / 0.5911 GB, free: 13.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002332/0.4091, allocations: 121.6 kB / 0.5913 GB, free: 13.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.4092, allocations: 3.938 kB / 0.5913 GB, free: 13.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.4093, allocations: 47.98 kB / 0.5913 GB, free: 13.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.4096, allocations: 33.03 kB / 0.5913 GB, free: 13.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005647/0.4101, allocations: 232.1 kB / 0.5916 GB, free: 12.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000356/0.4105, allocations: 0.751 MB / 0.5923 GB, free: 12 MB / 410.7 MB Notification: Performance of SimCode: time 2.394e-06/0.4105, allocations: 0 / 0.5923 GB, free: 12 MB / 410.7 MB Notification: Performance of Templates: time 0.006188/0.4167, allocations: 2.644 MB / 0.5949 GB, free: 9.375 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches