Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009055/0.0009056, allocations: 182.8 kB / 7.652 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.375/1.375, allocations: 194.3 MB / 202.4 MB, free: 8.547 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.001872/0.001872, allocations: 114.6 kB / 247.4 MB, free: 6.215 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.2023/0.2023, allocations: 39.94 MB / 332.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.045e-05/2.048e-05, allocations: 8 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1075, allocations: 54.88 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3905/0.498, allocations: 81.38 MB / 0.5172 GB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001612/0.4982, allocations: 75.38 kB / 0.5173 GB, free: 10.38 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.01099/0.5092, allocations: 4.601 MB / 0.5217 GB, free: 9.203 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5093, allocations: 0 / 0.5217 GB, free: 9.203 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.5093, allocations: 0 / 0.5217 GB, free: 9.203 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.0004057/0.5097, allocations: 459.7 kB / 0.5222 GB, free: 8.734 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.5098, allocations: 11.31 kB / 0.5222 GB, free: 8.734 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.5098, allocations: 7.594 kB / 0.5222 GB, free: 8.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.5101, allocations: 219.8 kB / 0.5224 GB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.5101, allocations: 0 / 0.5224 GB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.5101, allocations: 3.812 kB / 0.5224 GB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.268e-05/0.5102, allocations: 30.55 kB / 0.5224 GB, free: 8.496 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.046e-05/0.5103, allocations: 44.72 kB / 0.5225 GB, free: 8.461 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.5103, allocations: 11.27 kB / 0.5225 GB, free: 8.457 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.5103, allocations: 0 / 0.5225 GB, free: 8.457 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.5104, allocations: 0 / 0.5225 GB, free: 8.457 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003229/0.5107, allocations: 291.7 kB / 0.5228 GB, free: 8.188 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.831e-05/0.5108, allocations: 58.66 kB / 0.5228 GB, free: 8.152 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.413e-05/0.5108, allocations: 18.89 kB / 0.5228 GB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.5109, allocations: 0 / 0.5228 GB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001088/0.511, allocations: 69.47 kB / 0.5229 GB, free: 8.086 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.511, allocations: 0 / 0.5229 GB, free: 8.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004198/0.5114, allocations: 153 kB / 0.5231 GB, free: 8.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.046e-05/0.5114, allocations: 54.59 kB / 0.5231 GB, free: 7.957 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.5116, allocations: 178.8 kB / 0.5233 GB, free: 7.836 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.5116, allocations: 25.7 kB / 0.5233 GB, free: 7.805 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.5116, allocations: 102.6 kB / 0.5234 GB, free: 7.719 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.5117, allocations: 22.94 kB / 0.5234 GB, free: 7.703 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.5117, allocations: 0 / 0.5234 GB, free: 7.703 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.889e-05/0.5117, allocations: 326.2 kB / 0.5237 GB, free: 7.387 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.963e-05/0.5118, allocations: 26.75 kB / 0.5238 GB, free: 7.387 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.839e-05/0.5119, allocations: 57.86 kB / 0.5238 GB, free: 7.363 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.999e-05/0.5119, allocations: 33.86 kB / 0.5239 GB, free: 7.359 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.5119, allocations: 0 / 0.5239 GB, free: 7.359 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001785/0.5121, allocations: 136 kB / 0.524 GB, free: 7.309 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.5122, allocations: 41.31 kB / 0.524 GB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.5122, allocations: 3.953 kB / 0.524 GB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.5122, allocations: 0 / 0.524 GB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.44e-05/0.5123, allocations: 11.56 kB / 0.524 GB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.5123, allocations: 7.781 kB / 0.524 GB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.49e-05/0.5123, allocations: 11.64 kB / 0.5241 GB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.5124, allocations: 7.844 kB / 0.5241 GB, free: 7.254 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 5.393e-05/0.5124, allocations: 108.7 kB / 0.5242 GB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.5125, allocations: 11.62 kB / 0.5242 GB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001837/0.5126, allocations: 114.9 kB / 0.5243 GB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.5127, allocations: 3.953 kB / 0.5243 GB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.5127, allocations: 0 / 0.5243 GB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5127, allocations: 0 / 0.5243 GB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/0.513, allocations: 385.3 kB / 0.5247 GB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.513, allocations: 0 / 0.5247 GB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.772e-05/0.513, allocations: 15.17 kB / 0.5247 GB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.513, allocations: 4.141 kB / 0.5247 GB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.5131, allocations: 3.812 kB / 0.5247 GB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.5131, allocations: 3.938 kB / 0.5247 GB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5131, allocations: 0 / 0.5247 GB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.5132, allocations: 213.9 kB / 0.5249 GB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.027e-05/0.5133, allocations: 106.4 kB / 0.525 GB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.5133, allocations: 3.688 kB / 0.525 GB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/0.5134, allocations: 3.984 kB / 0.525 GB, free: 6.465 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.839e-05/0.5134, allocations: 3.875 kB / 0.525 GB, free: 6.465 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.5134, allocations: 7.953 kB / 0.525 GB, free: 6.461 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.951e-05/0.5135, allocations: 139.5 kB / 0.5251 GB, free: 6.379 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5135, allocations: 0 / 0.5251 GB, free: 6.379 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002642/0.5138, allocations: 42.83 kB / 0.5252 GB, free: 6.363 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.0007581/0.5146, allocations: 364.2 kB / 0.5255 GB, free: 6.129 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.5148, allocations: 152.6 kB / 0.5257 GB, free: 6.062 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5148, allocations: 4.062 kB / 0.5257 GB, free: 6.059 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.415e-05/0.5148, allocations: 30.28 kB / 0.5257 GB, free: 6.055 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.515, allocations: 18.39 kB / 0.5257 GB, free: 6.051 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.5154, allocations: 168.4 kB / 0.5259 GB, free: 5.941 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/0.5155, allocations: 0.7147 MB / 0.5266 GB, free: 5.227 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.696e-05/0.5156, allocations: 16.03 kB / 0.5266 GB, free: 5.223 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.5156, allocations: 19.11 kB / 0.5266 GB, free: 5.211 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5156, allocations: 0 / 0.5266 GB, free: 5.211 MB / 346.7 MB Notification: Performance of Templates: time 0.003758/0.5194, allocations: 1.676 MB / 0.5283 GB, free: 4.363 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1)