Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001675/0.001675, allocations: 178.9 kB / 7.651 MB, free: 1.398 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.531/1.531, allocations: 194.3 MB / 202.4 MB, free: 8.465 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.001603/0.001603, allocations: 113.5 kB / 247.4 MB, free: 6.223 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.1961/0.1961, allocations: 39.95 MB / 332.2 MB, free: 4.758 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.129e-05/2.13e-05, allocations: 8.547 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.088/0.08804, allocations: 54.89 MB / 448.2 MB, free: 20.63 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3638/0.4519, allocations: 81.39 MB / 0.5172 GB, free: 10.28 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.4522, allocations: 72.66 kB / 0.5173 GB, free: 10.28 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.01109/0.4633, allocations: 4.56 MB / 0.5217 GB, free: 9.145 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.4633, allocations: 0 / 0.5217 GB, free: 9.145 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.4633, allocations: 7.844 kB / 0.5217 GB, free: 9.141 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.0003402/0.4637, allocations: 465.8 kB / 0.5222 GB, free: 8.672 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.4637, allocations: 7.688 kB / 0.5222 GB, free: 8.672 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.4637, allocations: 11.75 kB / 0.5222 GB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.464, allocations: 207.5 kB / 0.5224 GB, free: 8.449 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.464, allocations: 3.844 kB / 0.5224 GB, free: 8.449 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.464, allocations: 7.812 kB / 0.5224 GB, free: 8.445 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.856e-05/0.4641, allocations: 22.55 kB / 0.5224 GB, free: 8.438 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.375e-05/0.4642, allocations: 47.5 kB / 0.5225 GB, free: 8.402 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.4642, allocations: 3.953 kB / 0.5225 GB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.4642, allocations: 3.984 kB / 0.5225 GB, free: 8.395 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.4642, allocations: 0 / 0.5225 GB, free: 8.395 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002748/0.4645, allocations: 292 kB / 0.5227 GB, free: 8.133 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.4646, allocations: 56.72 kB / 0.5228 GB, free: 8.098 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.966e-05/0.4647, allocations: 18.64 kB / 0.5228 GB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.4647, allocations: 3.844 kB / 0.5228 GB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.626e-05/0.4648, allocations: 65.59 kB / 0.5229 GB, free: 8.031 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.4648, allocations: 0 / 0.5229 GB, free: 8.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003666/0.4652, allocations: 156.8 kB / 0.523 GB, free: 7.965 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.585e-05/0.4652, allocations: 55.41 kB / 0.5231 GB, free: 7.898 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.4653, allocations: 177.3 kB / 0.5232 GB, free: 7.781 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.4653, allocations: 25.7 kB / 0.5233 GB, free: 7.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.127e-05/0.4654, allocations: 100.7 kB / 0.5234 GB, free: 7.664 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.4654, allocations: 22.94 kB / 0.5234 GB, free: 7.648 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-06/0.4654, allocations: 3.844 kB / 0.5234 GB, free: 7.648 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.218e-05/0.4654, allocations: 322.5 kB / 0.5237 GB, free: 7.332 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.78e-05/0.4655, allocations: 29.44 kB / 0.5237 GB, free: 7.332 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.299e-05/0.4656, allocations: 54.48 kB / 0.5238 GB, free: 7.309 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.756e-05/0.4656, allocations: 32.73 kB / 0.5238 GB, free: 7.305 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.4656, allocations: 0 / 0.5238 GB, free: 7.305 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001724/0.4658, allocations: 141.4 kB / 0.5239 GB, free: 7.254 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.4658, allocations: 33.53 kB / 0.524 GB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4659, allocations: 11.64 kB / 0.524 GB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.4659, allocations: 0 / 0.524 GB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.495e-05/0.466, allocations: 19.2 kB / 0.524 GB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.466, allocations: 7.922 kB / 0.524 GB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.353e-05/0.466, allocations: 7.75 kB / 0.524 GB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.4661, allocations: 3.75 kB / 0.524 GB, free: 7.195 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.288e-05/0.4661, allocations: 112.1 kB / 0.5241 GB, free: 7.086 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.4661, allocations: 11.78 kB / 0.5241 GB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001751/0.4663, allocations: 113.5 kB / 0.5243 GB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.4663, allocations: 7.797 kB / 0.5243 GB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.4663, allocations: 0 / 0.5243 GB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.4664, allocations: 0 / 0.5243 GB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.4666, allocations: 381.4 kB / 0.5246 GB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4666, allocations: 3.984 kB / 0.5246 GB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.908e-05/0.4667, allocations: 11.22 kB / 0.5246 GB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.4667, allocations: 3.953 kB / 0.5246 GB, free: 6.695 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.4667, allocations: 3.844 kB / 0.5246 GB, free: 6.695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4667, allocations: 0 / 0.5246 GB, free: 6.695 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4667, allocations: 160 / 0.5246 GB, free: 6.695 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.4669, allocations: 219.8 kB / 0.5249 GB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.602e-05/0.4669, allocations: 103.5 kB / 0.525 GB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.467, allocations: 3.984 kB / 0.525 GB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.467, allocations: 6.719 kB / 0.525 GB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.4671, allocations: 3.844 kB / 0.525 GB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.4671, allocations: 7.859 kB / 0.525 GB, free: 6.402 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.289e-05/0.4672, allocations: 137.1 kB / 0.5251 GB, free: 6.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4672, allocations: 0 / 0.5251 GB, free: 6.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002554/0.4674, allocations: 46.08 kB / 0.5252 GB, free: 6.305 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.0007267/0.4682, allocations: 362.9 kB / 0.5255 GB, free: 6.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.4684, allocations: 153.7 kB / 0.5256 GB, free: 6.004 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4684, allocations: 4.062 kB / 0.5256 GB, free: 6 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.683e-05/0.4684, allocations: 32 kB / 0.5257 GB, free: 5.996 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.4687, allocations: 14.89 kB / 0.5257 GB, free: 5.992 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002965/0.469, allocations: 175.5 kB / 0.5259 GB, free: 5.875 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.4691, allocations: 0.7185 MB / 0.5266 GB, free: 5.156 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.821e-05/0.4692, allocations: 16.23 kB / 0.5266 GB, free: 5.148 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.288e-05/0.4692, allocations: 15.22 kB / 0.5266 GB, free: 5.141 MB / 346.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4692, allocations: 0 / 0.5266 GB, free: 5.141 MB / 346.7 MB Notification: Performance of Templates: time 0.003481/0.4727, allocations: 1.679 MB / 0.5282 GB, free: 4.301 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1)