Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57") [: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.003421/0.003421, allocations: 187 kB / 7.459 MB, free: 2.512 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.363/1.363, allocations: 194.2 MB / 202.1 MB, free: 8.656 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.001759/0.001759, allocations: 120.6 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.1692/0.1692, allocations: 39.94 MB / 331.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.007e-05/1.01e-05, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09747/0.09749, allocations: 54.87 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2872/0.3848, allocations: 81.58 MB / 0.5168 GB, free: 10.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/0.3852, allocations: 69.48 kB / 0.5169 GB, free: 10.21 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.01845/0.4037, allocations: 6.598 MB / 0.5233 GB, free: 8.742 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.4037, allocations: 1.25 kB / 0.5233 GB, free: 8.742 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.0004807/0.4042, allocations: 479.3 kB / 0.5238 GB, free: 8.266 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.4042, allocations: 9.312 kB / 0.5238 GB, free: 8.266 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.501e-05/0.4043, allocations: 12.06 kB / 0.5238 GB, free: 8.258 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.4045, allocations: 209.5 kB / 0.524 GB, free: 8.039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.4045, allocations: 1.375 kB / 0.524 GB, free: 8.039 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.4046, allocations: 7.5 kB / 0.524 GB, free: 8.035 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.338e-05/0.4046, allocations: 14.38 kB / 0.524 GB, free: 8.035 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.511e-05/0.4047, allocations: 71.86 kB / 0.5241 GB, free: 7.977 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.4048, allocations: 1.312 kB / 0.5241 GB, free: 7.977 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.4048, allocations: 0 / 0.5241 GB, free: 7.977 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.4048, allocations: 1.344 kB / 0.5241 GB, free: 7.977 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003084/0.4051, allocations: 276.4 kB / 0.5244 GB, free: 7.711 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.658e-05/0.4052, allocations: 46.48 kB / 0.5244 GB, free: 7.688 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.672e-05/0.4053, allocations: 25.03 kB / 0.5244 GB, free: 7.672 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.4053, allocations: 1.125 kB / 0.5244 GB, free: 7.672 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.465e-05/0.4054, allocations: 73.75 kB / 0.5245 GB, free: 7.609 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.4054, allocations: 0 / 0.5245 GB, free: 7.609 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004008/0.4058, allocations: 133.1 kB / 0.5246 GB, free: 7.547 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.4058, allocations: 78.45 kB / 0.5247 GB, free: 7.453 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.4059, allocations: 136 kB / 0.5248 GB, free: 7.352 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.4059, allocations: 26.58 kB / 0.5249 GB, free: 7.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.453e-05/0.406, allocations: 90.33 kB / 0.525 GB, free: 7.234 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.406, allocations: 27.52 kB / 0.525 GB, free: 7.215 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-06/0.406, allocations: 5 kB / 0.525 GB, free: 7.211 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.67e-05/0.4061, allocations: 323.7 kB / 0.5253 GB, free: 6.895 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.786e-05/0.4061, allocations: 26.22 kB / 0.5253 GB, free: 6.895 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.446e-05/0.4062, allocations: 50.61 kB / 0.5254 GB, free: 6.867 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.002e-05/0.4062, allocations: 29.92 kB / 0.5254 GB, free: 6.863 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4062, allocations: 0 / 0.5254 GB, free: 6.863 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001746/0.4064, allocations: 119.2 kB / 0.5255 GB, free: 6.816 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.4064, allocations: 16.81 kB / 0.5255 GB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4065, allocations: 1.094 kB / 0.5255 GB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.4065, allocations: 1 kB / 0.5255 GB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.676e-05/0.4066, allocations: 20.58 kB / 0.5256 GB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.4066, allocations: 1.344 kB / 0.5256 GB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.288e-05/0.4066, allocations: 5.938 kB / 0.5256 GB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.4067, allocations: 4.156 kB / 0.5256 GB, free: 6.797 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.39e-05/0.4067, allocations: 108.1 kB / 0.5257 GB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/0.4067, allocations: 12.06 kB / 0.5257 GB, free: 6.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.4069, allocations: 99.61 kB / 0.5258 GB, free: 6.633 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4069, allocations: 2.25 kB / 0.5258 GB, free: 6.633 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.407, allocations: 0 / 0.5258 GB, free: 6.633 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.407, allocations: 8.844 kB / 0.5258 GB, free: 6.625 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.4073, allocations: 361.3 kB / 0.5261 GB, free: 6.316 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4073, allocations: 1.344 kB / 0.5261 GB, free: 6.316 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.395e-05/0.4073, allocations: 12.53 kB / 0.5261 GB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.4073, allocations: 9.016 kB / 0.5261 GB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.4073, allocations: 1.094 kB / 0.5261 GB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.4074, allocations: 1.344 kB / 0.5262 GB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4074, allocations: 1.219 kB / 0.5262 GB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001431/0.4075, allocations: 208.8 kB / 0.5264 GB, free: 6.133 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/0.4076, allocations: 97.56 kB / 0.5264 GB, free: 6.031 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.4076, allocations: 8.953 kB / 0.5265 GB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-05/0.4077, allocations: 2.438 kB / 0.5265 GB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.4077, allocations: 7.234 kB / 0.5265 GB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-06/0.4077, allocations: 3.594 kB / 0.5265 GB, free: 6.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.61e-05/0.4078, allocations: 116.2 kB / 0.5266 GB, free: 5.934 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002921/0.4081, allocations: 46.89 kB / 0.5266 GB, free: 5.918 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.0007154/0.4088, allocations: 385.6 kB / 0.527 GB, free: 5.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00017/0.409, allocations: 101.2 kB / 0.5271 GB, free: 5.641 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.409, allocations: 5.156 kB / 0.5271 GB, free: 5.637 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.141e-05/0.4091, allocations: 29.59 kB / 0.5271 GB, free: 5.633 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.4093, allocations: 22.95 kB / 0.5271 GB, free: 5.625 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.4096, allocations: 128 kB / 0.5273 GB, free: 5.523 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.4098, allocations: 0.7217 MB / 0.528 GB, free: 4.801 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4098, allocations: 1.281 kB / 0.528 GB, free: 4.801 MB / 346.7 MB Notification: Performance of Templates: time 0.004125/0.4139, allocations: 1.907 MB / 0.5298 GB, free: 3.836 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1)