Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009179/0.000918, allocations: 182.6 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.435/1.435, allocations: 194.3 MB / 202.4 MB, free: 8.555 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.001626/0.001626, allocations: 107.3 kB / 247.4 MB, free: 6.227 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.2089/0.2089, allocations: 39.94 MB / 332.2 MB, free: 4.793 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.587e-05/1.59e-05, allocations: 8 kB / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1278, allocations: 54.88 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4139/0.5418, allocations: 81.35 MB / 0.5171 GB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.5421, allocations: 73.14 kB / 0.5172 GB, free: 10.36 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.01052/0.5527, allocations: 4.47 MB / 0.5216 GB, free: 9.254 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5527, allocations: 0 / 0.5216 GB, free: 9.254 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.5527, allocations: 3.844 kB / 0.5216 GB, free: 9.254 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.0004094/0.5531, allocations: 459.1 kB / 0.522 GB, free: 8.785 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5532, allocations: 11.53 kB / 0.522 GB, free: 8.785 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.5532, allocations: 7.719 kB / 0.522 GB, free: 8.781 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.5535, allocations: 211.2 kB / 0.5222 GB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.5535, allocations: 3.812 kB / 0.5222 GB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.5535, allocations: 3.656 kB / 0.5222 GB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.597e-05/0.5536, allocations: 26.23 kB / 0.5223 GB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.8e-05/0.5537, allocations: 52.59 kB / 0.5223 GB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.5537, allocations: 3.953 kB / 0.5223 GB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.5538, allocations: 0 / 0.5223 GB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.5538, allocations: 0 / 0.5223 GB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.5541, allocations: 296.2 kB / 0.5226 GB, free: 8.242 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.087e-05/0.5542, allocations: 56.25 kB / 0.5227 GB, free: 8.211 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/0.5543, allocations: 19.86 kB / 0.5227 GB, free: 8.203 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.968e-06/0.5543, allocations: 3.938 kB / 0.5227 GB, free: 8.199 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001176/0.5544, allocations: 69.5 kB / 0.5228 GB, free: 8.141 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.5544, allocations: 0 / 0.5228 GB, free: 8.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004033/0.5548, allocations: 154.2 kB / 0.5229 GB, free: 8.074 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.807e-05/0.5549, allocations: 51.41 kB / 0.5229 GB, free: 8.012 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.555, allocations: 179 kB / 0.5231 GB, free: 7.891 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.555, allocations: 25.7 kB / 0.5231 GB, free: 7.859 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/0.5551, allocations: 98.08 kB / 0.5232 GB, free: 7.777 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.5551, allocations: 27.2 kB / 0.5233 GB, free: 7.758 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.5551, allocations: 0 / 0.5233 GB, free: 7.758 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.151e-05/0.5552, allocations: 326.6 kB / 0.5236 GB, free: 7.441 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.888e-05/0.5552, allocations: 29.94 kB / 0.5236 GB, free: 7.441 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.333e-05/0.5553, allocations: 54.83 kB / 0.5237 GB, free: 7.418 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.792e-05/0.5553, allocations: 33.83 kB / 0.5237 GB, free: 7.414 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.5553, allocations: 0 / 0.5237 GB, free: 7.414 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001717/0.5555, allocations: 137.2 kB / 0.5238 GB, free: 7.363 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.5555, allocations: 37.5 kB / 0.5239 GB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5556, allocations: 3.953 kB / 0.5239 GB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.5556, allocations: 0 / 0.5239 GB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.395e-05/0.5557, allocations: 15.34 kB / 0.5239 GB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.5557, allocations: 3.938 kB / 0.5239 GB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.196e-05/0.5557, allocations: 12.11 kB / 0.5239 GB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.5558, allocations: 7.812 kB / 0.5239 GB, free: 7.309 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.94e-05/0.5558, allocations: 115.8 kB / 0.524 GB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.5558, allocations: 11.59 kB / 0.524 GB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001834/0.556, allocations: 113.2 kB / 0.5241 GB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.556, allocations: 3.953 kB / 0.5241 GB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5561, allocations: 0 / 0.5241 GB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.5561, allocations: 0 / 0.5241 GB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002954/0.5564, allocations: 379.7 kB / 0.5245 GB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.5564, allocations: 0 / 0.5245 GB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.885e-05/0.5564, allocations: 18.83 kB / 0.5245 GB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.5564, allocations: 4.141 kB / 0.5245 GB, free: 6.809 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.5564, allocations: 3.844 kB / 0.5245 GB, free: 6.809 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5565, allocations: 4.094 kB / 0.5245 GB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5565, allocations: 0 / 0.5245 GB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.5566, allocations: 218.3 kB / 0.5247 GB, free: 6.629 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.5567, allocations: 103.8 kB / 0.5248 GB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.5567, allocations: 3.844 kB / 0.5248 GB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.946e-05/0.5568, allocations: 3.984 kB / 0.5248 GB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.5569, allocations: 7.312 kB / 0.5248 GB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.5569, allocations: 3.812 kB / 0.5248 GB, free: 6.516 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.619e-05/0.557, allocations: 140.1 kB / 0.525 GB, free: 6.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.557, allocations: 0 / 0.525 GB, free: 6.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002485/0.5572, allocations: 42.61 kB / 0.525 GB, free: 6.414 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.0007363/0.558, allocations: 356.5 kB / 0.5254 GB, free: 6.184 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001797/0.5582, allocations: 156.7 kB / 0.5255 GB, free: 6.117 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5582, allocations: 4.062 kB / 0.5255 GB, free: 6.113 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.296e-05/0.5582, allocations: 30.28 kB / 0.5255 GB, free: 6.109 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.5584, allocations: 18.39 kB / 0.5256 GB, free: 6.105 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002871/0.5587, allocations: 178.5 kB / 0.5257 GB, free: 5.988 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.5589, allocations: 0.7108 MB / 0.5264 GB, free: 5.273 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.713e-05/0.5589, allocations: 20.02 kB / 0.5264 GB, free: 5.266 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.559, allocations: 22.48 kB / 0.5265 GB, free: 5.254 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.559, allocations: 0 / 0.5265 GB, free: 5.254 MB / 346.7 MB Notification: Performance of Templates: time 0.003567/0.5626, allocations: 1.665 MB / 0.5281 GB, free: 4.414 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1)