Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2") [: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.00332/0.00332, allocations: 180.3 kB / 7.456 MB, free: 2.504 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.259/1.259, allocations: 194.2 MB / 202.1 MB, free: 8.664 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.001677/0.001677, allocations: 118.3 kB / 247.1 MB, free: 6.402 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.1853/0.1853, allocations: 39.93 MB / 331.9 MB, free: 4.957 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.676e-06/8.716e-06, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1139, allocations: 54.88 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3699/0.4838, allocations: 81.28 MB / 0.5165 GB, free: 10.31 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.4841, allocations: 70.69 kB / 0.5166 GB, free: 10.31 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.01236/0.4965, allocations: 3.989 MB / 0.5205 GB, free: 9.648 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.4965, allocations: 5.375 kB / 0.5205 GB, free: 9.645 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.0004533/0.497, allocations: 446.6 kB / 0.5209 GB, free: 9.188 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.4971, allocations: 13.06 kB / 0.5209 GB, free: 9.184 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.428e-05/0.4971, allocations: 11.91 kB / 0.521 GB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.4974, allocations: 206 kB / 0.5212 GB, free: 8.961 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.4974, allocations: 5.188 kB / 0.5212 GB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.4975, allocations: 3.969 kB / 0.5212 GB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.363e-05/0.4976, allocations: 15.12 kB / 0.5212 GB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.17e-05/0.4977, allocations: 53.67 kB / 0.5212 GB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.4977, allocations: 0 / 0.5212 GB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.4977, allocations: 4 kB / 0.5212 GB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4977, allocations: 1.312 kB / 0.5212 GB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.4981, allocations: 286.1 kB / 0.5215 GB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.4982, allocations: 64.02 kB / 0.5216 GB, free: 8.609 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.442e-05/0.4983, allocations: 17.2 kB / 0.5216 GB, free: 8.602 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.4983, allocations: 4 kB / 0.5216 GB, free: 8.598 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.919e-05/0.4984, allocations: 62.45 kB / 0.5216 GB, free: 8.543 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.4984, allocations: 0 / 0.5216 GB, free: 8.543 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000457/0.4989, allocations: 133.1 kB / 0.5218 GB, free: 8.484 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.4989, allocations: 52.41 kB / 0.5218 GB, free: 8.422 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.499, allocations: 144.7 kB / 0.522 GB, free: 8.316 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.4991, allocations: 35.25 kB / 0.522 GB, free: 8.281 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.4991, allocations: 90.73 kB / 0.5221 GB, free: 8.195 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.4992, allocations: 28.17 kB / 0.5221 GB, free: 8.176 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-06/0.4992, allocations: 1.375 kB / 0.5221 GB, free: 8.176 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.326e-05/0.4992, allocations: 321.6 kB / 0.5224 GB, free: 7.859 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.648e-05/0.4993, allocations: 28.22 kB / 0.5224 GB, free: 7.859 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.69e-05/0.4994, allocations: 52.03 kB / 0.5225 GB, free: 7.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.194e-05/0.4995, allocations: 33.36 kB / 0.5225 GB, free: 7.836 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4995, allocations: 0 / 0.5225 GB, free: 7.836 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002481/0.4998, allocations: 149.3 kB / 0.5227 GB, free: 7.773 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.4998, allocations: 5.125 kB / 0.5227 GB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.4998, allocations: 1.5 kB / 0.5227 GB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.4998, allocations: 0 / 0.5227 GB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.4999, allocations: 17.62 kB / 0.5227 GB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4999, allocations: 1.188 kB / 0.5227 GB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.658e-05/0.5, allocations: 7.703 kB / 0.5227 GB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.5, allocations: 3.875 kB / 0.5227 GB, free: 7.766 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 6.724e-05/0.5001, allocations: 112.6 kB / 0.5228 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.5001, allocations: 12.78 kB / 0.5228 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.5003, allocations: 107.3 kB / 0.5229 GB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.5004, allocations: 5.484 kB / 0.5229 GB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.5004, allocations: 1.5 kB / 0.5229 GB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5004, allocations: 0 / 0.5229 GB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003326/0.5007, allocations: 355 kB / 0.5233 GB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.5007, allocations: 4.031 kB / 0.5233 GB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.937e-05/0.5008, allocations: 16.67 kB / 0.5233 GB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.5008, allocations: 1.312 kB / 0.5233 GB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.5008, allocations: 2.188 kB / 0.5233 GB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.5008, allocations: 1.062 kB / 0.5233 GB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5008, allocations: 0 / 0.5233 GB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001877/0.501, allocations: 211.5 kB / 0.5235 GB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/0.5011, allocations: 93.69 kB / 0.5236 GB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.5011, allocations: 5.75 kB / 0.5236 GB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.166e-05/0.5012, allocations: 2.125 kB / 0.5236 GB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.5013, allocations: 10.72 kB / 0.5236 GB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.5013, allocations: 6.281 kB / 0.5236 GB, free: 6.988 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.723e-05/0.5014, allocations: 112.7 kB / 0.5237 GB, free: 6.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003106/0.5017, allocations: 34.27 kB / 0.5237 GB, free: 6.898 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.0007626/0.5025, allocations: 324.5 kB / 0.5241 GB, free: 6.695 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002135/0.5027, allocations: 118 kB / 0.5242 GB, free: 6.656 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5027, allocations: 0 / 0.5242 GB, free: 6.656 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.601e-05/0.5028, allocations: 30.62 kB / 0.5242 GB, free: 6.652 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.503, allocations: 19.73 kB / 0.5242 GB, free: 6.645 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.5034, allocations: 141.2 kB / 0.5244 GB, free: 6.539 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/0.5036, allocations: 0.7212 MB / 0.5251 GB, free: 5.816 MB / 346.7 MB Notification: Performance of SimCode: time 4.41e-07/0.5036, allocations: 3.938 kB / 0.5251 GB, free: 5.812 MB / 346.7 MB Notification: Performance of Templates: time 0.004445/0.5081, allocations: 1.621 MB / 0.5266 GB, free: 5.008 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1)