Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00102/0.001021, 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.539/1.539, allocations: 194.3 MB / 202.4 MB, free: 8.539 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.001665/0.001665, allocations: 120 kB / 247.4 MB, free: 6.219 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.1923/0.1923, allocations: 39.95 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.854e-05/1.875e-05, allocations: 4 kB / 393.3 MB, free: 75.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08496/0.085, allocations: 54.87 MB / 448.2 MB, free: 20.63 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3249/0.4099, allocations: 81.61 MB / 0.5174 GB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001538/0.4101, allocations: 74.25 kB / 0.5175 GB, free: 10.37 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.01186/0.422, allocations: 5.079 MB / 0.5224 GB, free: 9.066 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.422, allocations: 0 / 0.5224 GB, free: 9.066 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.422, allocations: 0.75 kB / 0.5224 GB, free: 9.066 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003118/0.4223, allocations: 465.4 kB / 0.5229 GB, free: 8.598 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.4224, allocations: 7.719 kB / 0.5229 GB, free: 8.598 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.4224, allocations: 7.781 kB / 0.5229 GB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.4226, allocations: 203.7 kB / 0.5231 GB, free: 8.379 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.4226, allocations: 3.781 kB / 0.5231 GB, free: 8.379 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.4227, allocations: 3.875 kB / 0.5231 GB, free: 8.379 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.771e-05/0.4227, allocations: 41.8 kB / 0.5231 GB, free: 8.363 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.739e-05/0.4228, allocations: 77.06 kB / 0.5232 GB, free: 8.305 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.4229, allocations: 0 / 0.5232 GB, free: 8.305 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.4229, allocations: 0 / 0.5232 GB, free: 8.305 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-06/0.4229, allocations: 0 / 0.5232 GB, free: 8.305 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002631/0.4231, allocations: 291 kB / 0.5235 GB, free: 8.039 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.4233, allocations: 77.34 kB / 0.5235 GB, free: 8 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.415e-05/0.4233, allocations: 22.23 kB / 0.5236 GB, free: 7.992 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.4233, allocations: 0 / 0.5236 GB, free: 7.992 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.846e-05/0.4234, allocations: 85.25 kB / 0.5236 GB, free: 7.926 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.4234, allocations: 0 / 0.5236 GB, free: 7.926 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.000369/0.4238, allocations: 170.6 kB / 0.5238 GB, free: 7.863 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.864e-05/0.4239, allocations: 77.11 kB / 0.5239 GB, free: 7.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.717e-05/0.424, allocations: 145.3 kB / 0.524 GB, free: 7.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.424, allocations: 29.58 kB / 0.5241 GB, free: 7.629 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.714e-05/0.424, allocations: 99.25 kB / 0.5241 GB, free: 7.539 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.424, allocations: 19.56 kB / 0.5242 GB, free: 7.527 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.424, allocations: 0 / 0.5242 GB, free: 7.527 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.804e-05/0.4241, allocations: 330.3 kB / 0.5245 GB, free: 7.207 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.984e-05/0.4242, allocations: 38.52 kB / 0.5245 GB, free: 7.199 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.429e-05/0.4242, allocations: 52.7 kB / 0.5246 GB, free: 7.172 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.259e-05/0.4243, allocations: 42.47 kB / 0.5246 GB, free: 7.164 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4243, allocations: 0 / 0.5246 GB, free: 7.164 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001745/0.4245, allocations: 143.2 kB / 0.5247 GB, free: 7.109 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.4245, allocations: 37.3 kB / 0.5248 GB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.4245, allocations: 0 / 0.5248 GB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.4245, allocations: 3.812 kB / 0.5248 GB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.558e-05/0.4246, allocations: 18.86 kB / 0.5248 GB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.4246, allocations: 0 / 0.5248 GB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.168e-05/0.4247, allocations: 3.812 kB / 0.5248 GB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.4247, allocations: 11.3 kB / 0.5248 GB, free: 7.066 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 (12): * Single equations (assignments): 11 * 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.428e-05/0.4248, allocations: 108.8 kB / 0.5249 GB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.4248, allocations: 11.67 kB / 0.5249 GB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.425, allocations: 134.8 kB / 0.5251 GB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.425, allocations: 3.938 kB / 0.5251 GB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.425, allocations: 0 / 0.5251 GB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.425, allocations: 7.969 kB / 0.5251 GB, free: 6.879 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/0.4253, allocations: 399 kB / 0.5255 GB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4253, allocations: 3.969 kB / 0.5255 GB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.96e-05/0.4254, allocations: 15.61 kB / 0.5255 GB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.4254, allocations: 4.031 kB / 0.5255 GB, free: 6.551 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.4254, allocations: 7.188 kB / 0.5255 GB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.4254, allocations: 3.812 kB / 0.5255 GB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4254, allocations: 0 / 0.5255 GB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.4256, allocations: 224.7 kB / 0.5257 GB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.4257, allocations: 99.8 kB / 0.5258 GB, free: 6.273 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.4257, allocations: 0 / 0.5258 GB, free: 6.273 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.764e-05/0.4258, allocations: 7.562 kB / 0.5258 GB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.4258, allocations: 11.08 kB / 0.5258 GB, free: 6.266 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.4258, allocations: 3.844 kB / 0.5258 GB, free: 6.266 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.441e-05/0.4259, allocations: 119.3 kB / 0.5259 GB, free: 6.184 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4259, allocations: 0 / 0.5259 GB, free: 6.184 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002806/0.4262, allocations: 57.44 kB / 0.526 GB, free: 6.164 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 (11): * Single equations (assignments): 9 * 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.0007851/0.427, allocations: 444.8 kB / 0.5264 GB, free: 5.871 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.4272, allocations: 158 kB / 0.5266 GB, free: 5.801 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4272, allocations: 0 / 0.5266 GB, free: 5.801 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-05/0.4272, allocations: 36.88 kB / 0.5266 GB, free: 5.797 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.4274, allocations: 24.75 kB / 0.5266 GB, free: 5.789 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002863/0.4277, allocations: 152.5 kB / 0.5268 GB, free: 5.676 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.4279, allocations: 0.7072 MB / 0.5275 GB, free: 4.961 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.119e-05/0.428, allocations: 11.94 kB / 0.5275 GB, free: 4.957 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.428, allocations: 22.8 kB / 0.5275 GB, free: 4.949 MB / 346.7 MB Notification: Performance of SimCode: time 4.31e-07/0.428, allocations: 0 / 0.5275 GB, free: 4.949 MB / 346.7 MB Notification: Performance of Templates: time 0.003943/0.432, allocations: 2.011 MB / 0.5295 GB, free: 3.93 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1)