Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4") [: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.003447/0.003447, allocations: 185.3 kB / 7.459 MB, free: 2.219 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.349/1.349, allocations: 194.2 MB / 202.1 MB, free: 8.637 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.001743/0.001743, allocations: 114.4 kB / 247.1 MB, free: 6.363 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.1907/0.1907, allocations: 39.95 MB / 331.9 MB, free: 4.852 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.06e-05/1.064e-05, allocations: 7.938 kB / 392.8 MB, free: 75.85 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1017, allocations: 54.87 MB / 447.7 MB, free: 20.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3287/0.4304, allocations: 81.31 MB / 0.5166 GB, free: 10.29 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.4307, allocations: 71.75 kB / 0.5166 GB, free: 10.29 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.01278/0.4435, allocations: 4.297 MB / 0.5208 GB, free: 9.484 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.4435, allocations: 1.25 kB / 0.5208 GB, free: 9.484 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.0004194/0.4439, allocations: 467.1 kB / 0.5213 GB, free: 9.012 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.444, allocations: 9.344 kB / 0.5213 GB, free: 9.012 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.896e-05/0.444, allocations: 9 kB / 0.5213 GB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.4443, allocations: 212.5 kB / 0.5215 GB, free: 8.785 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.4443, allocations: 1.281 kB / 0.5215 GB, free: 8.785 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.4444, allocations: 7.703 kB / 0.5215 GB, free: 8.781 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.438e-05/0.4445, allocations: 19.28 kB / 0.5215 GB, free: 8.777 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.368e-05/0.4446, allocations: 57.55 kB / 0.5216 GB, free: 8.734 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.4446, allocations: 0 / 0.5216 GB, free: 8.734 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.4446, allocations: 0 / 0.5216 GB, free: 8.734 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.4446, allocations: 1.312 kB / 0.5216 GB, free: 8.734 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.445, allocations: 301.1 kB / 0.5219 GB, free: 8.465 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.4451, allocations: 60.66 kB / 0.5219 GB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.417e-05/0.4452, allocations: 19.81 kB / 0.5219 GB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.4452, allocations: 1.125 kB / 0.5219 GB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.07e-05/0.4453, allocations: 60.91 kB / 0.522 GB, free: 8.367 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.4453, allocations: 4 kB / 0.522 GB, free: 8.363 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004429/0.4458, allocations: 138.6 kB / 0.5221 GB, free: 8.301 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.4458, allocations: 52.72 kB / 0.5222 GB, free: 8.238 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.446, allocations: 191.1 kB / 0.5224 GB, free: 8.125 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.446, allocations: 27.02 kB / 0.5224 GB, free: 8.094 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.332e-05/0.4461, allocations: 93.34 kB / 0.5225 GB, free: 8.008 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.4461, allocations: 19.66 kB / 0.5225 GB, free: 7.996 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-06/0.4461, allocations: 1.344 kB / 0.5225 GB, free: 7.996 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.992e-05/0.4462, allocations: 325.1 kB / 0.5228 GB, free: 7.676 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.906e-05/0.4463, allocations: 40.92 kB / 0.5229 GB, free: 7.668 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.181e-05/0.4464, allocations: 43.91 kB / 0.5229 GB, free: 7.652 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.108e-05/0.4465, allocations: 39.27 kB / 0.5229 GB, free: 7.648 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.4465, allocations: 0 / 0.5229 GB, free: 7.648 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002608/0.4468, allocations: 138 kB / 0.5231 GB, free: 7.594 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.4468, allocations: 8.734 kB / 0.5231 GB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.4468, allocations: 1.531 kB / 0.5231 GB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.4468, allocations: 5.281 kB / 0.5231 GB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.447, allocations: 16.34 kB / 0.5231 GB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.447, allocations: 5.188 kB / 0.5231 GB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.92e-05/0.447, allocations: 3.281 kB / 0.5231 GB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.4471, allocations: 8.328 kB / 0.5231 GB, free: 7.578 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 9.615e-05/0.4472, allocations: 113.7 kB / 0.5232 GB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.4472, allocations: 12.88 kB / 0.5232 GB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.4474, allocations: 103 kB / 0.5233 GB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4474, allocations: 5.25 kB / 0.5233 GB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.4475, allocations: 11.83 kB / 0.5234 GB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4475, allocations: 192 / 0.5234 GB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003435/0.4478, allocations: 368.4 kB / 0.5237 GB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4478, allocations: 11.84 kB / 0.5237 GB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.435e-05/0.4479, allocations: 17.83 kB / 0.5237 GB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4479, allocations: 0 / 0.5237 GB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.4479, allocations: 2.531 kB / 0.5237 GB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.4479, allocations: 5.375 kB / 0.5237 GB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4479, allocations: 0 / 0.5237 GB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001607/0.4481, allocations: 206.2 kB / 0.5239 GB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.131e-05/0.4482, allocations: 103.4 kB / 0.524 GB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.4482, allocations: 2.719 kB / 0.524 GB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-05/0.4483, allocations: 5.469 kB / 0.524 GB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.4483, allocations: 7.422 kB / 0.524 GB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.4483, allocations: 3.344 kB / 0.5241 GB, free: 6.785 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001162/0.4485, allocations: 148.4 kB / 0.5242 GB, free: 6.703 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002837/0.4488, allocations: 36.67 kB / 0.5242 GB, free: 6.691 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.0007397/0.4495, allocations: 322.8 kB / 0.5245 GB, free: 6.484 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.4497, allocations: 124.4 kB / 0.5247 GB, free: 6.441 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4497, allocations: 0 / 0.5247 GB, free: 6.441 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.918e-05/0.4498, allocations: 29.62 kB / 0.5247 GB, free: 6.438 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.4501, allocations: 24.39 kB / 0.5247 GB, free: 6.426 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003957/0.4505, allocations: 177.6 kB / 0.5249 GB, free: 6.316 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.4507, allocations: 0.7342 MB / 0.5256 GB, free: 5.59 MB / 346.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4507, allocations: 0 / 0.5256 GB, free: 5.59 MB / 346.7 MB Notification: Performance of Templates: time 0.00438/0.4551, allocations: 1.702 MB / 0.5273 GB, free: 4.742 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1)