Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00149/0.00149, allocations: 174.2 kB / 7.649 MB, free: 1.398 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.425/1.425, allocations: 194.3 MB / 202.4 MB, free: 8.473 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.001731/0.001731, allocations: 110.3 kB / 247.4 MB, free: 6.242 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.208/0.208, allocations: 39.95 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.987e-05/1.988e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1037, allocations: 54.88 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3969/0.5007, allocations: 81.39 MB / 0.5172 GB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.501, allocations: 72.34 kB / 0.5173 GB, free: 10.39 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.01474/0.5157, allocations: 4.524 MB / 0.5217 GB, free: 9.262 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5157, allocations: 0 / 0.5217 GB, free: 9.262 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.5158, allocations: 3.844 kB / 0.5217 GB, free: 9.262 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.0004873/0.5163, allocations: 450.1 kB / 0.5221 GB, free: 8.801 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.5163, allocations: 11.44 kB / 0.5221 GB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.831e-05/0.5164, allocations: 7.719 kB / 0.5221 GB, free: 8.797 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.5167, allocations: 218 kB / 0.5223 GB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.5167, allocations: 0 / 0.5223 GB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.5168, allocations: 3.875 kB / 0.5223 GB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.819e-05/0.5169, allocations: 22.14 kB / 0.5224 GB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.755e-05/0.517, allocations: 51.81 kB / 0.5224 GB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.517, allocations: 3.953 kB / 0.5224 GB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.517, allocations: 0 / 0.5224 GB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.5171, allocations: 7.828 kB / 0.5224 GB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.5174, allocations: 292.2 kB / 0.5227 GB, free: 8.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.5176, allocations: 51.88 kB / 0.5227 GB, free: 8.223 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.067e-05/0.5176, allocations: 16.36 kB / 0.5228 GB, free: 8.215 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.5176, allocations: 3.938 kB / 0.5228 GB, free: 8.211 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00014/0.5178, allocations: 73.22 kB / 0.5228 GB, free: 8.152 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.5178, allocations: 4 kB / 0.5228 GB, free: 8.148 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005175/0.5183, allocations: 147.5 kB / 0.523 GB, free: 8.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.5184, allocations: 55.25 kB / 0.523 GB, free: 8.027 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.5185, allocations: 161.5 kB / 0.5232 GB, free: 7.922 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.5186, allocations: 25.7 kB / 0.5232 GB, free: 7.891 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.5186, allocations: 101.9 kB / 0.5233 GB, free: 7.801 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.5187, allocations: 26.95 kB / 0.5233 GB, free: 7.785 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-06/0.5187, allocations: 0 / 0.5233 GB, free: 7.785 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.922e-05/0.5188, allocations: 322.6 kB / 0.5236 GB, free: 7.469 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.193e-05/0.5188, allocations: 33 kB / 0.5237 GB, free: 7.465 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.344e-05/0.5189, allocations: 46.09 kB / 0.5237 GB, free: 7.449 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.373e-05/0.519, allocations: 37.28 kB / 0.5238 GB, free: 7.441 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.519, allocations: 3.844 kB / 0.5238 GB, free: 7.441 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002526/0.5193, allocations: 133.9 kB / 0.5239 GB, free: 7.391 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/0.5193, allocations: 33.39 kB / 0.5239 GB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.5194, allocations: 3.953 kB / 0.5239 GB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.5194, allocations: 4.031 kB / 0.5239 GB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.5195, allocations: 22.58 kB / 0.5239 GB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.5195, allocations: 4.062 kB / 0.524 GB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.159e-05/0.5196, allocations: 7.969 kB / 0.524 GB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.5196, allocations: 7.844 kB / 0.524 GB, free: 7.336 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.382e-05/0.5197, allocations: 112.7 kB / 0.5241 GB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.5197, allocations: 15.31 kB / 0.5241 GB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/0.52, allocations: 109.2 kB / 0.5242 GB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.52, allocations: 7.953 kB / 0.5242 GB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.52, allocations: 0 / 0.5242 GB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.52, allocations: 7.969 kB / 0.5242 GB, free: 7.148 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003712/0.5204, allocations: 373 kB / 0.5246 GB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.5204, allocations: 0 / 0.5246 GB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.123e-05/0.5205, allocations: 11.69 kB / 0.5246 GB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.5205, allocations: 7.984 kB / 0.5246 GB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.5205, allocations: 0 / 0.5246 GB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.5205, allocations: 3.938 kB / 0.5246 GB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.5206, allocations: 7.688 kB / 0.5246 GB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.5208, allocations: 210.7 kB / 0.5248 GB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.5208, allocations: 104.1 kB / 0.5249 GB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/0.5209, allocations: 3.625 kB / 0.5249 GB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.521, allocations: 3.844 kB / 0.5249 GB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.521, allocations: 11.67 kB / 0.5249 GB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.5211, allocations: 3.875 kB / 0.5249 GB, free: 6.539 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.405e-05/0.5212, allocations: 132.1 kB / 0.525 GB, free: 6.453 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5212, allocations: 0 / 0.525 GB, free: 6.453 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000401/0.5216, allocations: 37.92 kB / 0.5251 GB, free: 6.445 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.0009952/0.5226, allocations: 361.6 kB / 0.5254 GB, free: 6.207 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002353/0.5228, allocations: 155.5 kB / 0.5256 GB, free: 6.141 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5228, allocations: 0 / 0.5256 GB, free: 6.141 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.342e-05/0.5229, allocations: 30.09 kB / 0.5256 GB, free: 6.137 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.5232, allocations: 15.58 kB / 0.5256 GB, free: 6.133 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003615/0.5236, allocations: 154.8 kB / 0.5258 GB, free: 6.027 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.5238, allocations: 0.7076 MB / 0.5265 GB, free: 5.312 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.269e-05/0.5238, allocations: 20.16 kB / 0.5265 GB, free: 5.305 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.5239, allocations: 17.88 kB / 0.5265 GB, free: 5.297 MB / 346.7 MB Notification: Performance of SimCode: time 3.2e-07/0.5239, allocations: 0 / 0.5265 GB, free: 5.297 MB / 346.7 MB Notification: Performance of Templates: time 0.004766/0.5287, allocations: 1.658 MB / 0.5281 GB, free: 4.461 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1)