Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") [: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.001127/0.001127, allocations: 179.9 kB / 8.519 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.309/1.309, allocations: 221.4 MB / 230.3 MB, free: 7.711 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.0009287/0.0009286, allocations: 81.61 kB / 281.2 MB, free: 5.527 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.1742/0.1742, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.784e-06/7.825e-06, allocations: 4.219 kB / 444 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1022, allocations: 61.91 MB / 0.4941 GB, free: 1.613 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2849/0.3871, allocations: 88.32 MB / 0.5803 GB, free: 8.562 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.3874, allocations: 75.95 kB / 0.5804 GB, free: 8.488 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01711/0.4045, allocations: 6.277 MB / 0.5866 GB, free: 2.223 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.599e-05/0.4046, allocations: 8 kB / 0.5866 GB, free: 2.215 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.0006584/0.4052, allocations: 0.5986 MB / 0.5871 GB, free: 1.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.4053, allocations: 17.47 kB / 0.5872 GB, free: 1.555 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.911e-05/0.4054, allocations: 51.34 kB / 0.5872 GB, free: 1.504 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007973/0.4062, allocations: 475 kB / 0.5877 GB, free: 1 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.4062, allocations: 4 kB / 0.5877 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.4062, allocations: 4 kB / 0.5877 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.607e-05/0.4063, allocations: 23.98 kB / 0.5877 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.4065, allocations: 91.28 kB / 0.5878 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.4065, allocations: 0 / 0.5878 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.4065, allocations: 7.906 kB / 0.5878 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.4065, allocations: 4 kB / 0.5878 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003417/0.4069, allocations: 358.9 kB / 0.5881 GB, free: 476 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.407, allocations: 85.36 kB / 0.5882 GB, free: 372 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.956e-05/0.4071, allocations: 45.73 kB / 0.5883 GB, free: 320 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.4071, allocations: 0 / 0.5883 GB, free: 320 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001255/0.4072, allocations: 101 kB / 0.5884 GB, free: 200 kB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.4072, allocations: 0 / 0.5884 GB, free: 200 kB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002713/0.4075, allocations: 141 kB / 0.5885 GB, free: 52 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.4076, allocations: 85.11 kB / 0.5886 GB, free: 15.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.4087, allocations: 0.9083 MB / 0.5895 GB, free: 15.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.4087, allocations: 25.7 kB / 0.5895 GB, free: 15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.382e-05/0.4088, allocations: 140.1 kB / 0.5896 GB, free: 14.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.4088, allocations: 23.66 kB / 0.5896 GB, free: 14.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-06/0.4089, allocations: 0 / 0.5896 GB, free: 14.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.409, allocations: 366.8 kB / 0.59 GB, free: 14.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.847e-05/0.4091, allocations: 23.98 kB / 0.59 GB, free: 14.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.925e-05/0.4091, allocations: 55.44 kB / 0.5901 GB, free: 14.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.784e-05/0.4092, allocations: 31.92 kB / 0.5901 GB, free: 14.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.4092, allocations: 7.984 kB / 0.5901 GB, free: 14.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002247/0.4094, allocations: 152.9 kB / 0.5902 GB, free: 14.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.4095, allocations: 5.094 kB / 0.5903 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.4095, allocations: 0 / 0.5903 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.4095, allocations: 4 kB / 0.5903 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.4096, allocations: 28.05 kB / 0.5903 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.4096, allocations: 4 kB / 0.5903 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.4098, allocations: 7.906 kB / 0.5903 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.4098, allocations: 7.938 kB / 0.5903 GB, free: 14.13 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.357e-05/0.4099, allocations: 112.8 kB / 0.5904 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.094e-05/0.4099, allocations: 55.33 kB / 0.5905 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003079/0.4103, allocations: 174 kB / 0.5906 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.4103, allocations: 7.906 kB / 0.5906 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4103, allocations: 0 / 0.5906 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4103, allocations: 0 / 0.5906 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003115/0.4106, allocations: 365.9 kB / 0.591 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.4106, allocations: 0 / 0.591 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.761e-05/0.4107, allocations: 8 kB / 0.591 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.4107, allocations: 7.906 kB / 0.591 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.4107, allocations: 0 / 0.591 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4107, allocations: 0 / 0.591 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.4107, allocations: 7.984 kB / 0.591 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002501/0.411, allocations: 195.2 kB / 0.5912 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.4112, allocations: 192.3 kB / 0.5914 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.721e-05/0.4113, allocations: 4 kB / 0.5914 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.4114, allocations: 7.984 kB / 0.5914 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.4115, allocations: 11.98 kB / 0.5914 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.4115, allocations: 11.94 kB / 0.5914 GB, free: 12.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0007682/0.4123, allocations: 0.7175 MB / 0.5921 GB, free: 12.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003183/0.4126, allocations: 75.91 kB / 0.5922 GB, free: 12.11 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.0006715/0.4133, allocations: 307 kB / 0.5925 GB, free: 11.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001813/0.4135, allocations: 71.92 kB / 0.5925 GB, free: 11.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4135, allocations: 4.125 kB / 0.5925 GB, free: 11.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.593e-05/0.4136, allocations: 43.94 kB / 0.5926 GB, free: 11.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.414, allocations: 59.88 kB / 0.5926 GB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.4152, allocations: 0.7601 MB / 0.5934 GB, free: 10.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000531/0.4157, allocations: 0.8889 MB / 0.5943 GB, free: 10 MB / 410.7 MB Notification: Performance of SimCode: time 2.114e-06/0.4157, allocations: 8 kB / 0.5943 GB, free: 9.992 MB / 410.7 MB Notification: Performance of Templates: time 0.007713/0.4234, allocations: 3.63 MB / 0.5978 GB, free: 6.379 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches