Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3") [: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.002642/0.002642, allocations: 182.9 kB / 7.456 MB, free: 2.508 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.187/1.187, allocations: 194.2 MB / 202.1 MB, free: 8.73 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.001787/0.001786, allocations: 119.8 kB / 247.1 MB, free: 6.371 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.1879/0.1879, allocations: 39.94 MB / 331.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.985e-06/8.085e-06, allocations: 0 / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1107, allocations: 54.87 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3613/0.4721, allocations: 81.26 MB / 0.5165 GB, free: 10.26 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.4724, allocations: 72.42 kB / 0.5166 GB, free: 10.26 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.01314/0.4855, allocations: 3.995 MB / 0.5205 GB, free: 9.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.4856, allocations: 1.906 kB / 0.5205 GB, free: 9.57 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.0004906/0.4861, allocations: 443.5 kB / 0.5209 GB, free: 9.117 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.197e-05/0.4861, allocations: 7.531 kB / 0.5209 GB, free: 9.117 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.04e-05/0.4862, allocations: 17.12 kB / 0.5209 GB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.4866, allocations: 205.8 kB / 0.5211 GB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.4866, allocations: 1.469 kB / 0.5211 GB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.4866, allocations: 4.062 kB / 0.5211 GB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001037/0.4867, allocations: 20.19 kB / 0.5212 GB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.771e-05/0.4868, allocations: 51.64 kB / 0.5212 GB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.4869, allocations: 1.5 kB / 0.5212 GB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.4869, allocations: 0 / 0.5212 GB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.4869, allocations: 0 / 0.5212 GB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.4873, allocations: 292.9 kB / 0.5215 GB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.4874, allocations: 56.31 kB / 0.5216 GB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.536e-05/0.4875, allocations: 17.7 kB / 0.5216 GB, free: 8.535 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.4875, allocations: 7.141 kB / 0.5216 GB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.82e-05/0.4876, allocations: 67.33 kB / 0.5216 GB, free: 8.473 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.4876, allocations: 0 / 0.5216 GB, free: 8.473 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004705/0.4881, allocations: 131.3 kB / 0.5218 GB, free: 8.414 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.4881, allocations: 52.53 kB / 0.5218 GB, free: 8.352 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.4883, allocations: 150.9 kB / 0.522 GB, free: 8.242 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.4883, allocations: 27.92 kB / 0.522 GB, free: 8.211 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.4884, allocations: 86.52 kB / 0.5221 GB, free: 8.129 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.4884, allocations: 27.14 kB / 0.5221 GB, free: 8.109 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/0.4884, allocations: 5.969 kB / 0.5221 GB, free: 8.105 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.812e-05/0.4885, allocations: 320.9 kB / 0.5224 GB, free: 7.789 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.081e-05/0.4886, allocations: 32.03 kB / 0.5224 GB, free: 7.789 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.553e-05/0.4887, allocations: 48.12 kB / 0.5225 GB, free: 7.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.59e-05/0.4887, allocations: 45.31 kB / 0.5225 GB, free: 7.758 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.4888, allocations: 0 / 0.5225 GB, free: 7.758 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002289/0.489, allocations: 137.6 kB / 0.5227 GB, free: 7.707 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.489, allocations: 4.75 kB / 0.5227 GB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.81e-06/0.489, allocations: 4 kB / 0.5227 GB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.489, allocations: 1.219 kB / 0.5227 GB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.4892, allocations: 17.47 kB / 0.5227 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.4892, allocations: 1.219 kB / 0.5227 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.688e-05/0.4892, allocations: 8.047 kB / 0.5227 GB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.4892, allocations: 3.531 kB / 0.5227 GB, free: 7.695 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.738e-05/0.4893, allocations: 104.9 kB / 0.5228 GB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/0.4893, allocations: 15.34 kB / 0.5228 GB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.4896, allocations: 106.7 kB / 0.5229 GB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4896, allocations: 1.406 kB / 0.5229 GB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/0.4896, allocations: 3.984 kB / 0.5229 GB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4896, allocations: 0 / 0.5229 GB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003288/0.4899, allocations: 357.7 kB / 0.5233 GB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.4899, allocations: 5.219 kB / 0.5233 GB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.498e-05/0.49, allocations: 12.02 kB / 0.5233 GB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.49, allocations: 5.469 kB / 0.5233 GB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.49, allocations: 2.219 kB / 0.5233 GB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.49, allocations: 0 / 0.5233 GB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.49, allocations: 1.594 kB / 0.5233 GB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001701/0.4902, allocations: 210 kB / 0.5235 GB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.4903, allocations: 93.69 kB / 0.5236 GB, free: 6.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.4903, allocations: 12.22 kB / 0.5236 GB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.669e-05/0.4904, allocations: 1.594 kB / 0.5236 GB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.4905, allocations: 7.703 kB / 0.5236 GB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.4905, allocations: 2.625 kB / 0.5236 GB, free: 6.918 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.667e-05/0.4906, allocations: 114.3 kB / 0.5237 GB, free: 6.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002872/0.4909, allocations: 37.55 kB / 0.5237 GB, free: 6.828 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.000761/0.4917, allocations: 333.6 kB / 0.5241 GB, free: 6.617 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002267/0.4919, allocations: 115.3 kB / 0.5242 GB, free: 6.582 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.4919, allocations: 0 / 0.5242 GB, free: 6.582 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-05/0.492, allocations: 30.41 kB / 0.5242 GB, free: 6.578 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.4922, allocations: 17.02 kB / 0.5242 GB, free: 6.574 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003815/0.4926, allocations: 139.6 kB / 0.5243 GB, free: 6.469 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/0.4929, allocations: 0.7263 MB / 0.5251 GB, free: 5.742 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4929, allocations: 0 / 0.5251 GB, free: 5.742 MB / 346.7 MB Notification: Performance of Templates: time 0.004473/0.4974, allocations: 1.622 MB / 0.5266 GB, free: 4.93 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1)