Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001058/0.001057, allocations: 179.7 kB / 7.657 MB, free: 1.391 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.481/1.481, allocations: 194.3 MB / 202.4 MB, free: 8.562 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.001575/0.001575, allocations: 114.3 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.2022/0.2022, allocations: 39.94 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.464e-05/2.466e-05, allocations: 11.98 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07762/0.07766, allocations: 54.88 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3156/0.3933, allocations: 81.39 MB / 0.5172 GB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.3937, allocations: 73.06 kB / 0.5173 GB, free: 10.39 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.01159/0.4053, allocations: 4.65 MB / 0.5218 GB, free: 9.207 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4053, allocations: 0 / 0.5218 GB, free: 9.207 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.649e-06/0.4053, allocations: 3.938 kB / 0.5218 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.0003584/0.4057, allocations: 466.6 kB / 0.5222 GB, free: 8.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.4057, allocations: 11.53 kB / 0.5223 GB, free: 8.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.4058, allocations: 7.75 kB / 0.5223 GB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.406, allocations: 210.2 kB / 0.5225 GB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.406, allocations: 3.844 kB / 0.5225 GB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.4061, allocations: 7.781 kB / 0.5225 GB, free: 8.504 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.707e-05/0.4061, allocations: 15.31 kB / 0.5225 GB, free: 8.504 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.062e-05/0.4062, allocations: 51.98 kB / 0.5225 GB, free: 8.465 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.4062, allocations: 3.953 kB / 0.5225 GB, free: 8.461 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.4062, allocations: 0 / 0.5225 GB, free: 8.461 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.4062, allocations: 3.938 kB / 0.5225 GB, free: 8.457 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002868/0.4065, allocations: 300.6 kB / 0.5228 GB, free: 8.188 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.374e-05/0.4066, allocations: 52.22 kB / 0.5229 GB, free: 8.156 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.802e-05/0.4067, allocations: 19.95 kB / 0.5229 GB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.4067, allocations: 0 / 0.5229 GB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001008/0.4068, allocations: 69.75 kB / 0.523 GB, free: 8.086 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.4068, allocations: 0 / 0.523 GB, free: 8.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003675/0.4072, allocations: 147.4 kB / 0.5231 GB, free: 8.027 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.84e-05/0.4072, allocations: 59.34 kB / 0.5232 GB, free: 7.957 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.4074, allocations: 189 kB / 0.5233 GB, free: 7.844 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.4074, allocations: 28.89 kB / 0.5234 GB, free: 7.812 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.4074, allocations: 105.7 kB / 0.5235 GB, free: 7.723 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.4074, allocations: 21.75 kB / 0.5235 GB, free: 7.711 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.4075, allocations: 0 / 0.5235 GB, free: 7.711 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.879e-05/0.4075, allocations: 325.9 kB / 0.5238 GB, free: 7.395 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.792e-05/0.4076, allocations: 35.61 kB / 0.5238 GB, free: 7.387 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.226e-05/0.4076, allocations: 52.28 kB / 0.5239 GB, free: 7.367 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.955e-05/0.4077, allocations: 32.36 kB / 0.5239 GB, free: 7.363 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.4077, allocations: 0 / 0.5239 GB, free: 7.363 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001678/0.4079, allocations: 138.5 kB / 0.5241 GB, free: 7.312 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.4079, allocations: 37.41 kB / 0.5241 GB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.4079, allocations: 4.047 kB / 0.5241 GB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.4079, allocations: 3.938 kB / 0.5241 GB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.875e-05/0.408, allocations: 19.58 kB / 0.5241 GB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.408, allocations: 0 / 0.5241 GB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.245e-05/0.4081, allocations: 7.969 kB / 0.5241 GB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.4081, allocations: 7.844 kB / 0.5241 GB, free: 7.258 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 4.445e-05/0.4081, allocations: 119.8 kB / 0.5242 GB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.4082, allocations: 11.53 kB / 0.5243 GB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00019/0.4084, allocations: 112.9 kB / 0.5244 GB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.4084, allocations: 7.797 kB / 0.5244 GB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.4084, allocations: 0 / 0.5244 GB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4084, allocations: 0 / 0.5244 GB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.4087, allocations: 388.5 kB / 0.5247 GB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.4087, allocations: 0 / 0.5247 GB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.755e-05/0.4087, allocations: 11.44 kB / 0.5248 GB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4087, allocations: 3.953 kB / 0.5248 GB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.4088, allocations: 7.703 kB / 0.5248 GB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.4088, allocations: 3.938 kB / 0.5248 GB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4088, allocations: 0 / 0.5248 GB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.4089, allocations: 213.4 kB / 0.525 GB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-05/0.409, allocations: 104.1 kB / 0.5251 GB, free: 6.473 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.409, allocations: 3.938 kB / 0.5251 GB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-05/0.4091, allocations: 7.781 kB / 0.5251 GB, free: 6.465 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.4091, allocations: 7.797 kB / 0.5251 GB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.4091, allocations: 7.312 kB / 0.5251 GB, free: 6.461 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.468e-05/0.4092, allocations: 147 kB / 0.5252 GB, free: 6.375 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4092, allocations: 0 / 0.5252 GB, free: 6.375 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002474/0.4094, allocations: 38.39 kB / 0.5253 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.0006536/0.4101, allocations: 353.3 kB / 0.5256 GB, free: 6.137 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.4103, allocations: 162.8 kB / 0.5258 GB, free: 6.062 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4103, allocations: 4.062 kB / 0.5258 GB, free: 6.059 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.159e-05/0.4103, allocations: 29.97 kB / 0.5258 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.0002125/0.4105, allocations: 22.86 kB / 0.5258 GB, free: 6.047 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002757/0.4108, allocations: 175.8 kB / 0.526 GB, free: 5.938 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.411, allocations: 0.7109 MB / 0.5267 GB, free: 5.223 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.674e-05/0.411, allocations: 24.16 kB / 0.5267 GB, free: 5.211 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.4111, allocations: 18.88 kB / 0.5267 GB, free: 5.203 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4111, allocations: 0 / 0.5267 GB, free: 5.203 MB / 346.7 MB Notification: Performance of Templates: time 0.00338/0.4145, allocations: 1.703 MB / 0.5284 GB, free: 4.348 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1)