Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15") [: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.003847/0.003847, allocations: 189.7 kB / 7.458 MB, free: 2.52 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.376/1.376, allocations: 194.2 MB / 202.1 MB, free: 8.672 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.001721/0.001721, allocations: 109.7 kB / 247.1 MB, free: 6.391 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.1648/0.1648, allocations: 39.95 MB / 331.9 MB, free: 4.941 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.106e-06/8.135e-06, allocations: 4 kB / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09852/0.09855, allocations: 54.87 MB / 447.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2999/0.3984, allocations: 81.29 MB / 0.5165 GB, free: 10.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/0.3987, allocations: 69.09 kB / 0.5166 GB, free: 10.25 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.01204/0.4107, allocations: 4.036 MB / 0.5205 GB, free: 9.566 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.4108, allocations: 2.281 kB / 0.5206 GB, free: 9.566 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.0004587/0.4112, allocations: 462.4 kB / 0.521 GB, free: 9.098 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.4113, allocations: 12.34 kB / 0.521 GB, free: 9.094 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.246e-05/0.4113, allocations: 13.72 kB / 0.521 GB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.4116, allocations: 207.3 kB / 0.5212 GB, free: 8.867 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.4116, allocations: 5.438 kB / 0.5212 GB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.4117, allocations: 8.078 kB / 0.5212 GB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.692e-05/0.4118, allocations: 18.7 kB / 0.5212 GB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.549e-05/0.4119, allocations: 54.27 kB / 0.5213 GB, free: 8.816 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.4119, allocations: 3.906 kB / 0.5213 GB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.4119, allocations: 0 / 0.5213 GB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.4119, allocations: 1.219 kB / 0.5213 GB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003248/0.4122, allocations: 288.7 kB / 0.5216 GB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.4124, allocations: 57.09 kB / 0.5216 GB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.873e-05/0.4124, allocations: 18.33 kB / 0.5216 GB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.4124, allocations: 0 / 0.5216 GB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.993e-05/0.4125, allocations: 59.5 kB / 0.5217 GB, free: 8.457 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.4125, allocations: 0 / 0.5217 GB, free: 8.457 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004334/0.413, allocations: 139.5 kB / 0.5218 GB, free: 8.391 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.413, allocations: 64.33 kB / 0.5219 GB, free: 8.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.4131, allocations: 149.4 kB / 0.522 GB, free: 8.219 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.4131, allocations: 27.11 kB / 0.5221 GB, free: 8.188 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.664e-05/0.4132, allocations: 91.72 kB / 0.5222 GB, free: 8.102 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.4132, allocations: 27.55 kB / 0.5222 GB, free: 8.082 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/0.4132, allocations: 1.625 kB / 0.5222 GB, free: 8.082 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.782e-05/0.4133, allocations: 324.8 kB / 0.5225 GB, free: 7.762 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.042e-05/0.4133, allocations: 35 kB / 0.5225 GB, free: 7.758 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.141e-05/0.4134, allocations: 52.39 kB / 0.5226 GB, free: 7.734 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.421e-05/0.4135, allocations: 38.36 kB / 0.5226 GB, free: 7.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.4135, allocations: 0.9688 kB / 0.5226 GB, free: 7.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002102/0.4137, allocations: 130.9 kB / 0.5227 GB, free: 7.684 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.4138, allocations: 4.75 kB / 0.5227 GB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.4138, allocations: 1.188 kB / 0.5227 GB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.4138, allocations: 1.062 kB / 0.5227 GB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.4139, allocations: 16.77 kB / 0.5228 GB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.4139, allocations: 5.125 kB / 0.5228 GB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.774e-05/0.414, allocations: 3.375 kB / 0.5228 GB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.414, allocations: 12.06 kB / 0.5228 GB, free: 7.672 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.392e-05/0.4141, allocations: 109 kB / 0.5229 GB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.4141, allocations: 7.688 kB / 0.5229 GB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.4143, allocations: 109.2 kB / 0.523 GB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4143, allocations: 5.562 kB / 0.523 GB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4143, allocations: 4 kB / 0.523 GB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4143, allocations: 0 / 0.523 GB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003398/0.4147, allocations: 359.5 kB / 0.5233 GB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4147, allocations: 4.125 kB / 0.5234 GB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.628e-05/0.4147, allocations: 17.03 kB / 0.5234 GB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.4148, allocations: 1.906 kB / 0.5234 GB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.4148, allocations: 1.594 kB / 0.5234 GB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4148, allocations: 0 / 0.5234 GB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.4148, allocations: 1.594 kB / 0.5234 GB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001649/0.415, allocations: 208.5 kB / 0.5236 GB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.972e-05/0.415, allocations: 94.62 kB / 0.5237 GB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.415, allocations: 5.172 kB / 0.5237 GB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-05/0.4151, allocations: 2.594 kB / 0.5237 GB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.4152, allocations: 11.75 kB / 0.5237 GB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.4152, allocations: 8.703 kB / 0.5237 GB, free: 6.887 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.5e-05/0.4153, allocations: 118.5 kB / 0.5238 GB, free: 6.809 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002801/0.4156, allocations: 39.78 kB / 0.5238 GB, free: 6.797 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.0006454/0.4162, allocations: 328.6 kB / 0.5242 GB, free: 6.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.4164, allocations: 117 kB / 0.5243 GB, free: 6.555 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.4164, allocations: 4.062 kB / 0.5243 GB, free: 6.551 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.307e-05/0.4165, allocations: 34.11 kB / 0.5243 GB, free: 6.543 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.4167, allocations: 17.64 kB / 0.5243 GB, free: 6.539 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003386/0.4171, allocations: 142.5 kB / 0.5245 GB, free: 6.441 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.4173, allocations: 0.7202 MB / 0.5252 GB, free: 5.723 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4173, allocations: 8 kB / 0.5252 GB, free: 5.715 MB / 346.7 MB Notification: Performance of Templates: time 0.004098/0.4214, allocations: 1.64 MB / 0.5268 GB, free: 4.887 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1)