Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37") [: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.004416/0.004416, 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.382/1.382, allocations: 194.2 MB / 202.1 MB, free: 8.746 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.001692/0.001692, allocations: 122.5 kB / 247.1 MB, free: 6.332 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.1634/0.1634, allocations: 39.94 MB / 331.9 MB, free: 4.98 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.396e-06/8.416e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09747/0.09749, allocations: 54.87 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2892/0.3867, allocations: 81.15 MB / 0.5164 GB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/0.387, allocations: 73.45 kB / 0.5165 GB, free: 10.36 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.01128/0.3983, allocations: 4.02 MB / 0.5204 GB, free: 9.672 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.3983, allocations: 1.312 kB / 0.5204 GB, free: 9.672 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003586/0.3987, allocations: 452 kB / 0.5208 GB, free: 9.207 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3987, allocations: 9.094 kB / 0.5208 GB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.3987, allocations: 9.375 kB / 0.5209 GB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.399, allocations: 205.2 kB / 0.5211 GB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.399, allocations: 0 / 0.5211 GB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.399, allocations: 4.406 kB / 0.5211 GB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.845e-05/0.3991, allocations: 16.72 kB / 0.5211 GB, free: 8.988 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.362e-05/0.3992, allocations: 51.83 kB / 0.5211 GB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3992, allocations: 0 / 0.5211 GB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.3992, allocations: 9.266 kB / 0.5211 GB, free: 8.938 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-06/0.3992, allocations: 0 / 0.5211 GB, free: 8.938 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.3994, allocations: 177.7 kB / 0.5213 GB, free: 8.758 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.522e-05/0.3995, allocations: 48.19 kB / 0.5213 GB, free: 8.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.384e-05/0.3995, allocations: 21.36 kB / 0.5214 GB, free: 8.719 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.3996, allocations: 0 / 0.5214 GB, free: 8.719 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.261e-05/0.3996, allocations: 70.97 kB / 0.5214 GB, free: 8.656 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.3996, allocations: 0 / 0.5214 GB, free: 8.656 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001562/0.3998, allocations: 68.73 kB / 0.5215 GB, free: 8.613 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.918e-05/0.3998, allocations: 56.31 kB / 0.5216 GB, free: 8.551 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.4, allocations: 155.6 kB / 0.5217 GB, free: 8.453 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.4, allocations: 28.83 kB / 0.5217 GB, free: 8.422 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.88e-05/0.4, allocations: 94.38 kB / 0.5218 GB, free: 8.332 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.4, allocations: 10.28 kB / 0.5218 GB, free: 8.328 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.4001, allocations: 5.562 kB / 0.5218 GB, free: 8.324 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.083e-05/0.4001, allocations: 325.4 kB / 0.5221 GB, free: 8.004 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.01e-05/0.4002, allocations: 22.91 kB / 0.5222 GB, free: 8.004 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.633e-05/0.4002, allocations: 44.3 kB / 0.5222 GB, free: 7.984 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.905e-05/0.4003, allocations: 33.83 kB / 0.5222 GB, free: 7.977 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.4003, allocations: 0 / 0.5222 GB, free: 7.977 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000163/0.4005, allocations: 109.2 kB / 0.5223 GB, free: 7.934 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.4005, allocations: 17.48 kB / 0.5224 GB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.4005, allocations: 0 / 0.5224 GB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.4005, allocations: 1 kB / 0.5224 GB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.215e-05/0.4006, allocations: 8.938 kB / 0.5224 GB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.4006, allocations: 0.9375 kB / 0.5224 GB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.537e-05/0.4007, allocations: 12.31 kB / 0.5224 GB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.4007, allocations: 7.594 kB / 0.5224 GB, free: 7.91 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 (8): * Single equations (assignments): 7 * 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 4.917e-05/0.4007, allocations: 109.5 kB / 0.5225 GB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.4008, allocations: 11.72 kB / 0.5225 GB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.4009, allocations: 91.11 kB / 0.5226 GB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4009, allocations: 1.031 kB / 0.5226 GB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.4009, allocations: 0 / 0.5226 GB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.4009, allocations: 0 / 0.5226 GB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.834e-05/0.4011, allocations: 164.3 kB / 0.5228 GB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4011, allocations: 1.375 kB / 0.5228 GB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-05/0.4011, allocations: 7.703 kB / 0.5228 GB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4011, allocations: 1.312 kB / 0.5228 GB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.4011, allocations: 1.344 kB / 0.5228 GB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4011, allocations: 0 / 0.5228 GB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4011, allocations: 4 kB / 0.5228 GB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001187/0.4013, allocations: 99.66 kB / 0.5229 GB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.229e-05/0.4013, allocations: 91.91 kB / 0.5229 GB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.4014, allocations: 8.109 kB / 0.523 GB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.408e-05/0.4014, allocations: 2.688 kB / 0.523 GB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.4014, allocations: 5.5 kB / 0.523 GB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.4015, allocations: 6.25 kB / 0.523 GB, free: 7.367 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.382e-05/0.4015, allocations: 140.6 kB / 0.5231 GB, free: 7.273 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000227/0.4018, allocations: 31.28 kB / 0.5231 GB, free: 7.266 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0005783/0.4024, allocations: 287.4 kB / 0.5234 GB, free: 7.078 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001509/0.4025, allocations: 101.4 kB / 0.5235 GB, free: 7.039 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.4025, allocations: 1.5 kB / 0.5235 GB, free: 7.039 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.93e-05/0.4026, allocations: 19.91 kB / 0.5235 GB, free: 7.039 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.4028, allocations: 15.64 kB / 0.5235 GB, free: 7.035 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.4031, allocations: 142.6 kB / 0.5237 GB, free: 6.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.4033, allocations: 0.7206 MB / 0.5244 GB, free: 6.207 MB / 346.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4033, allocations: 0 / 0.5244 GB, free: 6.207 MB / 346.7 MB Notification: Performance of Templates: time 0.003459/0.4068, allocations: 1.409 MB / 0.5258 GB, free: 5.504 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1)