Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001297/0.001297, allocations: 181.8 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.551/1.551, allocations: 194.3 MB / 207.5 MB, free: 3.398 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.001629/0.001629, allocations: 118.1 kB / 252.6 MB, free: 4.836 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.2192/0.2192, allocations: 39.94 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.214e-05/4.216e-05, allocations: 4 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1421, allocations: 54.85 MB / 455.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4834/0.6255, allocations: 82.06 MB / 0.5246 GB, free: 8.996 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/0.6258, allocations: 78.27 kB / 0.5247 GB, free: 8.953 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.01118/0.637, allocations: 4.559 MB / 0.5291 GB, free: 5.359 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.637, allocations: 0 / 0.5291 GB, free: 5.359 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.6371, allocations: 0 / 0.5291 GB, free: 5.359 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.0004523/0.6375, allocations: 455.1 kB / 0.5296 GB, free: 4.867 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.6376, allocations: 8.031 kB / 0.5296 GB, free: 4.859 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.6376, allocations: 11.91 kB / 0.5296 GB, free: 4.848 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.6379, allocations: 211.3 kB / 0.5298 GB, free: 4.613 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.6379, allocations: 6.938 kB / 0.5298 GB, free: 4.609 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.6379, allocations: 4 kB / 0.5298 GB, free: 4.605 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.6381, allocations: 55.91 kB / 0.5299 GB, free: 4.551 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.6381, allocations: 0 / 0.5299 GB, free: 4.551 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.6381, allocations: 15.14 kB / 0.5299 GB, free: 4.539 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.6381, allocations: 0 / 0.5299 GB, free: 4.539 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.052e-05/0.6382, allocations: 19.23 kB / 0.5299 GB, free: 4.523 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.6386, allocations: 316.9 kB / 0.5302 GB, free: 4.191 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.6387, allocations: 52.81 kB / 0.5302 GB, free: 4.141 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.603e-05/0.6387, allocations: 23.48 kB / 0.5303 GB, free: 4.121 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.6387, allocations: 0 / 0.5303 GB, free: 4.121 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/0.6389, allocations: 78.16 kB / 0.5303 GB, free: 4.039 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.6389, allocations: 0 / 0.5303 GB, free: 4.039 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000428/0.6393, allocations: 156.1 kB / 0.5305 GB, free: 3.906 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.6394, allocations: 55.34 kB / 0.5305 GB, free: 3.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.6395, allocations: 169.8 kB / 0.5307 GB, free: 3.688 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.6395, allocations: 33.14 kB / 0.5307 GB, free: 3.652 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.565e-05/0.6396, allocations: 110.2 kB / 0.5308 GB, free: 3.551 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.6396, allocations: 19.16 kB / 0.5309 GB, free: 3.535 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-06/0.6396, allocations: 2.938 kB / 0.5309 GB, free: 3.535 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.859e-05/0.6397, allocations: 322.4 kB / 0.5312 GB, free: 3.215 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.468e-05/0.6398, allocations: 36.67 kB / 0.5312 GB, free: 3.191 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.586e-05/0.6399, allocations: 51.61 kB / 0.5313 GB, free: 3.152 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.306e-05/0.6399, allocations: 72.67 kB / 0.5313 GB, free: 3.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.64, allocations: 4 kB / 0.5313 GB, free: 3.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002097/0.6402, allocations: 180.2 kB / 0.5315 GB, free: 2.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.6402, allocations: 33.7 kB / 0.5315 GB, free: 2.891 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.6402, allocations: 3.984 kB / 0.5315 GB, free: 2.887 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.6402, allocations: 0 / 0.5315 GB, free: 2.887 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.558e-05/0.6403, allocations: 16.09 kB / 0.5316 GB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.6403, allocations: 3.938 kB / 0.5316 GB, free: 2.867 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.084e-05/0.6404, allocations: 4 kB / 0.5316 GB, free: 2.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.6404, allocations: 11.67 kB / 0.5316 GB, free: 2.855 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 5.939e-05/0.6405, allocations: 117.6 kB / 0.5317 GB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.6405, allocations: 19.77 kB / 0.5317 GB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.6407, allocations: 116.6 kB / 0.5318 GB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.6407, allocations: 0 / 0.5318 GB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.6407, allocations: 0 / 0.5318 GB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.6407, allocations: 0 / 0.5318 GB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003178/0.6411, allocations: 412.7 kB / 0.5322 GB, free: 2.199 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.6411, allocations: 0 / 0.5322 GB, free: 2.199 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.685e-05/0.6411, allocations: 11.98 kB / 0.5322 GB, free: 2.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6411, allocations: 0 / 0.5322 GB, free: 2.188 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.6411, allocations: 7.938 kB / 0.5322 GB, free: 2.184 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.6411, allocations: 0 / 0.5322 GB, free: 2.184 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6412, allocations: 0 / 0.5322 GB, free: 2.184 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.6413, allocations: 220.6 kB / 0.5324 GB, free: 1.961 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.553e-05/0.6414, allocations: 100.4 kB / 0.5325 GB, free: 1.848 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.6414, allocations: 4 kB / 0.5325 GB, free: 1.844 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.032e-05/0.6415, allocations: 7.922 kB / 0.5325 GB, free: 1.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.6416, allocations: 7.938 kB / 0.5326 GB, free: 1.832 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-06/0.6416, allocations: 8.172 kB / 0.5326 GB, free: 1.824 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.181e-05/0.6417, allocations: 131.3 kB / 0.5327 GB, free: 1.711 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6417, allocations: 0 / 0.5327 GB, free: 1.711 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002409/0.6419, allocations: 39.92 kB / 0.5327 GB, free: 1.676 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.0008615/0.6428, allocations: 400.2 kB / 0.5331 GB, free: 1.355 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.643, allocations: 170.1 kB / 0.5333 GB, free: 1.215 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.643, allocations: 0 / 0.5333 GB, free: 1.215 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.212e-05/0.6431, allocations: 31.38 kB / 0.5333 GB, free: 1.195 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.6433, allocations: 31.09 kB / 0.5333 GB, free: 1.172 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003238/0.6436, allocations: 161.5 kB / 0.5335 GB, free: 1.008 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.6438, allocations: 0.7082 MB / 0.5342 GB, free: 280 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.859e-05/0.6439, allocations: 16.05 kB / 0.5342 GB, free: 268 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.6439, allocations: 15.44 kB / 0.5342 GB, free: 252 kB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6439, allocations: 0 / 0.5342 GB, free: 252 kB / 346.7 MB Notification: Performance of Templates: time 0.004787/0.6487, allocations: 1.733 MB / 0.5359 GB, free: 14.54 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1)