Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") [: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.001032/0.001032, allocations: 183.8 kB / 8.516 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.276/1.276, allocations: 221.4 MB / 230.3 MB, free: 13.57 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.0009119/0.0009118, allocations: 87.06 kB / 281.2 MB, free: 10.54 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.1835/0.1835, allocations: 44.14 MB / 376.1 MB, free: 11.66 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 1.298e-05/1.302e-05, allocations: 4 kB / 444 MB, free: 54.37 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1316, allocations: 61.9 MB / 0.4941 GB, free: 8.398 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3421/0.4738, allocations: 88.31 MB / 0.5803 GB, free: 10.55 MB / 402.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/0.4741, allocations: 71.97 kB / 0.5804 GB, free: 10.48 MB / 402.8 MB Notification: Performance of FrontEnd: time 0.01486/0.489, allocations: 5.337 MB / 0.5856 GB, free: 5.16 MB / 402.8 MB Notification: Performance of Transformations before backend: time 1.799e-05/0.4891, allocations: 4 kB / 0.5856 GB, free: 5.156 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.0004981/0.4896, allocations: 398.1 kB / 0.586 GB, free: 4.723 MB / 402.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.4896, allocations: 17.2 kB / 0.586 GB, free: 4.707 MB / 402.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.453e-05/0.4897, allocations: 16.56 kB / 0.586 GB, free: 4.691 MB / 402.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003797/0.4901, allocations: 234.1 kB / 0.5862 GB, free: 4.422 MB / 402.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.4901, allocations: 4 kB / 0.5862 GB, free: 4.418 MB / 402.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.4902, allocations: 0 / 0.5862 GB, free: 4.418 MB / 402.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.461e-05/0.4902, allocations: 12 kB / 0.5863 GB, free: 4.406 MB / 402.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.905e-05/0.4903, allocations: 53.58 kB / 0.5863 GB, free: 4.348 MB / 402.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.4903, allocations: 4 kB / 0.5863 GB, free: 4.344 MB / 402.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.4904, allocations: 0 / 0.5863 GB, free: 4.344 MB / 402.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.4904, allocations: 3.938 kB / 0.5863 GB, free: 4.34 MB / 402.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/0.4906, allocations: 166.2 kB / 0.5865 GB, free: 4.141 MB / 402.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.4907, allocations: 50.56 kB / 0.5865 GB, free: 4.082 MB / 402.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.879e-05/0.4908, allocations: 20.94 kB / 0.5865 GB, free: 4.059 MB / 402.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.4908, allocations: 0 / 0.5865 GB, free: 4.059 MB / 402.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.105e-05/0.4909, allocations: 59.41 kB / 0.5866 GB, free: 3.988 MB / 402.8 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.4909, allocations: 0 / 0.5866 GB, free: 3.988 MB / 402.8 MB Notification: Performance of matching and sorting (n=5): time 0.0002015/0.4911, allocations: 73.5 kB / 0.5867 GB, free: 3.91 MB / 402.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.4911, allocations: 51.41 kB / 0.5867 GB, free: 3.848 MB / 402.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.4914, allocations: 225.9 kB / 0.5869 GB, free: 3.617 MB / 402.8 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.4914, allocations: 25.7 kB / 0.587 GB, free: 3.586 MB / 402.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.918e-05/0.4915, allocations: 92.12 kB / 0.587 GB, free: 3.492 MB / 402.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.4915, allocations: 19.89 kB / 0.5871 GB, free: 3.473 MB / 402.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.4915, allocations: 0 / 0.5871 GB, free: 3.473 MB / 402.8 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.4917, allocations: 326.8 kB / 0.5874 GB, free: 3.145 MB / 402.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.037e-05/0.4917, allocations: 15.94 kB / 0.5874 GB, free: 3.129 MB / 402.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.506e-05/0.4918, allocations: 21.72 kB / 0.5874 GB, free: 3.102 MB / 402.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.519e-05/0.4918, allocations: 15.98 kB / 0.5874 GB, free: 3.086 MB / 402.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4918, allocations: 0 / 0.5874 GB, free: 3.086 MB / 402.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001319/0.492, allocations: 85.62 kB / 0.5875 GB, free: 2.996 MB / 402.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.492, allocations: 4 kB / 0.5875 GB, free: 2.992 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.492, allocations: 4 kB / 0.5875 GB, free: 2.988 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.492, allocations: 3.906 kB / 0.5875 GB, free: 2.984 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.6e-05/0.4921, allocations: 19.92 kB / 0.5875 GB, free: 2.965 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.4921, allocations: 0 / 0.5875 GB, free: 2.965 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.966e-05/0.4922, allocations: 3.938 kB / 0.5875 GB, free: 2.961 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.4922, allocations: 4 kB / 0.5875 GB, free: 2.957 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 7.587e-05/0.4923, allocations: 109 kB / 0.5877 GB, free: 2.844 MB / 402.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.4923, allocations: 15.84 kB / 0.5877 GB, free: 2.828 MB / 402.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/0.4925, allocations: 86.86 kB / 0.5877 GB, free: 2.738 MB / 402.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.4925, allocations: 11.89 kB / 0.5878 GB, free: 2.727 MB / 402.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4925, allocations: 3.938 kB / 0.5878 GB, free: 2.723 MB / 402.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4925, allocations: 0 / 0.5878 GB, free: 2.723 MB / 402.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.4926, allocations: 178.2 kB / 0.5879 GB, free: 2.512 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4927, allocations: 0 / 0.5879 GB, free: 2.512 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.733e-05/0.4927, allocations: 4 kB / 0.5879 GB, free: 2.508 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.4927, allocations: 4 kB / 0.5879 GB, free: 2.504 MB / 402.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.4927, allocations: 0 / 0.5879 GB, free: 2.504 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4927, allocations: 4 kB / 0.5879 GB, free: 2.5 MB / 402.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.4927, allocations: 7.891 kB / 0.588 GB, free: 2.492 MB / 402.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001291/0.4929, allocations: 100.9 kB / 0.588 GB, free: 2.375 MB / 402.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.329e-05/0.4929, allocations: 100.9 kB / 0.5881 GB, free: 2.258 MB / 402.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.493, allocations: 7.922 kB / 0.5882 GB, free: 2.25 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.717e-05/0.493, allocations: 4 kB / 0.5882 GB, free: 2.246 MB / 402.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.4931, allocations: 0 / 0.5882 GB, free: 2.246 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.4931, allocations: 12 kB / 0.5882 GB, free: 2.234 MB / 402.8 MB Notification: Performance of sort global known variables: time 0.0001667/0.4933, allocations: 188.2 kB / 0.5883 GB, free: 2.051 MB / 402.8 MB Notification: Performance of remove unused functions: time 0.0002484/0.4935, allocations: 28 kB / 0.5884 GB, free: 2.023 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.0006499/0.4942, allocations: 307.6 kB / 0.5887 GB, free: 1.801 MB / 402.8 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.4943, allocations: 32 kB / 0.5887 GB, free: 1.77 MB / 402.8 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4943, allocations: 0 / 0.5887 GB, free: 1.77 MB / 402.8 MB Notification: Performance of simCode: created simulation system equations: time 5.032e-05/0.4944, allocations: 31.98 kB / 0.5887 GB, free: 1.738 MB / 402.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.4946, allocations: 27.7 kB / 0.5888 GB, free: 1.711 MB / 402.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000441/0.4951, allocations: 199.6 kB / 0.5889 GB, free: 1.488 MB / 402.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/0.4954, allocations: 0.7305 MB / 0.5897 GB, free: 0.7344 MB / 402.8 MB Notification: Performance of SimCode: time 2.5e-07/0.4954, allocations: 0 / 0.5897 GB, free: 0.7344 MB / 402.8 MB Notification: Performance of Templates: time 0.004227/0.4997, allocations: 1.524 MB / 0.5911 GB, free: 15.22 MB / 418.8 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches