Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,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.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,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.Test84") [: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.001059/0.001059, allocations: 174.8 kB / 8.518 MB, free: 1.828 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.324/1.324, allocations: 221.4 MB / 230.3 MB, free: 7.723 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.001115/0.001115, allocations: 84.73 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.1669/0.1669, allocations: 44.14 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.336e-06/8.366e-06, allocations: 4.219 kB / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1008, allocations: 61.91 MB / 0.4941 GB, free: 1.621 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2845/0.3854, allocations: 88.75 MB / 0.5808 GB, free: 7.957 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/0.3857, allocations: 71.45 kB / 0.5808 GB, free: 7.922 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02114/0.4068, allocations: 7.599 MB / 0.5883 GB, free: 368 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.4069, allocations: 3.938 kB / 0.5883 GB, free: 364 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.000556/0.4074, allocations: 422.1 kB / 0.5887 GB, free: 15.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.4075, allocations: 13.22 kB / 0.5887 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.829e-05/0.4075, allocations: 7.906 kB / 0.5887 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.4079, allocations: 202.9 kB / 0.5889 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.4079, allocations: 4 kB / 0.5889 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.4079, allocations: 0 / 0.5889 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.331e-05/0.408, allocations: 20 kB / 0.5889 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.4082, allocations: 71.23 kB / 0.589 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.4082, allocations: 4 kB / 0.589 GB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.4082, allocations: 4 kB / 0.589 GB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.4082, allocations: 4 kB / 0.589 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.4086, allocations: 261.4 kB / 0.5892 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.4087, allocations: 54.62 kB / 0.5893 GB, free: 15.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.852e-05/0.4088, allocations: 16.98 kB / 0.5893 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.4088, allocations: 4 kB / 0.5893 GB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.487e-05/0.4089, allocations: 63.33 kB / 0.5894 GB, free: 15.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.4089, allocations: 0 / 0.5894 GB, free: 15.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003922/0.4093, allocations: 125.4 kB / 0.5895 GB, free: 14.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.4094, allocations: 81.05 kB / 0.5896 GB, free: 14.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.4095, allocations: 147.4 kB / 0.5897 GB, free: 14.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.4095, allocations: 25.7 kB / 0.5897 GB, free: 14.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.69e-05/0.4096, allocations: 96.12 kB / 0.5898 GB, free: 14.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.4096, allocations: 27.64 kB / 0.5898 GB, free: 14.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.4096, allocations: 0 / 0.5898 GB, free: 14.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.4097, allocations: 314.8 kB / 0.5901 GB, free: 14.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.497e-05/0.4098, allocations: 16 kB / 0.5902 GB, free: 14.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.514e-05/0.4098, allocations: 42.56 kB / 0.5902 GB, free: 14.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.23e-05/0.4099, allocations: 19.98 kB / 0.5902 GB, free: 14.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.4099, allocations: 4.031 kB / 0.5902 GB, free: 14.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001376/0.41, allocations: 93.53 kB / 0.5903 GB, free: 14.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.41, allocations: 6.344 kB / 0.5903 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.4101, allocations: 0 / 0.5903 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.4101, allocations: 0 / 0.5903 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.822e-05/0.4102, allocations: 24.08 kB / 0.5903 GB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.4102, allocations: 0 / 0.5903 GB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.86e-05/0.4102, allocations: 3.938 kB / 0.5903 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.4103, allocations: 4 kB / 0.5904 GB, free: 14 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 7.563e-05/0.4103, allocations: 116.9 kB / 0.5905 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.4104, allocations: 7.906 kB / 0.5905 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001903/0.4106, allocations: 102.1 kB / 0.5906 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.4106, allocations: 0 / 0.5906 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4106, allocations: 0 / 0.5906 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.4106, allocations: 0 / 0.5906 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000368/0.411, allocations: 367.8 kB / 0.5909 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.411, allocations: 0 / 0.5909 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.411, allocations: 15.92 kB / 0.5909 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.411, allocations: 0 / 0.5909 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.411, allocations: 4 kB / 0.5909 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4111, allocations: 192 / 0.5909 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4111, allocations: 4 kB / 0.5909 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001761/0.4112, allocations: 209.9 kB / 0.5911 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.882e-05/0.4113, allocations: 96.94 kB / 0.5912 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.4113, allocations: 0 / 0.5912 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.288e-05/0.4114, allocations: 4 kB / 0.5912 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.4115, allocations: 7.891 kB / 0.5912 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.4115, allocations: 4 kB / 0.5912 GB, free: 12.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.844e-05/0.4116, allocations: 121.7 kB / 0.5914 GB, free: 12.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000277/0.4118, allocations: 39.92 kB / 0.5914 GB, free: 12.82 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.0007536/0.4126, allocations: 393.8 kB / 0.5918 GB, free: 12.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.4127, allocations: 47.94 kB / 0.5918 GB, free: 12.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.4128, allocations: 0 / 0.5918 GB, free: 12.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.692e-05/0.4128, allocations: 35.92 kB / 0.5919 GB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.4131, allocations: 19.98 kB / 0.5919 GB, free: 12.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/0.4134, allocations: 128.7 kB / 0.592 GB, free: 12.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003198/0.4138, allocations: 0.7232 MB / 0.5927 GB, free: 11.5 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4138, allocations: 0 / 0.5927 GB, free: 11.5 MB / 410.7 MB Notification: Performance of Templates: time 0.004094/0.4179, allocations: 1.835 MB / 0.5945 GB, free: 9.68 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1)