Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001605/0.001605, allocations: 182.2 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.813/1.813, allocations: 194.3 MB / 207.5 MB, free: 3.445 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.001677/0.001677, allocations: 111.8 kB / 252.6 MB, free: 4.809 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.2136/0.2136, allocations: 39.93 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.606e-05/4.668e-05, allocations: 4 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1289, allocations: 54.87 MB / 455.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4663/0.5952, allocations: 81.89 MB / 0.5245 GB, free: 9.203 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.5955, allocations: 75.08 kB / 0.5245 GB, free: 9.164 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.01099/0.6065, allocations: 4.716 MB / 0.5291 GB, free: 5.387 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.6066, allocations: 0 / 0.5291 GB, free: 5.387 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.6066, allocations: 0 / 0.5291 GB, free: 5.387 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005684/0.6072, allocations: 461 kB / 0.5296 GB, free: 4.887 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.6073, allocations: 16.03 kB / 0.5296 GB, free: 4.871 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.572e-05/0.6073, allocations: 15.8 kB / 0.5296 GB, free: 4.855 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.6076, allocations: 218.2 kB / 0.5298 GB, free: 4.613 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.6077, allocations: 0 / 0.5298 GB, free: 4.613 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.6077, allocations: 4 kB / 0.5298 GB, free: 4.609 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.6078, allocations: 53.36 kB / 0.5299 GB, free: 4.559 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.6079, allocations: 0 / 0.5299 GB, free: 4.559 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.6079, allocations: 3.953 kB / 0.5299 GB, free: 4.555 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.6079, allocations: 0 / 0.5299 GB, free: 4.555 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.997e-05/0.608, allocations: 19.86 kB / 0.5299 GB, free: 4.539 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002142/0.6082, allocations: 206 kB / 0.5301 GB, free: 4.305 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.6083, allocations: 53.19 kB / 0.5301 GB, free: 4.254 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.6083, allocations: 23.73 kB / 0.5302 GB, free: 4.234 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.6084, allocations: 0 / 0.5302 GB, free: 4.234 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/0.6085, allocations: 65.48 kB / 0.5302 GB, free: 4.164 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.6085, allocations: 0 / 0.5302 GB, free: 4.164 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002253/0.6088, allocations: 94.22 kB / 0.5303 GB, free: 4.078 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.6088, allocations: 51.41 kB / 0.5304 GB, free: 4.016 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.609, allocations: 233.8 kB / 0.5306 GB, free: 3.812 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.6091, allocations: 25.7 kB / 0.5306 GB, free: 3.781 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.6091, allocations: 110.1 kB / 0.5307 GB, free: 3.688 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.6091, allocations: 14.95 kB / 0.5307 GB, free: 3.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.6092, allocations: 4 kB / 0.5307 GB, free: 3.676 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.634e-05/0.6092, allocations: 329.3 kB / 0.531 GB, free: 3.352 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.179e-05/0.6093, allocations: 36.83 kB / 0.5311 GB, free: 3.328 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.222e-05/0.6094, allocations: 44.03 kB / 0.5311 GB, free: 3.289 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.803e-05/0.6094, allocations: 63.88 kB / 0.5312 GB, free: 3.234 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6094, allocations: 0 / 0.5312 GB, free: 3.234 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001811/0.6096, allocations: 160.4 kB / 0.5313 GB, free: 3.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.6097, allocations: 29.7 kB / 0.5314 GB, free: 3.055 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.6097, allocations: 8.031 kB / 0.5314 GB, free: 3.047 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.6097, allocations: 3.984 kB / 0.5314 GB, free: 3.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.788e-05/0.6098, allocations: 15.92 kB / 0.5314 GB, free: 3.027 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.6098, allocations: 3.953 kB / 0.5314 GB, free: 3.023 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.685e-05/0.6099, allocations: 15.91 kB / 0.5314 GB, free: 3.008 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.6099, allocations: 7.062 kB / 0.5314 GB, free: 3.004 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 (8): * Single equations (assignments): 7 * 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 6.268e-05/0.6099, allocations: 105 kB / 0.5315 GB, free: 2.895 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.61, allocations: 19.44 kB / 0.5315 GB, free: 2.879 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001571/0.6101, allocations: 101.7 kB / 0.5316 GB, free: 2.785 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.6101, allocations: 64 / 0.5316 GB, free: 2.785 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.6102, allocations: 4 kB / 0.5316 GB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.6102, allocations: 3.953 kB / 0.5316 GB, free: 2.777 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.6103, allocations: 206.2 kB / 0.5318 GB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.6103, allocations: 0 / 0.5318 GB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.387e-05/0.6103, allocations: 4 kB / 0.5318 GB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.6103, allocations: 0 / 0.5318 GB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.6104, allocations: 4 kB / 0.5318 GB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.6104, allocations: 0 / 0.5318 GB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.6104, allocations: 0 / 0.5318 GB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.6105, allocations: 120.9 kB / 0.532 GB, free: 2.414 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.763e-05/0.6106, allocations: 104 kB / 0.5321 GB, free: 2.297 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.6106, allocations: 0 / 0.5321 GB, free: 2.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.33e-05/0.6107, allocations: 15.05 kB / 0.5321 GB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.6107, allocations: 4 kB / 0.5321 GB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.6107, allocations: 0 / 0.5321 GB, free: 2.281 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001298/0.6109, allocations: 190.2 kB / 0.5323 GB, free: 2.125 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6109, allocations: 4 kB / 0.5323 GB, free: 2.121 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000209/0.6111, allocations: 43.23 kB / 0.5323 GB, free: 2.082 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007886/0.6119, allocations: 347.8 kB / 0.5326 GB, free: 1.816 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.6121, allocations: 142.5 kB / 0.5328 GB, free: 1.699 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6121, allocations: 0 / 0.5328 GB, free: 1.699 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.08e-05/0.6121, allocations: 26.8 kB / 0.5328 GB, free: 1.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.6123, allocations: 23.62 kB / 0.5328 GB, free: 1.656 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.6127, allocations: 197.1 kB / 0.533 GB, free: 1.457 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.6129, allocations: 0.7233 MB / 0.5337 GB, free: 0.7109 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.613, allocations: 15.89 kB / 0.5337 GB, free: 0.6953 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/0.613, allocations: 15.44 kB / 0.5337 GB, free: 0.6797 MB / 346.7 MB Notification: Performance of SimCode: time 3.11e-07/0.613, allocations: 0 / 0.5337 GB, free: 0.6797 MB / 346.7 MB Notification: Performance of Templates: time 0.004213/0.6173, allocations: 1.656 MB / 0.5354 GB, free: 15.05 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1)