Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001472/0.001472, allocations: 187.3 kB / 7.654 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.61/1.61, allocations: 194.3 MB / 202.4 MB, free: 8.477 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.001588/0.001588, allocations: 117.6 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.1771/0.1771, allocations: 39.95 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.141e-05/2.145e-05, allocations: 8 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08027/0.0803, allocations: 54.88 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3203/0.4007, allocations: 81.39 MB / 0.5172 GB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000198/0.4009, allocations: 69.02 kB / 0.5172 GB, free: 10.38 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.01028/0.4112, allocations: 4.532 MB / 0.5217 GB, free: 9.234 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.4112, allocations: 0 / 0.5217 GB, free: 9.234 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.4113, allocations: 0 / 0.5217 GB, free: 9.234 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.0003307/0.4116, allocations: 455 kB / 0.5221 GB, free: 8.773 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.4116, allocations: 7.688 kB / 0.5221 GB, free: 8.773 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.962e-05/0.4117, allocations: 11.12 kB / 0.5221 GB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.4119, allocations: 210.4 kB / 0.5223 GB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.4119, allocations: 3.844 kB / 0.5223 GB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.4119, allocations: 3.844 kB / 0.5223 GB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.716e-05/0.412, allocations: 21.08 kB / 0.5224 GB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.11e-05/0.4121, allocations: 51.16 kB / 0.5224 GB, free: 8.504 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.4121, allocations: 7.938 kB / 0.5224 GB, free: 8.496 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.4121, allocations: 0 / 0.5224 GB, free: 8.496 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.4121, allocations: 0 / 0.5224 GB, free: 8.496 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000265/0.4124, allocations: 301 kB / 0.5227 GB, free: 8.223 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.919e-05/0.4125, allocations: 47.58 kB / 0.5227 GB, free: 8.199 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.737e-05/0.4125, allocations: 23 kB / 0.5228 GB, free: 8.188 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.4126, allocations: 0 / 0.5228 GB, free: 8.188 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.676e-05/0.4127, allocations: 72.38 kB / 0.5228 GB, free: 8.125 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.4127, allocations: 4 kB / 0.5228 GB, free: 8.121 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003388/0.413, allocations: 141.3 kB / 0.523 GB, free: 8.066 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.405e-05/0.413, allocations: 55.34 kB / 0.523 GB, free: 8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.985e-05/0.4131, allocations: 162.9 kB / 0.5232 GB, free: 7.895 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.4132, allocations: 29.52 kB / 0.5232 GB, free: 7.863 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.878e-05/0.4132, allocations: 101.7 kB / 0.5233 GB, free: 7.773 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.4132, allocations: 23.27 kB / 0.5233 GB, free: 7.758 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/0.4132, allocations: 3.875 kB / 0.5233 GB, free: 7.758 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.911e-05/0.4133, allocations: 318.9 kB / 0.5236 GB, free: 7.441 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.647e-05/0.4133, allocations: 35.81 kB / 0.5237 GB, free: 7.438 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.98e-05/0.4134, allocations: 44.47 kB / 0.5237 GB, free: 7.422 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.632e-05/0.4135, allocations: 37.05 kB / 0.5237 GB, free: 7.418 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4135, allocations: 0 / 0.5237 GB, free: 7.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000166/0.4136, allocations: 142.4 kB / 0.5239 GB, free: 7.363 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.4137, allocations: 33.23 kB / 0.5239 GB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4137, allocations: 4.141 kB / 0.5239 GB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.4137, allocations: 4.031 kB / 0.5239 GB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.924e-05/0.4138, allocations: 23.33 kB / 0.5239 GB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.4138, allocations: 3.938 kB / 0.5239 GB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.032e-05/0.4139, allocations: 4 kB / 0.524 GB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.4139, allocations: 7.844 kB / 0.524 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 4.681e-05/0.4139, allocations: 116 kB / 0.5241 GB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.641e-05/0.4139, allocations: 11.62 kB / 0.5241 GB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.4141, allocations: 111.9 kB / 0.5242 GB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4141, allocations: 7.953 kB / 0.5242 GB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.4141, allocations: 3.938 kB / 0.5242 GB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.4141, allocations: 0 / 0.5242 GB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.4144, allocations: 374.9 kB / 0.5246 GB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4144, allocations: 0 / 0.5246 GB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.714e-05/0.4145, allocations: 11.62 kB / 0.5246 GB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4145, allocations: 7.797 kB / 0.5246 GB, free: 6.809 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-06/0.4145, allocations: 3.188 kB / 0.5246 GB, free: 6.809 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4145, allocations: 0 / 0.5246 GB, free: 6.809 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4145, allocations: 8 kB / 0.5246 GB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.4146, allocations: 205.1 kB / 0.5248 GB, free: 6.637 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.4147, allocations: 103.8 kB / 0.5249 GB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.4147, allocations: 11.05 kB / 0.5249 GB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-05/0.4148, allocations: 0 / 0.5249 GB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.4148, allocations: 7.875 kB / 0.5249 GB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.4148, allocations: 7.797 kB / 0.5249 GB, free: 6.516 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.307e-05/0.4149, allocations: 135.2 kB / 0.525 GB, free: 6.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4149, allocations: 0 / 0.525 GB, free: 6.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002421/0.4152, allocations: 34.95 kB / 0.5251 GB, free: 6.422 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.0006633/0.4158, allocations: 370.6 kB / 0.5254 GB, free: 6.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001626/0.416, allocations: 157.2 kB / 0.5256 GB, free: 6.109 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.416, allocations: 0 / 0.5256 GB, free: 6.109 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.063e-05/0.4161, allocations: 30.75 kB / 0.5256 GB, free: 6.105 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.4163, allocations: 19.45 kB / 0.5256 GB, free: 6.098 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.4165, allocations: 148.5 kB / 0.5258 GB, free: 5.996 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.4167, allocations: 0.7151 MB / 0.5265 GB, free: 5.277 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.495e-05/0.4167, allocations: 20 kB / 0.5265 GB, free: 5.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.4168, allocations: 11.31 kB / 0.5265 GB, free: 5.262 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4168, allocations: 3.844 kB / 0.5265 GB, free: 5.262 MB / 346.7 MB Notification: Performance of Templates: time 0.003216/0.42, allocations: 1.657 MB / 0.5281 GB, free: 4.43 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1)