Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,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.Test20") [: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.001466/0.001466, allocations: 178.7 kB / 8.519 MB, free: 1.859 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.354/1.354, allocations: 221.4 MB / 230.3 MB, free: 7.652 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.0008699/0.00087, allocations: 89.86 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.1873/0.1873, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.125e-06/8.166e-06, allocations: 224 / 444 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1157, allocations: 61.91 MB / 0.4941 GB, free: 1.602 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3491/0.4649, allocations: 88.44 MB / 0.5805 GB, free: 8.434 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.4652, allocations: 71.97 kB / 0.5805 GB, free: 8.363 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01477/0.48, allocations: 5.086 MB / 0.5855 GB, free: 3.289 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.48, allocations: 0 / 0.5855 GB, free: 3.289 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004521/0.4805, allocations: 394.1 kB / 0.5859 GB, free: 2.859 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.4806, allocations: 13.22 kB / 0.5859 GB, free: 2.848 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.4806, allocations: 11.91 kB / 0.5859 GB, free: 2.836 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.481, allocations: 222.6 kB / 0.5861 GB, free: 2.578 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.481, allocations: 0 / 0.5861 GB, free: 2.578 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.481, allocations: 7.938 kB / 0.5861 GB, free: 2.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.968e-05/0.4811, allocations: 16 kB / 0.5861 GB, free: 2.555 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.802e-05/0.4812, allocations: 49.67 kB / 0.5862 GB, free: 2.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.4812, allocations: 0 / 0.5862 GB, free: 2.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.4812, allocations: 3.906 kB / 0.5862 GB, free: 2.496 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.4813, allocations: 0 / 0.5862 GB, free: 2.496 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000365/0.4816, allocations: 273.4 kB / 0.5864 GB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.4817, allocations: 50.69 kB / 0.5865 GB, free: 2.133 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.971e-05/0.4818, allocations: 24.88 kB / 0.5865 GB, free: 2.105 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.4818, allocations: 0 / 0.5865 GB, free: 2.105 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.588e-05/0.4819, allocations: 63.41 kB / 0.5866 GB, free: 2.031 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.4819, allocations: 0 / 0.5866 GB, free: 2.031 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004181/0.4823, allocations: 137.2 kB / 0.5867 GB, free: 1.891 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.4824, allocations: 51.41 kB / 0.5868 GB, free: 1.828 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.4825, allocations: 157.4 kB / 0.5869 GB, free: 1.668 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.4826, allocations: 33.7 kB / 0.5869 GB, free: 1.629 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.4826, allocations: 92.12 kB / 0.587 GB, free: 1.535 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.4826, allocations: 19.7 kB / 0.5871 GB, free: 1.516 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.4827, allocations: 0 / 0.5871 GB, free: 1.516 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4828, allocations: 326.8 kB / 0.5874 GB, free: 1.188 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.508e-05/0.4828, allocations: 16 kB / 0.5874 GB, free: 1.172 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.489e-05/0.4829, allocations: 29.72 kB / 0.5874 GB, free: 1.137 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.688e-05/0.4829, allocations: 31.91 kB / 0.5874 GB, free: 1.105 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.4829, allocations: 0 / 0.5874 GB, free: 1.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001837/0.4831, allocations: 93.5 kB / 0.5875 GB, free: 1.008 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.4831, allocations: 5.094 kB / 0.5875 GB, free: 1.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.4831, allocations: 4.031 kB / 0.5875 GB, free: 1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.4832, allocations: 0 / 0.5875 GB, free: 1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.835e-05/0.4833, allocations: 19.98 kB / 0.5876 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.4833, allocations: 3.938 kB / 0.5876 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.981e-05/0.4833, allocations: 3.938 kB / 0.5876 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.4833, allocations: 4.188 kB / 0.5876 GB, free: 0.9688 MB / 394.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 6.907e-05/0.4834, allocations: 111.6 kB / 0.5877 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.4834, allocations: 11.89 kB / 0.5877 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/0.4836, allocations: 110.1 kB / 0.5878 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4837, allocations: 4 kB / 0.5878 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4837, allocations: 0 / 0.5878 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4837, allocations: 0 / 0.5878 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003626/0.484, allocations: 375.9 kB / 0.5881 GB, free: 320 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4841, allocations: 0 / 0.5881 GB, free: 320 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.072e-05/0.4841, allocations: 8 kB / 0.5882 GB, free: 312 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.4841, allocations: 0 / 0.5882 GB, free: 312 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.4841, allocations: 7.938 kB / 0.5882 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4841, allocations: 4.031 kB / 0.5882 GB, free: 300 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.4841, allocations: 4.062 kB / 0.5882 GB, free: 296 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001789/0.4843, allocations: 209.9 kB / 0.5884 GB, free: 60 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.725e-05/0.4844, allocations: 96.89 kB / 0.5885 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.4844, allocations: 0 / 0.5885 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.135e-05/0.4845, allocations: 8 kB / 0.5885 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.4846, allocations: 7.984 kB / 0.5885 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.4846, allocations: 8 kB / 0.5885 GB, free: 15.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001147/0.4847, allocations: 137.1 kB / 0.5886 GB, free: 15.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002778/0.485, allocations: 24 kB / 0.5886 GB, free: 15.77 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.0007728/0.4858, allocations: 352.2 kB / 0.589 GB, free: 15.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000123/0.4859, allocations: 48 kB / 0.589 GB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4859, allocations: 0 / 0.589 GB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.832e-05/0.486, allocations: 31.94 kB / 0.5891 GB, free: 15.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.4863, allocations: 23.97 kB / 0.5891 GB, free: 15.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003754/0.4867, allocations: 160.5 kB / 0.5892 GB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003015/0.487, allocations: 0.7231 MB / 0.5899 GB, free: 14.46 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.487, allocations: 3.938 kB / 0.5899 GB, free: 14.45 MB / 410.7 MB Notification: Performance of Templates: time 0.004167/0.4912, allocations: 1.625 MB / 0.5915 GB, free: 12.84 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches