Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") [: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.0009987/0.0009986, allocations: 172.5 kB / 8.517 MB, free: 1.844 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.193/1.193, allocations: 221.4 MB / 230.3 MB, free: 7.715 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.000895/0.0008949, allocations: 91.22 kB / 281.2 MB, free: 5.465 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.1758/0.1758, allocations: 44.14 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.755e-06/7.775e-06, allocations: 4 kB / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1106, allocations: 61.91 MB / 0.4941 GB, free: 1.637 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3232/0.4338, allocations: 89.39 MB / 0.5814 GB, free: 7.535 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.4341, allocations: 72.7 kB / 0.5815 GB, free: 7.465 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01116/0.4453, allocations: 4.025 MB / 0.5854 GB, free: 3.449 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.4453, allocations: 3.938 kB / 0.5854 GB, free: 3.445 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.0004724/0.4458, allocations: 447.8 kB / 0.5858 GB, free: 2.957 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.4459, allocations: 11.97 kB / 0.5858 GB, free: 2.945 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.4459, allocations: 23.75 kB / 0.5859 GB, free: 2.922 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.4462, allocations: 227.9 kB / 0.5861 GB, free: 2.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.4463, allocations: 4 kB / 0.5861 GB, free: 2.656 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.4463, allocations: 8 kB / 0.5861 GB, free: 2.648 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.523e-05/0.4464, allocations: 27.91 kB / 0.5861 GB, free: 2.621 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.4465, allocations: 103 kB / 0.5862 GB, free: 2.508 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.4466, allocations: 0 / 0.5862 GB, free: 2.508 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.4466, allocations: 4 kB / 0.5862 GB, free: 2.504 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4466, allocations: 4 kB / 0.5862 GB, free: 2.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005169/0.4471, allocations: 0.4897 MB / 0.5867 GB, free: 1.965 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.4473, allocations: 74.62 kB / 0.5868 GB, free: 1.883 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.851e-05/0.4474, allocations: 28.86 kB / 0.5868 GB, free: 1.852 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.4474, allocations: 0 / 0.5868 GB, free: 1.852 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/0.4476, allocations: 75.39 kB / 0.5869 GB, free: 1.766 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.985e-06/0.4476, allocations: 0 / 0.5869 GB, free: 1.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002042/0.4478, allocations: 101.4 kB / 0.587 GB, free: 1.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.4478, allocations: 51.41 kB / 0.587 GB, free: 1.598 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.448, allocations: 166.7 kB / 0.5872 GB, free: 1.422 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.448, allocations: 25.7 kB / 0.5872 GB, free: 1.391 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/0.4481, allocations: 100 kB / 0.5873 GB, free: 1.289 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.4481, allocations: 31.55 kB / 0.5873 GB, free: 1.258 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.4481, allocations: 0 / 0.5873 GB, free: 1.258 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.4482, allocations: 330.8 kB / 0.5876 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.755e-05/0.4483, allocations: 28.11 kB / 0.5877 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.44e-05/0.4484, allocations: 52.23 kB / 0.5877 GB, free: 0.832 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.171e-05/0.4484, allocations: 23.98 kB / 0.5877 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4484, allocations: 4.094 kB / 0.5877 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001732/0.4486, allocations: 121.3 kB / 0.5879 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.4486, allocations: 4 kB / 0.5879 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.4486, allocations: 4 kB / 0.5879 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.4486, allocations: 0 / 0.5879 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.4488, allocations: 23.98 kB / 0.5879 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.4488, allocations: 3.906 kB / 0.5879 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.498e-05/0.4489, allocations: 20.06 kB / 0.5879 GB, free: 0.625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.4489, allocations: 7.984 kB / 0.5879 GB, free: 0.6172 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 7.269e-05/0.449, allocations: 112.8 kB / 0.588 GB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.449, allocations: 7.906 kB / 0.588 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.4492, allocations: 110.9 kB / 0.5881 GB, free: 384 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.4492, allocations: 4 kB / 0.5881 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4492, allocations: 0 / 0.5881 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4492, allocations: 0 / 0.5881 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.4493, allocations: 182.3 kB / 0.5883 GB, free: 160 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4494, allocations: 4 kB / 0.5883 GB, free: 156 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.618e-05/0.4494, allocations: 19.89 kB / 0.5883 GB, free: 136 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.4495, allocations: 3.984 kB / 0.5883 GB, free: 132 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.4495, allocations: 0 / 0.5883 GB, free: 132 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4495, allocations: 0 / 0.5883 GB, free: 132 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4495, allocations: 0 / 0.5883 GB, free: 132 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002571/0.4498, allocations: 160.9 kB / 0.5885 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.4498, allocations: 105 kB / 0.5886 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.4498, allocations: 0 / 0.5886 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.583e-05/0.4499, allocations: 7.984 kB / 0.5886 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.45, allocations: 11.94 kB / 0.5886 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.45, allocations: 7.984 kB / 0.5886 GB, free: 15.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.217e-05/0.4501, allocations: 128.1 kB / 0.5887 GB, free: 15.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002254/0.4503, allocations: 31.91 kB / 0.5888 GB, free: 15.65 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.0005873/0.4509, allocations: 313.8 kB / 0.5891 GB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001326/0.451, allocations: 59.94 kB / 0.5891 GB, free: 15.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4511, allocations: 4.188 kB / 0.5891 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.887e-05/0.4511, allocations: 39.86 kB / 0.5892 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.4514, allocations: 28.17 kB / 0.5892 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004033/0.4518, allocations: 183.8 kB / 0.5894 GB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/0.4521, allocations: 0.7313 MB / 0.5901 GB, free: 14.31 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4521, allocations: 0 / 0.5901 GB, free: 14.31 MB / 410.7 MB Notification: Performance of Templates: time 0.003993/0.4561, allocations: 1.791 MB / 0.5918 GB, free: 12.54 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches