Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47") [: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.003833/0.003833, allocations: 185.7 kB / 7.458 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.369/1.369, allocations: 194.2 MB / 202.1 MB, free: 8.75 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.001706/0.001706, allocations: 122.8 kB / 247.1 MB, free: 6.266 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.1671/0.1671, allocations: 39.94 MB / 331.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.947e-06/8.977e-06, allocations: 4 kB / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09257/0.09259, allocations: 54.87 MB / 447.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2883/0.381, allocations: 81.32 MB / 0.5166 GB, free: 10.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/0.3812, allocations: 70.56 kB / 0.5166 GB, free: 10.35 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.01294/0.3942, allocations: 4.487 MB / 0.521 GB, free: 9.477 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.3942, allocations: 6.156 kB / 0.521 GB, free: 9.473 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.0004789/0.3947, allocations: 469.1 kB / 0.5215 GB, free: 9.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.3948, allocations: 8.969 kB / 0.5215 GB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.944e-05/0.3949, allocations: 14.25 kB / 0.5215 GB, free: 8.996 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003801/0.3952, allocations: 231.7 kB / 0.5217 GB, free: 8.766 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.3953, allocations: 1.125 kB / 0.5217 GB, free: 8.766 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.3953, allocations: 4.656 kB / 0.5217 GB, free: 8.766 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.9e-05/0.3954, allocations: 18.09 kB / 0.5217 GB, free: 8.766 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.929e-05/0.3955, allocations: 54.52 kB / 0.5218 GB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3955, allocations: 0 / 0.5218 GB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.3956, allocations: 0 / 0.5218 GB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.3956, allocations: 1.969 kB / 0.5218 GB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.396, allocations: 314.5 kB / 0.5221 GB, free: 8.449 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.3962, allocations: 47.91 kB / 0.5221 GB, free: 8.422 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.61e-05/0.3962, allocations: 24.27 kB / 0.5222 GB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.3962, allocations: 0 / 0.5222 GB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.823e-05/0.3963, allocations: 63.98 kB / 0.5222 GB, free: 8.355 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.3964, allocations: 4 kB / 0.5222 GB, free: 8.352 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005213/0.3969, allocations: 149.8 kB / 0.5224 GB, free: 8.277 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.3969, allocations: 56.66 kB / 0.5224 GB, free: 8.211 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.3972, allocations: 219.5 kB / 0.5226 GB, free: 8.102 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.3972, allocations: 27.73 kB / 0.5227 GB, free: 8.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.3973, allocations: 100.4 kB / 0.5228 GB, free: 7.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.3973, allocations: 28.14 kB / 0.5228 GB, free: 7.961 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-06/0.3974, allocations: 1.625 kB / 0.5228 GB, free: 7.961 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.44e-05/0.3974, allocations: 329.7 kB / 0.5231 GB, free: 7.641 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.687e-05/0.3975, allocations: 31.19 kB / 0.5231 GB, free: 7.641 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.341e-05/0.3976, allocations: 53.02 kB / 0.5232 GB, free: 7.617 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.422e-05/0.3977, allocations: 41.3 kB / 0.5232 GB, free: 7.609 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3977, allocations: 0 / 0.5232 GB, free: 7.609 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000238/0.398, allocations: 136.5 kB / 0.5234 GB, free: 7.559 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.398, allocations: 5.406 kB / 0.5234 GB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.398, allocations: 0 / 0.5234 GB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.398, allocations: 5.312 kB / 0.5234 GB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.486e-05/0.3981, allocations: 21.86 kB / 0.5234 GB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3981, allocations: 1.562 kB / 0.5234 GB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.275e-05/0.3982, allocations: 3.156 kB / 0.5234 GB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.3982, allocations: 4.25 kB / 0.5234 GB, free: 7.547 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.784e-05/0.3983, allocations: 112 kB / 0.5235 GB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.3983, allocations: 13.47 kB / 0.5235 GB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.3985, allocations: 107.3 kB / 0.5236 GB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3985, allocations: 5.125 kB / 0.5236 GB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.3985, allocations: 1.031 kB / 0.5236 GB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3985, allocations: 0 / 0.5236 GB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003466/0.3989, allocations: 394.9 kB / 0.524 GB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3989, allocations: 4 kB / 0.524 GB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.359e-05/0.399, allocations: 9.594 kB / 0.524 GB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.399, allocations: 0.875 kB / 0.524 GB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.399, allocations: 6.031 kB / 0.524 GB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.399, allocations: 4.031 kB / 0.524 GB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.399, allocations: 0.9688 kB / 0.524 GB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001734/0.3992, allocations: 218.6 kB / 0.5242 GB, free: 6.875 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.597e-05/0.3993, allocations: 107.7 kB / 0.5243 GB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.3993, allocations: 2.344 kB / 0.5243 GB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.609e-05/0.3994, allocations: 6.062 kB / 0.5243 GB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.3994, allocations: 7.359 kB / 0.5243 GB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.3995, allocations: 3.062 kB / 0.5244 GB, free: 6.758 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001718/0.3996, allocations: 187 kB / 0.5245 GB, free: 6.664 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003338/0.4, allocations: 35.41 kB / 0.5246 GB, free: 6.656 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.0007964/0.4008, allocations: 333.3 kB / 0.5249 GB, free: 6.445 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.401, allocations: 115.5 kB / 0.525 GB, free: 6.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.401, allocations: 0 / 0.525 GB, free: 6.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.328e-05/0.401, allocations: 29.19 kB / 0.525 GB, free: 6.406 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.4013, allocations: 21.39 kB / 0.525 GB, free: 6.395 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/0.4018, allocations: 220.9 kB / 0.5253 GB, free: 6.266 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.402, allocations: 0.7429 MB / 0.526 GB, free: 5.539 MB / 346.7 MB Notification: Performance of SimCode: time 2.8e-07/0.402, allocations: 0 / 0.526 GB, free: 5.539 MB / 346.7 MB Notification: Performance of Templates: time 0.004452/0.4064, allocations: 1.782 MB / 0.5277 GB, free: 4.656 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1)