Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001395/0.001395, allocations: 182.8 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.564/1.564, allocations: 194.3 MB / 202.4 MB, free: 8.48 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.001652/0.001652, allocations: 110.2 kB / 247.4 MB, free: 6.215 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.2149/0.2149, allocations: 39.95 MB / 332.2 MB, free: 4.758 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.116e-05/2.118e-05, allocations: 11.98 kB / 393.3 MB, free: 75.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1027, allocations: 54.88 MB / 448.2 MB, free: 20.63 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4032/0.5059, allocations: 81.49 MB / 0.5173 GB, free: 10.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.5062, allocations: 69.41 kB / 0.5174 GB, free: 10.35 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getDerTableValue. [/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_2.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_2.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_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.01537/0.5216, allocations: 6.863 MB / 0.5241 GB, free: 8.348 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.5216, allocations: 0 / 0.5241 GB, free: 8.348 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.5216, allocations: 7.969 kB / 0.5241 GB, free: 8.344 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005573/0.5222, allocations: 0.6057 MB / 0.5247 GB, free: 7.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.5222, allocations: 11.5 kB / 0.5247 GB, free: 7.746 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.523e-05/0.5223, allocations: 42.55 kB / 0.5247 GB, free: 7.723 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.5227, allocations: 274.7 kB / 0.525 GB, free: 7.477 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.5227, allocations: 0 / 0.525 GB, free: 7.477 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.5228, allocations: 19.23 kB / 0.525 GB, free: 7.469 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001016/0.5229, allocations: 37.48 kB / 0.525 GB, free: 7.461 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.523, allocations: 89.83 kB / 0.5251 GB, free: 7.398 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.523, allocations: 0 / 0.5251 GB, free: 7.398 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.523, allocations: 3.062 kB / 0.5251 GB, free: 7.398 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.5231, allocations: 3.875 kB / 0.5251 GB, free: 7.398 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005405/0.5236, allocations: 491.5 kB / 0.5256 GB, free: 7.008 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.5238, allocations: 101.1 kB / 0.5257 GB, free: 6.953 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.411e-05/0.5238, allocations: 42.83 kB / 0.5257 GB, free: 6.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.5238, allocations: 3.844 kB / 0.5257 GB, free: 6.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/0.524, allocations: 106 kB / 0.5258 GB, free: 6.852 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.545e-06/0.524, allocations: 0 / 0.5258 GB, free: 6.852 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006648/0.5247, allocations: 331.8 kB / 0.5261 GB, free: 6.715 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.5247, allocations: 80.98 kB / 0.5262 GB, free: 6.621 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.5251, allocations: 365.2 kB / 0.5266 GB, free: 6.492 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.5251, allocations: 33.53 kB / 0.5266 GB, free: 6.457 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.5252, allocations: 146.4 kB / 0.5267 GB, free: 6.363 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.5252, allocations: 52.56 kB / 0.5268 GB, free: 6.328 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/0.5252, allocations: 3.938 kB / 0.5268 GB, free: 6.328 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.305e-05/0.5253, allocations: 341 kB / 0.5271 GB, free: 6.004 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.251e-05/0.5254, allocations: 60.53 kB / 0.5272 GB, free: 6 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.5255, allocations: 101.8 kB / 0.5273 GB, free: 5.961 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.5256, allocations: 75.08 kB / 0.5273 GB, free: 5.945 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.5257, allocations: 3.938 kB / 0.5273 GB, free: 5.941 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003338/0.526, allocations: 243.3 kB / 0.5276 GB, free: 5.875 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.493e-05/0.526, allocations: 70.7 kB / 0.5276 GB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/0.5261, allocations: 0 / 0.5276 GB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.5261, allocations: 0 / 0.5276 GB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.5262, allocations: 33.86 kB / 0.5277 GB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.5262, allocations: 7.75 kB / 0.5277 GB, free: 5.801 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.5264, allocations: 15.75 kB / 0.5277 GB, free: 5.793 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.5264, allocations: 15.45 kB / 0.5277 GB, free: 5.789 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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 8.348e-05/0.5265, allocations: 120 kB / 0.5278 GB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.5265, allocations: 30.64 kB / 0.5279 GB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/0.5268, allocations: 210 kB / 0.5281 GB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.5268, allocations: 0 / 0.5281 GB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5268, allocations: 0 / 0.5281 GB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5269, allocations: 7.969 kB / 0.5281 GB, free: 5.574 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005701/0.5274, allocations: 0.638 MB / 0.5287 GB, free: 5.133 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.5274, allocations: 0 / 0.5287 GB, free: 5.133 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.467e-05/0.5275, allocations: 23.14 kB / 0.5287 GB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.5275, allocations: 3.688 kB / 0.5287 GB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.5275, allocations: 0 / 0.5287 GB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.5276, allocations: 3.875 kB / 0.5287 GB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.5276, allocations: 4.062 kB / 0.5287 GB, free: 5.125 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.5279, allocations: 403.7 kB / 0.5291 GB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.528, allocations: 133.4 kB / 0.5292 GB, free: 4.699 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/0.528, allocations: 4.328 kB / 0.5292 GB, free: 4.695 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.5282, allocations: 18.8 kB / 0.5293 GB, free: 4.688 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.5282, allocations: 15.67 kB / 0.5293 GB, free: 4.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.5282, allocations: 6.688 kB / 0.5293 GB, free: 4.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002271/0.5285, allocations: 288.5 kB / 0.5296 GB, free: 4.574 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5285, allocations: 0 / 0.5296 GB, free: 4.574 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003686/0.5289, allocations: 91.05 kB / 0.5296 GB, free: 4.551 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001127/0.53, allocations: 0.5357 MB / 0.5302 GB, free: 4.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002989/0.5303, allocations: 313.2 kB / 0.5305 GB, free: 4.039 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5303, allocations: 3.812 kB / 0.5305 GB, free: 4.039 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.36e-05/0.5304, allocations: 57.84 kB / 0.5305 GB, free: 4.031 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.5307, allocations: 37.38 kB / 0.5306 GB, free: 4.023 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005821/0.5313, allocations: 412.1 kB / 0.531 GB, free: 3.816 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.5315, allocations: 0.764 MB / 0.5317 GB, free: 3.086 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.292e-05/0.5316, allocations: 36.53 kB / 0.5317 GB, free: 3.074 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.946e-05/0.5317, allocations: 34.11 kB / 0.5318 GB, free: 3.059 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5317, allocations: 0 / 0.5318 GB, free: 3.059 MB / 346.7 MB Notification: Performance of Templates: time 0.005322/0.537, allocations: 3.241 MB / 0.5349 GB, free: 204 kB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1)