Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001837/0.001837, allocations: 182.8 kB / 7.652 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.696/1.696, allocations: 194.3 MB / 202.4 MB, free: 8.547 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.001605/0.001605, allocations: 109.4 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.1786/0.1786, allocations: 39.95 MB / 332.2 MB, free: 4.789 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.043e-05/2.046e-05, allocations: 8 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08813/0.08816, allocations: 54.88 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3125/0.4007, allocations: 81.39 MB / 0.5172 GB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/0.4009, allocations: 70.56 kB / 0.5173 GB, free: 10.41 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.01094/0.4119, allocations: 4.466 MB / 0.5216 GB, free: 9.312 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4119, allocations: 0 / 0.5216 GB, free: 9.312 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.4119, allocations: 0.75 kB / 0.5216 GB, free: 9.312 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.0003253/0.4123, allocations: 462.1 kB / 0.5221 GB, free: 8.844 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.4123, allocations: 15.34 kB / 0.5221 GB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.4124, allocations: 7.719 kB / 0.5221 GB, free: 8.836 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.4126, allocations: 205.1 kB / 0.5223 GB, free: 8.617 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.4126, allocations: 4 kB / 0.5223 GB, free: 8.613 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.4126, allocations: 7.875 kB / 0.5223 GB, free: 8.609 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.664e-05/0.4127, allocations: 19.2 kB / 0.5223 GB, free: 8.605 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.098e-05/0.4128, allocations: 55.52 kB / 0.5224 GB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.4128, allocations: 7.891 kB / 0.5224 GB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.4129, allocations: 0 / 0.5224 GB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4129, allocations: 3.984 kB / 0.5224 GB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002709/0.4131, allocations: 284.1 kB / 0.5226 GB, free: 8.293 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.797e-05/0.4132, allocations: 55.69 kB / 0.5227 GB, free: 8.262 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.379e-05/0.4133, allocations: 19.55 kB / 0.5227 GB, free: 8.254 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.4133, allocations: 0 / 0.5227 GB, free: 8.254 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.4135, allocations: 69.53 kB / 0.5228 GB, free: 8.191 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.4135, allocations: 0 / 0.5228 GB, free: 8.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003923/0.4139, allocations: 152.7 kB / 0.5229 GB, free: 8.129 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.606e-05/0.4139, allocations: 55.41 kB / 0.523 GB, free: 8.062 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.414, allocations: 150.8 kB / 0.5231 GB, free: 7.957 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.414, allocations: 25.7 kB / 0.5231 GB, free: 7.926 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.986e-05/0.4141, allocations: 95.16 kB / 0.5232 GB, free: 7.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.4141, allocations: 26.84 kB / 0.5233 GB, free: 7.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.233e-06/0.4141, allocations: 3.875 kB / 0.5233 GB, free: 7.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.248e-05/0.4141, allocations: 320.9 kB / 0.5236 GB, free: 7.504 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.876e-05/0.4142, allocations: 34.72 kB / 0.5236 GB, free: 7.504 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.357e-05/0.4143, allocations: 50.98 kB / 0.5237 GB, free: 7.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.842e-05/0.4143, allocations: 36.98 kB / 0.5237 GB, free: 7.477 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.4143, allocations: 0 / 0.5237 GB, free: 7.477 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001704/0.4145, allocations: 132.5 kB / 0.5238 GB, free: 7.426 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.4146, allocations: 37.38 kB / 0.5238 GB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.4146, allocations: 3.953 kB / 0.5239 GB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.4146, allocations: 7.781 kB / 0.5239 GB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.319e-05/0.4147, allocations: 14.41 kB / 0.5239 GB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.4147, allocations: 8.094 kB / 0.5239 GB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.303e-05/0.4147, allocations: 7.797 kB / 0.5239 GB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.4148, allocations: 7.625 kB / 0.5239 GB, free: 7.371 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.999e-05/0.4148, allocations: 104.8 kB / 0.524 GB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.4148, allocations: 7.719 kB / 0.524 GB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.415, allocations: 112.2 kB / 0.5241 GB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.415, allocations: 3.953 kB / 0.5241 GB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.415, allocations: 0 / 0.5241 GB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.415, allocations: 4.188 kB / 0.5241 GB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.4153, allocations: 370.8 kB / 0.5245 GB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4153, allocations: 7.75 kB / 0.5245 GB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.29e-05/0.4154, allocations: 7.812 kB / 0.5245 GB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.4154, allocations: 3.953 kB / 0.5245 GB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.4154, allocations: 11.78 kB / 0.5245 GB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.4154, allocations: 3.984 kB / 0.5245 GB, free: 6.879 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4154, allocations: 0 / 0.5245 GB, free: 6.879 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.4156, allocations: 217.8 kB / 0.5247 GB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.4156, allocations: 99.98 kB / 0.5248 GB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.4157, allocations: 0 / 0.5248 GB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.144e-05/0.4157, allocations: 3.844 kB / 0.5248 GB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-05/0.4158, allocations: 11.55 kB / 0.5248 GB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.4158, allocations: 4 kB / 0.5248 GB, free: 6.59 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.664e-05/0.4158, allocations: 122.4 kB / 0.5249 GB, free: 6.512 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4158, allocations: 0 / 0.5249 GB, free: 6.512 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002476/0.4161, allocations: 42.33 kB / 0.525 GB, free: 6.496 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.0006836/0.4168, allocations: 352.2 kB / 0.5253 GB, free: 6.262 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.417, allocations: 161.5 kB / 0.5255 GB, free: 6.188 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.417, allocations: 0 / 0.5255 GB, free: 6.188 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.629e-05/0.4171, allocations: 37.33 kB / 0.5255 GB, free: 6.184 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.4173, allocations: 18.83 kB / 0.5255 GB, free: 6.176 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/0.4176, allocations: 142.3 kB / 0.5257 GB, free: 6.078 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.4177, allocations: 0.715 MB / 0.5264 GB, free: 5.355 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.848e-05/0.4177, allocations: 15.92 kB / 0.5264 GB, free: 5.352 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.4178, allocations: 18.95 kB / 0.5264 GB, free: 5.34 MB / 346.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4178, allocations: 0 / 0.5264 GB, free: 5.34 MB / 346.7 MB Notification: Performance of Templates: time 0.003292/0.4211, allocations: 1.637 MB / 0.528 GB, free: 4.512 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1)