Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") [: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.0009646/0.0009644, allocations: 176.1 kB / 8.518 MB, free: 1.852 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.239/1.239, allocations: 221.4 MB / 230.3 MB, free: 7.82 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.0009368/0.0009369, allocations: 87.11 kB / 281.2 MB, free: 5.562 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.1861/0.1861, allocations: 44.14 MB / 376.1 MB, free: 3.281 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.677e-06/8.707e-06, allocations: 4 kB / 444 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1385, allocations: 61.91 MB / 0.4941 GB, free: 1.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3453/0.4839, allocations: 88.3 MB / 0.5803 GB, free: 8.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.4842, allocations: 75.95 kB / 0.5804 GB, free: 8.586 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01475/0.499, allocations: 5.329 MB / 0.5856 GB, free: 3.273 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.781e-05/0.499, allocations: 7.984 kB / 0.5856 GB, free: 3.266 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000491/0.4995, allocations: 406 kB / 0.586 GB, free: 2.824 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.4996, allocations: 13.22 kB / 0.586 GB, free: 2.812 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.858e-05/0.4996, allocations: 11.81 kB / 0.586 GB, free: 2.801 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.5, allocations: 230.3 kB / 0.5862 GB, free: 2.535 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.5, allocations: 0 / 0.5862 GB, free: 2.535 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.5, allocations: 8 kB / 0.5863 GB, free: 2.527 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.275e-05/0.5001, allocations: 15.98 kB / 0.5863 GB, free: 2.512 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.01e-05/0.5002, allocations: 49.59 kB / 0.5863 GB, free: 2.457 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.5002, allocations: 0 / 0.5863 GB, free: 2.457 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.5002, allocations: 3.984 kB / 0.5863 GB, free: 2.453 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.5002, allocations: 0 / 0.5863 GB, free: 2.453 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.5004, allocations: 166.2 kB / 0.5865 GB, free: 2.254 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.641e-05/0.5006, allocations: 50.56 kB / 0.5865 GB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/0.5006, allocations: 16.86 kB / 0.5865 GB, free: 2.176 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.5006, allocations: 0 / 0.5865 GB, free: 2.176 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.752e-05/0.5007, allocations: 67.42 kB / 0.5866 GB, free: 2.098 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.5007, allocations: 0 / 0.5866 GB, free: 2.098 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002037/0.5009, allocations: 69.5 kB / 0.5867 GB, free: 2.023 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.501, allocations: 55.34 kB / 0.5867 GB, free: 1.957 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.5013, allocations: 233.9 kB / 0.5869 GB, free: 1.719 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.5013, allocations: 29.7 kB / 0.587 GB, free: 1.684 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.5013, allocations: 92.12 kB / 0.5871 GB, free: 1.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.5014, allocations: 11.91 kB / 0.5871 GB, free: 1.578 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.5014, allocations: 0 / 0.5871 GB, free: 1.578 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.5015, allocations: 326.8 kB / 0.5874 GB, free: 1.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.081e-05/0.5015, allocations: 12 kB / 0.5874 GB, free: 1.238 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.818e-05/0.5016, allocations: 25.72 kB / 0.5874 GB, free: 1.207 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.989e-05/0.5016, allocations: 19.98 kB / 0.5874 GB, free: 1.188 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5016, allocations: 0 / 0.5874 GB, free: 1.188 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000132/0.5018, allocations: 81.5 kB / 0.5875 GB, free: 1.102 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.5018, allocations: 4 kB / 0.5875 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.5018, allocations: 0 / 0.5875 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.5018, allocations: 11.89 kB / 0.5875 GB, free: 1.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.25e-05/0.5019, allocations: 8 kB / 0.5875 GB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.5019, allocations: 0 / 0.5875 GB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.799e-05/0.502, allocations: 15.95 kB / 0.5876 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.502, allocations: 0 / 0.5876 GB, free: 1.062 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 (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 8.146e-05/0.5021, allocations: 111.8 kB / 0.5877 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.5021, allocations: 15.81 kB / 0.5877 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/0.5023, allocations: 82.7 kB / 0.5878 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.5023, allocations: 3.906 kB / 0.5878 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5023, allocations: 0 / 0.5878 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.5023, allocations: 3.938 kB / 0.5878 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.5025, allocations: 182.2 kB / 0.5879 GB, free: 0.625 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5025, allocations: 4 kB / 0.5879 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.161e-05/0.5026, allocations: 7.984 kB / 0.588 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.5026, allocations: 0 / 0.588 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.5026, allocations: 0 / 0.588 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5026, allocations: 0 / 0.588 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.5026, allocations: 7.906 kB / 0.588 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001418/0.5027, allocations: 100.9 kB / 0.5881 GB, free: 500 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.965e-05/0.5028, allocations: 104.8 kB / 0.5882 GB, free: 376 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.5029, allocations: 4 kB / 0.5882 GB, free: 372 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.842e-05/0.5029, allocations: 7.984 kB / 0.5882 GB, free: 364 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.503, allocations: 4.188 kB / 0.5882 GB, free: 360 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.503, allocations: 4 kB / 0.5882 GB, free: 356 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001618/0.5031, allocations: 192.2 kB / 0.5884 GB, free: 164 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002288/0.5034, allocations: 23.98 kB / 0.5884 GB, free: 140 kB / 394.7 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.0007093/0.5041, allocations: 313.1 kB / 0.5887 GB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.5042, allocations: 39.94 kB / 0.5887 GB, free: 15.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5042, allocations: 0 / 0.5887 GB, free: 15.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.185e-05/0.5043, allocations: 16 kB / 0.5887 GB, free: 15.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.5045, allocations: 27.75 kB / 0.5888 GB, free: 15.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004673/0.505, allocations: 195.6 kB / 0.5889 GB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003299/0.5054, allocations: 0.7345 MB / 0.5897 GB, free: 14.84 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5054, allocations: 4 kB / 0.5897 GB, free: 14.83 MB / 410.7 MB Notification: Performance of Templates: time 0.004179/0.5096, allocations: 1.519 MB / 0.5912 GB, free: 13.33 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches