Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") [: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.001287/0.001287, allocations: 183.8 kB / 8.518 MB, free: 0.4961 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 221.4 MB / 230.3 MB, free: 13.58 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009863/0.0009863, allocations: 94.12 kB / 281.2 MB, free: 10.55 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1958/0.1958, allocations: 44.14 MB / 376.1 MB, free: 11.7 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 1.331e-05/1.333e-05, allocations: 4 kB / 444 MB, free: 54.41 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1378, allocations: 61.91 MB / 0.4941 GB, free: 8.43 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3453/0.4832, allocations: 88.26 MB / 0.5803 GB, free: 10.63 MB / 402.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/0.4834, allocations: 75.95 kB / 0.5804 GB, free: 10.55 MB / 402.8 MB Notification: Performance of FrontEnd: time 0.0178/0.5012, allocations: 5.07 MB / 0.5853 GB, free: 5.5 MB / 402.8 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.5013, allocations: 0 / 0.5853 GB, free: 5.5 MB / 402.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005996/0.5019, allocations: 402 kB / 0.5857 GB, free: 5.062 MB / 402.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.502, allocations: 13.22 kB / 0.5857 GB, free: 5.051 MB / 402.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.502, allocations: 7.906 kB / 0.5857 GB, free: 5.043 MB / 402.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.5025, allocations: 218.8 kB / 0.5859 GB, free: 4.789 MB / 402.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.5025, allocations: 0 / 0.5859 GB, free: 4.789 MB / 402.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.5025, allocations: 4 kB / 0.5859 GB, free: 4.785 MB / 402.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.622e-05/0.5026, allocations: 15.94 kB / 0.5859 GB, free: 4.77 MB / 402.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.5028, allocations: 49.58 kB / 0.586 GB, free: 4.715 MB / 402.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.5028, allocations: 0 / 0.586 GB, free: 4.715 MB / 402.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.5028, allocations: 0 / 0.586 GB, free: 4.715 MB / 402.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.5028, allocations: 4 kB / 0.586 GB, free: 4.711 MB / 402.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002418/0.5031, allocations: 166.2 kB / 0.5861 GB, free: 4.512 MB / 402.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.5032, allocations: 46.56 kB / 0.5862 GB, free: 4.457 MB / 402.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.503e-05/0.5033, allocations: 16.86 kB / 0.5862 GB, free: 4.438 MB / 402.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.5033, allocations: 4 kB / 0.5862 GB, free: 4.434 MB / 402.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001213/0.5035, allocations: 71.33 kB / 0.5863 GB, free: 4.352 MB / 402.8 MB Notification: Performance of pre-optimization done (n=5): time 1.703e-06/0.5035, allocations: 0 / 0.5863 GB, free: 4.352 MB / 402.8 MB Notification: Performance of matching and sorting (n=5): time 0.0002313/0.5037, allocations: 65.59 kB / 0.5863 GB, free: 4.281 MB / 402.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.5038, allocations: 51.41 kB / 0.5864 GB, free: 4.219 MB / 402.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.5041, allocations: 194.1 kB / 0.5866 GB, free: 4.023 MB / 402.8 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.5041, allocations: 25.7 kB / 0.5866 GB, free: 3.992 MB / 402.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/0.5042, allocations: 92.12 kB / 0.5867 GB, free: 3.898 MB / 402.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.5042, allocations: 11.81 kB / 0.5867 GB, free: 3.887 MB / 402.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.5042, allocations: 0 / 0.5867 GB, free: 3.887 MB / 402.8 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.5044, allocations: 330.8 kB / 0.587 GB, free: 3.555 MB / 402.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.392e-05/0.5045, allocations: 12 kB / 0.587 GB, free: 3.543 MB / 402.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.487e-05/0.5046, allocations: 25.7 kB / 0.587 GB, free: 3.512 MB / 402.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.711e-05/0.5046, allocations: 23.94 kB / 0.5871 GB, free: 3.488 MB / 402.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5046, allocations: 0 / 0.5871 GB, free: 3.488 MB / 402.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001897/0.5048, allocations: 77.5 kB / 0.5871 GB, free: 3.406 MB / 402.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.5049, allocations: 4 kB / 0.5871 GB, free: 3.402 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.5049, allocations: 4.031 kB / 0.5872 GB, free: 3.398 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.5049, allocations: 0 / 0.5872 GB, free: 3.398 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.505, allocations: 15.98 kB / 0.5872 GB, free: 3.383 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.5051, allocations: 4.094 kB / 0.5872 GB, free: 3.379 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.511e-05/0.5051, allocations: 4 kB / 0.5872 GB, free: 3.375 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.5052, allocations: 0 / 0.5872 GB, free: 3.375 MB / 402.8 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 (7): * Single equations (assignments): 7 * 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 0.0001007/0.5053, allocations: 108.9 kB / 0.5873 GB, free: 3.262 MB / 402.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.5053, allocations: 7.906 kB / 0.5873 GB, free: 3.254 MB / 402.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/0.5055, allocations: 94.64 kB / 0.5874 GB, free: 3.16 MB / 402.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.5056, allocations: 0 / 0.5874 GB, free: 3.16 MB / 402.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.5056, allocations: 0 / 0.5874 GB, free: 3.16 MB / 402.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5056, allocations: 0 / 0.5874 GB, free: 3.16 MB / 402.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.5058, allocations: 170.2 kB / 0.5875 GB, free: 2.957 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.5058, allocations: 0 / 0.5875 GB, free: 2.957 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.459e-05/0.5059, allocations: 8 kB / 0.5875 GB, free: 2.949 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.5059, allocations: 3.938 kB / 0.5875 GB, free: 2.945 MB / 402.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.5059, allocations: 0 / 0.5875 GB, free: 2.945 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.5059, allocations: 7.844 kB / 0.5876 GB, free: 2.938 MB / 402.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.5059, allocations: 7.984 kB / 0.5876 GB, free: 2.93 MB / 402.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002005/0.5061, allocations: 104.9 kB / 0.5877 GB, free: 2.809 MB / 402.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.221e-05/0.5062, allocations: 92.94 kB / 0.5878 GB, free: 2.699 MB / 402.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.5063, allocations: 4.188 kB / 0.5878 GB, free: 2.695 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.5064, allocations: 4 kB / 0.5878 GB, free: 2.691 MB / 402.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.5064, allocations: 8 kB / 0.5878 GB, free: 2.684 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.093e-05/0.5065, allocations: 3.984 kB / 0.5878 GB, free: 2.68 MB / 402.8 MB Notification: Performance of sort global known variables: time 0.0001951/0.5067, allocations: 156.2 kB / 0.5879 GB, free: 2.527 MB / 402.8 MB Notification: Performance of remove unused functions: time 0.0003754/0.5071, allocations: 24 kB / 0.5879 GB, free: 2.504 MB / 402.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0009228/0.508, allocations: 303.9 kB / 0.5882 GB, free: 2.281 MB / 402.8 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.5081, allocations: 39.98 kB / 0.5883 GB, free: 2.242 MB / 402.8 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5082, allocations: 0 / 0.5883 GB, free: 2.242 MB / 402.8 MB Notification: Performance of simCode: created simulation system equations: time 5.673e-05/0.5082, allocations: 20 kB / 0.5883 GB, free: 2.223 MB / 402.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.5086, allocations: 23.92 kB / 0.5883 GB, free: 2.199 MB / 402.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.5091, allocations: 159.2 kB / 0.5885 GB, free: 2.016 MB / 402.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003899/0.5095, allocations: 0.7231 MB / 0.5892 GB, free: 1.266 MB / 402.8 MB Notification: Performance of SimCode: time 3.71e-07/0.5095, allocations: 4 kB / 0.5892 GB, free: 1.262 MB / 402.8 MB Notification: Performance of Templates: time 0.005581/0.5151, allocations: 1.453 MB / 0.5906 GB, free: 15.82 MB / 418.8 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches