Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001608/0.001608, allocations: 176 kB / 7.652 MB, free: 1.426 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.552/1.552, allocations: 194.3 MB / 202.4 MB, free: 13.02 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.001642/0.001643, allocations: 119.4 kB / 247.4 MB, free: 24 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1781/0.1781, allocations: 39.95 MB / 332.2 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.752e-05/2.729e-05, allocations: 8 kB / 393.3 MB, free: 3.441 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.279, allocations: 54.88 MB / 448.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1378/0.4169, allocations: 81.38 MB / 0.5172 GB, free: 12.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/0.4172, allocations: 75.95 kB / 0.5173 GB, free: 12.11 MB / 378.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.02405/0.4413, allocations: 4.687 MB / 0.5218 GB, free: 7.414 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4413, allocations: 0 / 0.5218 GB, free: 7.414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.4413, allocations: 4 kB / 0.5218 GB, free: 7.41 MB / 378.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.0006101/0.442, allocations: 462.5 kB / 0.5223 GB, free: 6.902 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.442, allocations: 16.03 kB / 0.5223 GB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.53e-05/0.4421, allocations: 7.906 kB / 0.5223 GB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.4425, allocations: 226.7 kB / 0.5225 GB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.4426, allocations: 0 / 0.5225 GB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.4426, allocations: 7.906 kB / 0.5225 GB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001157/0.4428, allocations: 23.98 kB / 0.5225 GB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.4429, allocations: 45.69 kB / 0.5226 GB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.4429, allocations: 3.953 kB / 0.5226 GB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.443, allocations: 0 / 0.5226 GB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.443, allocations: 4 kB / 0.5226 GB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005373/0.4435, allocations: 293.5 kB / 0.5229 GB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.4437, allocations: 54.62 kB / 0.5229 GB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.069e-05/0.4438, allocations: 20.92 kB / 0.5229 GB, free: 6.113 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.4438, allocations: 0 / 0.5229 GB, free: 6.113 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.444, allocations: 75.34 kB / 0.523 GB, free: 6.027 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.874e-06/0.444, allocations: 0 / 0.523 GB, free: 6.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006643/0.4447, allocations: 157.2 kB / 0.5232 GB, free: 5.867 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.4447, allocations: 51.41 kB / 0.5232 GB, free: 5.805 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/0.4451, allocations: 194.5 kB / 0.5234 GB, free: 5.605 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.4451, allocations: 29.7 kB / 0.5234 GB, free: 5.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.191e-05/0.4452, allocations: 100.1 kB / 0.5235 GB, free: 5.469 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.4453, allocations: 23.64 kB / 0.5236 GB, free: 5.445 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/0.4453, allocations: 8 kB / 0.5236 GB, free: 5.438 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4455, allocations: 327.5 kB / 0.5239 GB, free: 5.109 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.4456, allocations: 28 kB / 0.5239 GB, free: 5.082 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.4457, allocations: 51.81 kB / 0.5239 GB, free: 5.027 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.4459, allocations: 39.92 kB / 0.524 GB, free: 4.988 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4459, allocations: 0 / 0.524 GB, free: 4.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004037/0.4463, allocations: 133.5 kB / 0.5241 GB, free: 4.852 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/0.4464, allocations: 37.72 kB / 0.5241 GB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.4464, allocations: 12.02 kB / 0.5242 GB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.4465, allocations: 0 / 0.5242 GB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.4466, allocations: 19.94 kB / 0.5242 GB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4466, allocations: 0 / 0.5242 GB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.4468, allocations: 7.984 kB / 0.5242 GB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.4468, allocations: 8 kB / 0.5242 GB, free: 4.762 MB / 378.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 0.0001171/0.447, allocations: 112.9 kB / 0.5243 GB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.447, allocations: 7.906 kB / 0.5243 GB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003426/0.4474, allocations: 119.4 kB / 0.5244 GB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-06/0.4474, allocations: 3.953 kB / 0.5244 GB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4474, allocations: 0 / 0.5244 GB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4474, allocations: 0 / 0.5244 GB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000675/0.4481, allocations: 395.8 kB / 0.5248 GB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.4481, allocations: 0 / 0.5248 GB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.115e-05/0.4482, allocations: 12 kB / 0.5248 GB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.4483, allocations: 7.984 kB / 0.5248 GB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.4483, allocations: 3.984 kB / 0.5248 GB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.4483, allocations: 4.188 kB / 0.5248 GB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4483, allocations: 0 / 0.5248 GB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.4487, allocations: 213.9 kB / 0.525 GB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.4488, allocations: 108.9 kB / 0.5251 GB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.4489, allocations: 4 kB / 0.5251 GB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.4491, allocations: 4 kB / 0.5251 GB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.4491, allocations: 7.984 kB / 0.5252 GB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.4492, allocations: 0 / 0.5252 GB, free: 3.676 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002294/0.4494, allocations: 160.3 kB / 0.5253 GB, free: 3.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.4494, allocations: 0 / 0.5253 GB, free: 3.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000537/0.45, allocations: 47.92 kB / 0.5254 GB, free: 3.473 MB / 378.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.001355/0.4513, allocations: 361.6 kB / 0.5257 GB, free: 3.156 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003647/0.4517, allocations: 155.3 kB / 0.5258 GB, free: 2.992 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4517, allocations: 0 / 0.5258 GB, free: 2.992 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.4519, allocations: 28 kB / 0.5259 GB, free: 2.965 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.4522, allocations: 15.98 kB / 0.5259 GB, free: 2.949 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.4527, allocations: 201.6 kB / 0.5261 GB, free: 2.723 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.4531, allocations: 0.708 MB / 0.5268 GB, free: 1.988 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.829e-05/0.4532, allocations: 20.56 kB / 0.5268 GB, free: 1.969 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.868e-05/0.4533, allocations: 19.44 kB / 0.5268 GB, free: 1.949 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4533, allocations: 0 / 0.5268 GB, free: 1.949 MB / 378.7 MB Notification: Performance of Templates: time 0.005866/0.4592, allocations: 1.715 MB / 0.5285 GB, free: 256 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1)