Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001453/0.001453, 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.824/1.824, allocations: 194.3 MB / 207.5 MB, free: 3.453 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.001919/0.001919, allocations: 105.2 kB / 252.6 MB, free: 4.793 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.2246/0.2246, allocations: 39.94 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.341e-05/4.344e-05, allocations: 4 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1435, allocations: 54.86 MB / 455.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4536/0.5972, allocations: 82.01 MB / 0.5246 GB, free: 9.078 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.5974, allocations: 70.77 kB / 0.5247 GB, free: 9.043 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.01087/0.6083, allocations: 4.353 MB / 0.5289 GB, free: 5.621 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6084, allocations: 0 / 0.5289 GB, free: 5.621 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.6084, allocations: 0 / 0.5289 GB, free: 5.621 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.0003944/0.6088, allocations: 452.5 kB / 0.5293 GB, free: 5.133 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.6088, allocations: 8.031 kB / 0.5293 GB, free: 5.125 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.6089, allocations: 19.89 kB / 0.5294 GB, free: 5.105 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.6091, allocations: 193.6 kB / 0.5295 GB, free: 4.883 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.6092, allocations: 7.438 kB / 0.5296 GB, free: 4.879 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.6092, allocations: 4 kB / 0.5296 GB, free: 4.875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.6093, allocations: 56.19 kB / 0.5296 GB, free: 4.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.6093, allocations: 7.906 kB / 0.5296 GB, free: 4.812 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.6093, allocations: 0 / 0.5296 GB, free: 4.812 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.6094, allocations: 0 / 0.5296 GB, free: 4.812 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.993e-05/0.6094, allocations: 22.73 kB / 0.5296 GB, free: 4.797 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.6098, allocations: 312.3 kB / 0.5299 GB, free: 4.465 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.6099, allocations: 58.77 kB / 0.53 GB, free: 4.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.219e-05/0.6099, allocations: 23.55 kB / 0.53 GB, free: 4.391 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.61, allocations: 0 / 0.53 GB, free: 4.391 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001266/0.6101, allocations: 70.27 kB / 0.5301 GB, free: 4.316 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.6101, allocations: 0 / 0.5301 GB, free: 4.316 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004961/0.6106, allocations: 158.1 kB / 0.5302 GB, free: 4.188 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.6107, allocations: 63.39 kB / 0.5303 GB, free: 4.113 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.6108, allocations: 147.7 kB / 0.5304 GB, free: 3.977 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.6108, allocations: 29.64 kB / 0.5305 GB, free: 3.941 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.6109, allocations: 99.25 kB / 0.5306 GB, free: 3.848 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.6109, allocations: 26.95 kB / 0.5306 GB, free: 3.824 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-06/0.6109, allocations: 4 kB / 0.5306 GB, free: 3.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.815e-05/0.611, allocations: 325.8 kB / 0.5309 GB, free: 3.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.27e-05/0.6111, allocations: 38.17 kB / 0.5309 GB, free: 3.477 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.975e-05/0.6112, allocations: 51.47 kB / 0.531 GB, free: 3.434 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.467e-05/0.6113, allocations: 67.48 kB / 0.531 GB, free: 3.375 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.6113, allocations: 4 kB / 0.5311 GB, free: 3.371 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002264/0.6115, allocations: 175.5 kB / 0.5312 GB, free: 3.219 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.6116, allocations: 40.86 kB / 0.5313 GB, free: 3.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.6116, allocations: 0 / 0.5313 GB, free: 3.176 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.6116, allocations: 3.984 kB / 0.5313 GB, free: 3.172 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.33e-05/0.6117, allocations: 16 kB / 0.5313 GB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.6117, allocations: 0 / 0.5313 GB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.367e-05/0.6118, allocations: 4 kB / 0.5313 GB, free: 3.152 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.6118, allocations: 11.11 kB / 0.5313 GB, free: 3.145 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 7.773e-05/0.6119, allocations: 116.9 kB / 0.5314 GB, free: 3.027 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.6119, allocations: 12.05 kB / 0.5314 GB, free: 3.016 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.6121, allocations: 118.2 kB / 0.5315 GB, free: 2.918 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.6122, allocations: 0 / 0.5315 GB, free: 2.918 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.6122, allocations: 4 kB / 0.5315 GB, free: 2.914 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.6122, allocations: 0 / 0.5315 GB, free: 2.914 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003804/0.6126, allocations: 401.4 kB / 0.5319 GB, free: 2.504 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.6126, allocations: 0 / 0.5319 GB, free: 2.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.698e-05/0.6126, allocations: 12 kB / 0.5319 GB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.6126, allocations: 0 / 0.5319 GB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.6127, allocations: 7.281 kB / 0.5319 GB, free: 2.488 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.6127, allocations: 4 kB / 0.5319 GB, free: 2.484 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.6127, allocations: 3.984 kB / 0.5319 GB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.6129, allocations: 218.6 kB / 0.5321 GB, free: 2.262 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.6129, allocations: 92.12 kB / 0.5322 GB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.613, allocations: 4 kB / 0.5322 GB, free: 2.152 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.796e-05/0.613, allocations: 4 kB / 0.5322 GB, free: 2.148 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.6131, allocations: 15.3 kB / 0.5323 GB, free: 2.137 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.6131, allocations: 4.281 kB / 0.5323 GB, free: 2.133 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.74e-05/0.6132, allocations: 114 kB / 0.5324 GB, free: 2.031 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6132, allocations: 0 / 0.5324 GB, free: 2.031 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002597/0.6135, allocations: 43.48 kB / 0.5324 GB, free: 1.992 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.0008694/0.6143, allocations: 399.9 kB / 0.5328 GB, free: 1.676 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.6146, allocations: 160.6 kB / 0.5329 GB, free: 1.547 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.6146, allocations: 4 kB / 0.533 GB, free: 1.543 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.378e-05/0.6146, allocations: 29.8 kB / 0.533 GB, free: 1.523 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.6149, allocations: 25.31 kB / 0.533 GB, free: 1.504 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.6152, allocations: 146.4 kB / 0.5331 GB, free: 1.344 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.6154, allocations: 0.7045 MB / 0.5338 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.912e-05/0.6154, allocations: 16.56 kB / 0.5338 GB, free: 0.5938 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.6155, allocations: 15.44 kB / 0.5339 GB, free: 0.582 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6155, allocations: 0 / 0.5339 GB, free: 0.582 MB / 346.7 MB Notification: Performance of Templates: time 0.004082/0.6196, allocations: 1.69 MB / 0.5355 GB, free: 14.92 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1)