Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") [: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.001406/0.001406, allocations: 182.7 kB / 8.521 MB, free: 1.832 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.397/1.397, allocations: 221.4 MB / 230.3 MB, free: 7.73 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.000897/0.0008969, allocations: 91.72 kB / 281.2 MB, free: 5.477 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.1762/0.1762, allocations: 44.14 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.481e-06/5.501e-06, allocations: 4.219 kB / 444 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1109, allocations: 61.91 MB / 0.4941 GB, free: 1.621 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3239/0.4348, allocations: 89.39 MB / 0.5814 GB, free: 7.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001765/0.435, allocations: 67.97 kB / 0.5815 GB, free: 7.434 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01071/0.4458, allocations: 4.021 MB / 0.5854 GB, free: 3.426 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.4458, allocations: 4 kB / 0.5854 GB, free: 3.422 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003931/0.4462, allocations: 459.7 kB / 0.5858 GB, free: 2.922 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.464e-05/0.4462, allocations: 15.97 kB / 0.5858 GB, free: 2.906 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.4463, allocations: 16.55 kB / 0.5859 GB, free: 2.891 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.4465, allocations: 220 kB / 0.5861 GB, free: 2.637 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-06/0.4465, allocations: 4 kB / 0.5861 GB, free: 2.633 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.4466, allocations: 4 kB / 0.5861 GB, free: 2.629 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.132e-05/0.4466, allocations: 39.89 kB / 0.5861 GB, free: 2.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.4468, allocations: 94.91 kB / 0.5862 GB, free: 2.484 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.839e-06/0.4468, allocations: 4 kB / 0.5862 GB, free: 2.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.4468, allocations: 0 / 0.5862 GB, free: 2.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-06/0.4468, allocations: 3.938 kB / 0.5862 GB, free: 2.477 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.4473, allocations: 0.4936 MB / 0.5867 GB, free: 1.938 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.4475, allocations: 74.62 kB / 0.5868 GB, free: 1.855 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.863e-05/0.4475, allocations: 32.84 kB / 0.5868 GB, free: 1.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.4475, allocations: 4 kB / 0.5868 GB, free: 1.816 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.598e-05/0.4476, allocations: 71.39 kB / 0.5869 GB, free: 1.734 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.4476, allocations: 224 / 0.5869 GB, free: 1.734 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001666/0.4478, allocations: 89.44 kB / 0.587 GB, free: 1.641 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.4479, allocations: 63.33 kB / 0.587 GB, free: 1.566 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.448, allocations: 162.7 kB / 0.5872 GB, free: 1.395 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.448, allocations: 25.7 kB / 0.5872 GB, free: 1.363 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.972e-05/0.4481, allocations: 104 kB / 0.5873 GB, free: 1.258 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.106e-05/0.4481, allocations: 31.55 kB / 0.5873 GB, free: 1.227 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.4481, allocations: 0 / 0.5873 GB, free: 1.227 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.536e-05/0.4482, allocations: 322.8 kB / 0.5876 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.954e-05/0.4483, allocations: 24.12 kB / 0.5877 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.434e-05/0.4483, allocations: 57.91 kB / 0.5877 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.136e-05/0.4484, allocations: 31.94 kB / 0.5877 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4484, allocations: 3.984 kB / 0.5877 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001718/0.4486, allocations: 109.4 kB / 0.5878 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.826e-06/0.4486, allocations: 5.125 kB / 0.5879 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/0.4486, allocations: 3.938 kB / 0.5879 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.4486, allocations: 11.92 kB / 0.5879 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.4487, allocations: 24.12 kB / 0.5879 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.4487, allocations: 7.891 kB / 0.5879 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.158e-05/0.4488, allocations: 11.94 kB / 0.5879 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.4488, allocations: 4 kB / 0.5879 GB, free: 0.5938 MB / 394.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: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,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 (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 6.615e-05/0.4489, allocations: 112.8 kB / 0.588 GB, free: 488 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.4489, allocations: 15.89 kB / 0.588 GB, free: 472 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/0.4491, allocations: 110.9 kB / 0.5881 GB, free: 352 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.4491, allocations: 4 kB / 0.5881 GB, free: 348 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.4491, allocations: 0 / 0.5881 GB, free: 348 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.4491, allocations: 0 / 0.5881 GB, free: 348 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.4493, allocations: 190.3 kB / 0.5883 GB, free: 120 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4493, allocations: 7.984 kB / 0.5883 GB, free: 112 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.287e-05/0.4494, allocations: 15.91 kB / 0.5883 GB, free: 96 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4494, allocations: 0 / 0.5883 GB, free: 96 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.4494, allocations: 4 kB / 0.5884 GB, free: 92 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4494, allocations: 0 / 0.5884 GB, free: 92 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4494, allocations: 0 / 0.5884 GB, free: 92 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002117/0.4496, allocations: 160.8 kB / 0.5885 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.504e-05/0.4497, allocations: 96.86 kB / 0.5886 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.4497, allocations: 11.92 kB / 0.5886 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.347e-05/0.4498, allocations: 4 kB / 0.5886 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.4498, allocations: 7.984 kB / 0.5886 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.4499, allocations: 12.06 kB / 0.5886 GB, free: 15.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.042e-05/0.4499, allocations: 128.1 kB / 0.5888 GB, free: 15.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002204/0.4502, allocations: 35.91 kB / 0.5888 GB, free: 15.61 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: 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 (10): * Single equations (assignments): 8 * 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.0005167/0.4507, allocations: 309.2 kB / 0.5891 GB, free: 15.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001155/0.4508, allocations: 63.92 kB / 0.5891 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.4508, allocations: 0 / 0.5891 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.137e-05/0.4509, allocations: 40.19 kB / 0.5892 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.4511, allocations: 28 kB / 0.5892 GB, free: 15.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003447/0.4515, allocations: 183.6 kB / 0.5894 GB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000302/0.4518, allocations: 0.7352 MB / 0.5901 GB, free: 14.27 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4518, allocations: 4 kB / 0.5901 GB, free: 14.27 MB / 410.7 MB Notification: Performance of Templates: time 0.003922/0.4557, allocations: 1.774 MB / 0.5918 GB, free: 12.5 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches