Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001319/0.001319, allocations: 187.4 kB / 7.654 MB, free: 1.402 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.363/1.363, allocations: 194.3 MB / 202.4 MB, free: 8.473 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.001713/0.001713, allocations: 114.7 kB / 247.4 MB, free: 6.207 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.1994/0.1994, allocations: 39.94 MB / 332.2 MB, free: 4.754 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.224e-05/2.227e-05, allocations: 4 kB / 393.3 MB, free: 75.51 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1073, allocations: 54.87 MB / 448.2 MB, free: 20.62 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3828/0.4902, allocations: 81.38 MB / 0.5172 GB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.4905, allocations: 74.27 kB / 0.5172 GB, free: 10.4 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 - DAE generated: time 0.01117/0.5017, allocations: 4.735 MB / 0.5219 GB, free: 9.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5017, allocations: 0 / 0.5219 GB, free: 9.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.5017, allocations: 3.875 kB / 0.5219 GB, free: 9.18 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.0003905/0.5021, allocations: 467 kB / 0.5223 GB, free: 8.703 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.5022, allocations: 7.688 kB / 0.5223 GB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.435e-05/0.5023, allocations: 11.59 kB / 0.5223 GB, free: 8.699 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.5025, allocations: 220.7 kB / 0.5225 GB, free: 8.473 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.5025, allocations: 3.844 kB / 0.5225 GB, free: 8.473 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.5026, allocations: 3.844 kB / 0.5226 GB, free: 8.473 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.53e-05/0.5026, allocations: 17.81 kB / 0.5226 GB, free: 8.473 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.612e-05/0.5027, allocations: 52.55 kB / 0.5226 GB, free: 8.434 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.5028, allocations: 7.953 kB / 0.5226 GB, free: 8.426 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.5028, allocations: 0 / 0.5226 GB, free: 8.426 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.5028, allocations: 0 / 0.5226 GB, free: 8.426 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003709/0.5032, allocations: 293.3 kB / 0.5229 GB, free: 8.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.5033, allocations: 52.59 kB / 0.523 GB, free: 8.133 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.313e-05/0.5033, allocations: 19.11 kB / 0.523 GB, free: 8.125 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.5033, allocations: 4 kB / 0.523 GB, free: 8.121 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001193/0.5035, allocations: 69.91 kB / 0.523 GB, free: 8.062 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.5035, allocations: 0 / 0.523 GB, free: 8.062 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000498/0.504, allocations: 157 kB / 0.5232 GB, free: 7.992 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.504, allocations: 55.22 kB / 0.5232 GB, free: 7.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.5042, allocations: 191.6 kB / 0.5234 GB, free: 7.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.5042, allocations: 26.45 kB / 0.5235 GB, free: 7.789 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.5043, allocations: 110.5 kB / 0.5236 GB, free: 7.699 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.5043, allocations: 26.8 kB / 0.5236 GB, free: 7.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-06/0.5044, allocations: 0 / 0.5236 GB, free: 7.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.447e-05/0.5044, allocations: 326.7 kB / 0.5239 GB, free: 7.363 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.373e-05/0.5045, allocations: 32.56 kB / 0.5239 GB, free: 7.363 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.524e-05/0.5046, allocations: 50.33 kB / 0.524 GB, free: 7.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.594e-05/0.5046, allocations: 38.61 kB / 0.524 GB, free: 7.336 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5046, allocations: 7.938 kB / 0.524 GB, free: 7.328 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001925/0.5048, allocations: 134.3 kB / 0.5242 GB, free: 7.281 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.5e-05/0.5049, allocations: 29.67 kB / 0.5242 GB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.5049, allocations: 11.8 kB / 0.5242 GB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.5049, allocations: 7.984 kB / 0.5242 GB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.485e-05/0.505, allocations: 15.62 kB / 0.5242 GB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.505, allocations: 3.844 kB / 0.5242 GB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.767e-05/0.5051, allocations: 3.969 kB / 0.5242 GB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.5051, allocations: 7.938 kB / 0.5242 GB, free: 7.227 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 7.405e-05/0.5052, allocations: 112.1 kB / 0.5243 GB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.5052, allocations: 11.75 kB / 0.5243 GB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002093/0.5055, allocations: 119.5 kB / 0.5245 GB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.5055, allocations: 3.953 kB / 0.5245 GB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5055, allocations: 0 / 0.5245 GB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.5055, allocations: 0 / 0.5245 GB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003498/0.5058, allocations: 387.8 kB / 0.5248 GB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5059, allocations: 4.031 kB / 0.5248 GB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.963e-05/0.5059, allocations: 7.625 kB / 0.5248 GB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.5059, allocations: 7.859 kB / 0.5249 GB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.5059, allocations: 0 / 0.5249 GB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.5059, allocations: 0 / 0.5249 GB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5059, allocations: 0 / 0.5249 GB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.5062, allocations: 221.9 kB / 0.5251 GB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.177e-05/0.5062, allocations: 107.2 kB / 0.5252 GB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.5063, allocations: 0 / 0.5252 GB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.172e-05/0.5063, allocations: 3.875 kB / 0.5252 GB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.5064, allocations: 11.94 kB / 0.5252 GB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.5064, allocations: 3.844 kB / 0.5252 GB, free: 6.438 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001048/0.5065, allocations: 160.3 kB / 0.5253 GB, free: 6.348 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5065, allocations: 288 / 0.5253 GB, free: 6.348 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002811/0.5068, allocations: 46.7 kB / 0.5254 GB, free: 6.332 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.0007561/0.5076, allocations: 359.1 kB / 0.5257 GB, free: 6.094 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.5078, allocations: 157 kB / 0.5259 GB, free: 6.023 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.5078, allocations: 0 / 0.5259 GB, free: 6.023 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.556e-05/0.5078, allocations: 30.84 kB / 0.5259 GB, free: 6.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.5081, allocations: 19.3 kB / 0.5259 GB, free: 6.012 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.5084, allocations: 191.6 kB / 0.5261 GB, free: 5.895 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.5086, allocations: 0.7176 MB / 0.5268 GB, free: 5.176 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.974e-05/0.5086, allocations: 16.23 kB / 0.5268 GB, free: 5.172 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.5087, allocations: 19.27 kB / 0.5268 GB, free: 5.16 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5087, allocations: 4 kB / 0.5268 GB, free: 5.156 MB / 346.7 MB Notification: Performance of Templates: time 0.00368/0.5124, allocations: 1.705 MB / 0.5285 GB, free: 4.305 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1)