Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17") [: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 3.2.2+maint.om/package.mo): time 0.003083/0.003083, allocations: 181 kB / 7.457 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.362/1.362, allocations: 194.2 MB / 202.1 MB, free: 8.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001833/0.001834, allocations: 118.7 kB / 247.1 MB, free: 6.344 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1658/0.1658, allocations: 39.94 MB / 331.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.716e-06/8.746e-06, allocations: 8 kB / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09548/0.0955, allocations: 54.87 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2844/0.38, allocations: 81.32 MB / 0.5166 GB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001686/0.3802, allocations: 69.09 kB / 0.5166 GB, free: 10.34 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd: time 0.01175/0.3919, allocations: 4.135 MB / 0.5207 GB, free: 9.613 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.392, allocations: 5.25 kB / 0.5207 GB, free: 9.609 MB / 346.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.0003805/0.3924, allocations: 452.3 kB / 0.5211 GB, free: 9.145 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.3924, allocations: 12.94 kB / 0.5211 GB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.3925, allocations: 12.77 kB / 0.5211 GB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.3927, allocations: 210.2 kB / 0.5213 GB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.3927, allocations: 1.594 kB / 0.5213 GB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.3928, allocations: 4.5 kB / 0.5213 GB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.228e-05/0.3928, allocations: 25.73 kB / 0.5214 GB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.74e-05/0.3929, allocations: 53.2 kB / 0.5214 GB, free: 8.867 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3929, allocations: 3.906 kB / 0.5214 GB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.393, allocations: 1.031 kB / 0.5214 GB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.393, allocations: 1.188 kB / 0.5214 GB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/0.3933, allocations: 288.5 kB / 0.5217 GB, free: 8.598 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.362e-05/0.3934, allocations: 57.33 kB / 0.5218 GB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.464e-05/0.3934, allocations: 17.23 kB / 0.5218 GB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.3934, allocations: 1.281 kB / 0.5218 GB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.245e-05/0.3935, allocations: 58.03 kB / 0.5218 GB, free: 8.504 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.3935, allocations: 0 / 0.5218 GB, free: 8.504 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003741/0.3939, allocations: 146 kB / 0.522 GB, free: 8.438 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.726e-05/0.3939, allocations: 53 kB / 0.522 GB, free: 8.375 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.394, allocations: 154.6 kB / 0.5222 GB, free: 8.266 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.3941, allocations: 30.77 kB / 0.5222 GB, free: 8.234 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.923e-05/0.3941, allocations: 92.09 kB / 0.5223 GB, free: 8.148 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.3941, allocations: 26.05 kB / 0.5223 GB, free: 8.129 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.166e-06/0.3941, allocations: 2.406 kB / 0.5223 GB, free: 8.129 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.747e-05/0.3942, allocations: 324.2 kB / 0.5226 GB, free: 7.809 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.014e-05/0.3943, allocations: 34.62 kB / 0.5227 GB, free: 7.805 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.433e-05/0.3943, allocations: 52.81 kB / 0.5227 GB, free: 7.785 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.755e-05/0.3944, allocations: 41.62 kB / 0.5227 GB, free: 7.777 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3944, allocations: 0 / 0.5227 GB, free: 7.777 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001942/0.3946, allocations: 130 kB / 0.5229 GB, free: 7.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.3946, allocations: 4.781 kB / 0.5229 GB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3946, allocations: 1.125 kB / 0.5229 GB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.3947, allocations: 1.031 kB / 0.5229 GB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.253e-05/0.3948, allocations: 12.69 kB / 0.5229 GB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.3948, allocations: 5.219 kB / 0.5229 GB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.804e-05/0.3948, allocations: 15.7 kB / 0.5229 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.3949, allocations: 11.97 kB / 0.5229 GB, free: 7.711 MB / 346.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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 5.59e-05/0.3949, allocations: 104.9 kB / 0.523 GB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.3949, allocations: 7.75 kB / 0.523 GB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001884/0.3951, allocations: 113.7 kB / 0.5231 GB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3952, allocations: 5.438 kB / 0.5231 GB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3952, allocations: 0 / 0.5231 GB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3952, allocations: 0.5938 kB / 0.5231 GB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.3955, allocations: 365.7 kB / 0.5235 GB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3955, allocations: 0.75 kB / 0.5235 GB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.466e-05/0.3955, allocations: 11.06 kB / 0.5235 GB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3955, allocations: 1.375 kB / 0.5235 GB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.3956, allocations: 1.219 kB / 0.5235 GB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3956, allocations: 1.25 kB / 0.5235 GB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3956, allocations: 1.375 kB / 0.5235 GB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001619/0.3957, allocations: 208.2 kB / 0.5237 GB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/0.3958, allocations: 95.62 kB / 0.5238 GB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.3958, allocations: 1.438 kB / 0.5238 GB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.036e-05/0.3959, allocations: 6.797 kB / 0.5238 GB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.396, allocations: 9.25 kB / 0.5238 GB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.396, allocations: 4.125 kB / 0.5238 GB, free: 6.938 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.053e-05/0.3961, allocations: 127.7 kB / 0.5239 GB, free: 6.852 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002753/0.3963, allocations: 36.69 kB / 0.524 GB, free: 6.84 MB / 346.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.000617/0.397, allocations: 330.3 kB / 0.5243 GB, free: 6.633 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.3971, allocations: 110.2 kB / 0.5244 GB, free: 6.602 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3972, allocations: 0 / 0.5244 GB, free: 6.602 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.358e-05/0.3972, allocations: 31.19 kB / 0.5244 GB, free: 6.598 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.3975, allocations: 21.28 kB / 0.5244 GB, free: 6.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003156/0.3978, allocations: 147.1 kB / 0.5246 GB, free: 6.488 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.398, allocations: 0.7228 MB / 0.5253 GB, free: 5.766 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.398, allocations: 5.312 kB / 0.5253 GB, free: 5.762 MB / 346.7 MB Notification: Performance of Templates: time 0.003831/0.4018, allocations: 1.653 MB / 0.5269 GB, free: 4.926 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1)