Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") [: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.001375/0.001375, allocations: 179.5 kB / 8.519 MB, free: 1.855 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.536/1.536, allocations: 221.4 MB / 230.3 MB, free: 7.648 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.00117/0.00117, allocations: 91.98 kB / 281.2 MB, free: 5.461 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.1685/0.1685, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.034e-05/1.037e-05, allocations: 4.219 kB / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1255, allocations: 61.91 MB / 0.4941 GB, free: 1.637 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3521/0.4776, allocations: 88.75 MB / 0.5808 GB, free: 8.152 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.4779, allocations: 79.52 kB / 0.5808 GB, free: 8.078 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02084/0.4987, allocations: 7.599 MB / 0.5883 GB, free: 500 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.4988, allocations: 7.938 kB / 0.5883 GB, free: 492 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005796/0.4994, allocations: 422.1 kB / 0.5887 GB, free: 24 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.4994, allocations: 13.22 kB / 0.5887 GB, free: 12 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.4995, allocations: 7.906 kB / 0.5887 GB, free: 4 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.4998, allocations: 206.8 kB / 0.5889 GB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.4999, allocations: 4 kB / 0.5889 GB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.4999, allocations: 4 kB / 0.5889 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001013/0.5, allocations: 20 kB / 0.5889 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.5001, allocations: 67.3 kB / 0.589 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.5002, allocations: 0 / 0.589 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.5002, allocations: 0 / 0.589 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.5002, allocations: 4 kB / 0.589 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.5006, allocations: 257.4 kB / 0.5892 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.5007, allocations: 58.62 kB / 0.5893 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.576e-05/0.5008, allocations: 20.97 kB / 0.5893 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.5008, allocations: 3.938 kB / 0.5893 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.501, allocations: 59.41 kB / 0.5894 GB, free: 15.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.501, allocations: 0 / 0.5894 GB, free: 15.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004601/0.5014, allocations: 137.3 kB / 0.5895 GB, free: 15.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.5015, allocations: 81.11 kB / 0.5896 GB, free: 14.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.5016, allocations: 147.2 kB / 0.5897 GB, free: 14.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.5017, allocations: 29.69 kB / 0.5897 GB, free: 14.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.5017, allocations: 88.14 kB / 0.5898 GB, free: 14.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.5018, allocations: 27.64 kB / 0.5899 GB, free: 14.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.5018, allocations: 0 / 0.5899 GB, free: 14.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5019, allocations: 318.8 kB / 0.5902 GB, free: 14.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.771e-05/0.502, allocations: 20 kB / 0.5902 GB, free: 14.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.058e-05/0.502, allocations: 38.58 kB / 0.5902 GB, free: 14.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.587e-05/0.5021, allocations: 27.92 kB / 0.5902 GB, free: 14.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.5021, allocations: 192 / 0.5902 GB, free: 14.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001378/0.5022, allocations: 81.59 kB / 0.5903 GB, free: 14.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.5023, allocations: 13.03 kB / 0.5903 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.5023, allocations: 0 / 0.5903 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.5023, allocations: 0 / 0.5903 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.5024, allocations: 19.95 kB / 0.5904 GB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.5024, allocations: 11.94 kB / 0.5904 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.872e-05/0.5025, allocations: 0 / 0.5904 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.5025, allocations: 4 kB / 0.5904 GB, free: 14.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.239e-05/0.5026, allocations: 105 kB / 0.5905 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.5026, allocations: 11.89 kB / 0.5905 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/0.5028, allocations: 106 kB / 0.5906 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.5028, allocations: 3.984 kB / 0.5906 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5028, allocations: 4 kB / 0.5906 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.5028, allocations: 0 / 0.5906 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003866/0.5032, allocations: 363.8 kB / 0.5909 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.5032, allocations: 0 / 0.5909 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-05/0.5033, allocations: 8 kB / 0.5909 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.5033, allocations: 0 / 0.5909 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.5033, allocations: 4 kB / 0.5909 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5033, allocations: 0 / 0.5909 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.5033, allocations: 0 / 0.5909 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002285/0.5036, allocations: 217.8 kB / 0.5912 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.368e-05/0.5036, allocations: 89 kB / 0.5912 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.5037, allocations: 0 / 0.5912 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.658e-05/0.5038, allocations: 4 kB / 0.5912 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.079e-05/0.5038, allocations: 7.891 kB / 0.5912 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.5039, allocations: 12 kB / 0.5913 GB, free: 13.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001156/0.504, allocations: 117.8 kB / 0.5914 GB, free: 12.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000322/0.5043, allocations: 39.92 kB / 0.5914 GB, free: 12.94 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: 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 (9): * Single equations (assignments): 7 * 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.001057/0.5054, allocations: 390.6 kB / 0.5918 GB, free: 12.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002/0.5056, allocations: 48 kB / 0.5918 GB, free: 12.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5056, allocations: 0 / 0.5918 GB, free: 12.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.554e-05/0.5057, allocations: 35.92 kB / 0.5919 GB, free: 12.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.506, allocations: 22.3 kB / 0.5919 GB, free: 12.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003961/0.5064, allocations: 132.6 kB / 0.592 GB, free: 12.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003673/0.5068, allocations: 0.7153 MB / 0.5927 GB, free: 11.63 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5068, allocations: 0 / 0.5927 GB, free: 11.63 MB / 410.7 MB Notification: Performance of Templates: time 0.004695/0.5115, allocations: 1.848 MB / 0.5945 GB, free: 9.797 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches