Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009437/0.0009437, allocations: 187.3 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.433/1.433, allocations: 194.3 MB / 202.4 MB, free: 8.477 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.001632/0.001632, allocations: 118 kB / 247.4 MB, free: 6.211 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.1909/0.1909, allocations: 39.94 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.148e-05/2.15e-05, allocations: 4 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09425/0.0943, allocations: 54.88 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3113/0.4057, allocations: 81.38 MB / 0.5172 GB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001643/0.4059, allocations: 71.44 kB / 0.5172 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.01092/0.4168, allocations: 4.636 MB / 0.5218 GB, free: 9.207 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.4168, allocations: 7.875 kB / 0.5218 GB, free: 9.199 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.4168, allocations: 3.312 kB / 0.5218 GB, free: 9.199 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.0003412/0.4172, allocations: 458.7 kB / 0.5222 GB, free: 8.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.4172, allocations: 15.5 kB / 0.5222 GB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.4173, allocations: 11.72 kB / 0.5222 GB, free: 8.719 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.4175, allocations: 214.4 kB / 0.5224 GB, free: 8.496 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.4175, allocations: 7.797 kB / 0.5225 GB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.4176, allocations: 7.344 kB / 0.5225 GB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.758e-05/0.4176, allocations: 14.69 kB / 0.5225 GB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.212e-05/0.4177, allocations: 52.2 kB / 0.5225 GB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.4177, allocations: 3.953 kB / 0.5225 GB, free: 8.449 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.4177, allocations: 0 / 0.5225 GB, free: 8.449 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4178, allocations: 0 / 0.5225 GB, free: 8.449 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002719/0.418, allocations: 303.5 kB / 0.5228 GB, free: 8.176 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.377e-05/0.4181, allocations: 47.36 kB / 0.5229 GB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.842e-05/0.4182, allocations: 23.31 kB / 0.5229 GB, free: 8.137 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.4182, allocations: 0 / 0.5229 GB, free: 8.137 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.958e-05/0.4183, allocations: 67.17 kB / 0.5229 GB, free: 8.078 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.4183, allocations: 0 / 0.5229 GB, free: 8.078 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003466/0.4186, allocations: 157.1 kB / 0.5231 GB, free: 8.012 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.412e-05/0.4187, allocations: 51.41 kB / 0.5231 GB, free: 7.949 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.4188, allocations: 187.2 kB / 0.5233 GB, free: 7.836 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.4188, allocations: 25.7 kB / 0.5234 GB, free: 7.805 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.4189, allocations: 108.5 kB / 0.5235 GB, free: 7.715 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.4189, allocations: 21.28 kB / 0.5235 GB, free: 7.703 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-06/0.4189, allocations: 0 / 0.5235 GB, free: 7.703 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.262e-05/0.4189, allocations: 328.1 kB / 0.5238 GB, free: 7.383 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.887e-05/0.419, allocations: 33.22 kB / 0.5238 GB, free: 7.383 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.451e-05/0.4191, allocations: 46.73 kB / 0.5239 GB, free: 7.363 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.874e-05/0.4191, allocations: 35.39 kB / 0.5239 GB, free: 7.359 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.4191, allocations: 3.969 kB / 0.5239 GB, free: 7.359 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001705/0.4193, allocations: 134 kB / 0.524 GB, free: 7.309 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.4193, allocations: 41 kB / 0.5241 GB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4193, allocations: 8.172 kB / 0.5241 GB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.4194, allocations: 3.938 kB / 0.5241 GB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.504e-05/0.4195, allocations: 19.31 kB / 0.5241 GB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.4195, allocations: 11.98 kB / 0.5241 GB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.397e-05/0.4195, allocations: 3.781 kB / 0.5241 GB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.4195, allocations: 3.875 kB / 0.5241 GB, free: 7.246 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.806e-05/0.4196, allocations: 108.7 kB / 0.5242 GB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.4196, allocations: 15.5 kB / 0.5242 GB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.4198, allocations: 122.8 kB / 0.5244 GB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4198, allocations: 3.953 kB / 0.5244 GB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.4198, allocations: 0 / 0.5244 GB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.4198, allocations: 0 / 0.5244 GB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.4201, allocations: 382.7 kB / 0.5247 GB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4201, allocations: 0 / 0.5247 GB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.896e-05/0.4202, allocations: 11.5 kB / 0.5247 GB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.4202, allocations: 3.953 kB / 0.5247 GB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.4202, allocations: 4.031 kB / 0.5247 GB, free: 6.746 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4202, allocations: 3.875 kB / 0.5247 GB, free: 6.746 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4202, allocations: 0 / 0.5247 GB, free: 6.746 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.4204, allocations: 220.8 kB / 0.525 GB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.4204, allocations: 100.1 kB / 0.525 GB, free: 6.465 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.4204, allocations: 0 / 0.525 GB, free: 6.465 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.248e-05/0.4205, allocations: 7.594 kB / 0.5251 GB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.4206, allocations: 7.828 kB / 0.5251 GB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.4206, allocations: 3.844 kB / 0.5251 GB, free: 6.457 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.194e-05/0.4207, allocations: 144.6 kB / 0.5252 GB, free: 6.375 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4207, allocations: 0 / 0.5252 GB, free: 6.375 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002591/0.4209, allocations: 38.19 kB / 0.5252 GB, free: 6.367 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.0007222/0.4217, allocations: 373.6 kB / 0.5256 GB, free: 6.121 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001682/0.4218, allocations: 154.2 kB / 0.5257 GB, free: 6.051 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4219, allocations: 0 / 0.5257 GB, free: 6.051 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.218e-05/0.4219, allocations: 25.94 kB / 0.5258 GB, free: 6.051 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.4221, allocations: 26.45 kB / 0.5258 GB, free: 6.039 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.4224, allocations: 183.7 kB / 0.526 GB, free: 5.922 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.4226, allocations: 0.7181 MB / 0.5267 GB, free: 5.203 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.193e-05/0.4226, allocations: 19.91 kB / 0.5267 GB, free: 5.195 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.4227, allocations: 14.78 kB / 0.5267 GB, free: 5.188 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4227, allocations: 0 / 0.5267 GB, free: 5.188 MB / 346.7 MB Notification: Performance of Templates: time 0.003915/0.4266, allocations: 1.691 MB / 0.5284 GB, free: 4.344 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1)