Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001335/0.001335, allocations: 181.9 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.489/1.489, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.001575/0.001575, allocations: 110.8 kB / 252.6 MB, free: 4.832 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.2236/0.2236, allocations: 39.93 MB / 337.5 MB, free: 492 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.634e-05/4.638e-05, allocations: 8 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1418, allocations: 54.85 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4748/0.6166, allocations: 83.4 MB / 0.5259 GB, free: 7.992 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.617, allocations: 66.72 kB / 0.526 GB, free: 7.961 MB / 346.7 MB [/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.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.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.01141/0.6284, allocations: 4.169 MB / 0.5301 GB, free: 4.625 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6284, allocations: 0 / 0.5301 GB, free: 4.625 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.6284, allocations: 3.938 kB / 0.5301 GB, free: 4.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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007715/0.6292, allocations: 0.5902 MB / 0.5306 GB, free: 3.973 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.6293, allocations: 8.031 kB / 0.5306 GB, free: 3.965 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.245e-05/0.6294, allocations: 19.77 kB / 0.5307 GB, free: 3.945 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.6297, allocations: 229.8 kB / 0.5309 GB, free: 3.695 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.6298, allocations: 11.94 kB / 0.5309 GB, free: 3.684 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.85e-05/0.6298, allocations: 11.69 kB / 0.5309 GB, free: 3.676 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.63, allocations: 88.72 kB / 0.531 GB, free: 3.602 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.63, allocations: 0 / 0.531 GB, free: 3.602 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.6301, allocations: 3.984 kB / 0.531 GB, free: 3.598 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.6301, allocations: 3.953 kB / 0.531 GB, free: 3.594 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.6302, allocations: 55.31 kB / 0.5311 GB, free: 3.559 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006702/0.6309, allocations: 454 kB / 0.5315 GB, free: 3.113 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.6312, allocations: 105.5 kB / 0.5316 GB, free: 3.027 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.706e-05/0.6313, allocations: 52.27 kB / 0.5316 GB, free: 2.988 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.6313, allocations: 0 / 0.5316 GB, free: 2.988 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002026/0.6315, allocations: 107 kB / 0.5317 GB, free: 2.891 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.6315, allocations: 4 kB / 0.5317 GB, free: 2.887 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003148/0.6318, allocations: 132.3 kB / 0.5319 GB, free: 2.773 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.6319, allocations: 59.41 kB / 0.5319 GB, free: 2.703 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.6321, allocations: 192.4 kB / 0.5321 GB, free: 2.531 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.6321, allocations: 33.64 kB / 0.5321 GB, free: 2.492 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/0.6321, allocations: 115.2 kB / 0.5323 GB, free: 2.395 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.6322, allocations: 31.42 kB / 0.5323 GB, free: 2.367 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.159e-05/0.6322, allocations: 7.75 kB / 0.5323 GB, free: 2.363 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.746e-05/0.6323, allocations: 326.5 kB / 0.5326 GB, free: 2.043 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.134e-05/0.6324, allocations: 59.59 kB / 0.5327 GB, free: 2 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.629e-05/0.6325, allocations: 85.75 kB / 0.5327 GB, free: 1.934 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.6326, allocations: 110.6 kB / 0.5328 GB, free: 1.832 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.6326, allocations: 0 / 0.5328 GB, free: 1.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002988/0.6329, allocations: 256.3 kB / 0.5331 GB, free: 1.609 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.622e-05/0.633, allocations: 59.41 kB / 0.5331 GB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.633, allocations: 3.984 kB / 0.5331 GB, free: 1.535 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.633, allocations: 12.02 kB / 0.5332 GB, free: 1.523 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.6332, allocations: 39.84 kB / 0.5332 GB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.6332, allocations: 3.938 kB / 0.5332 GB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.6334, allocations: 39.81 kB / 0.5332 GB, free: 1.445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/0.6334, allocations: 7.938 kB / 0.5332 GB, free: 1.441 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,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 (17): * Single equations (assignments): 15 * 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 7.866e-05/0.6335, allocations: 117.5 kB / 0.5334 GB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.6335, allocations: 15.81 kB / 0.5334 GB, free: 1.309 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002748/0.6338, allocations: 162 kB / 0.5335 GB, free: 1.172 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.6338, allocations: 4 kB / 0.5335 GB, free: 1.168 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.6339, allocations: 3.953 kB / 0.5335 GB, free: 1.164 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6339, allocations: 0 / 0.5335 GB, free: 1.164 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.634, allocations: 232.6 kB / 0.5338 GB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.634, allocations: 0 / 0.5338 GB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.6342, allocations: 31.98 kB / 0.5338 GB, free: 0.8789 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.6342, allocations: 0 / 0.5338 GB, free: 0.8789 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.6342, allocations: 7.797 kB / 0.5338 GB, free: 0.875 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.6342, allocations: 4 kB / 0.5338 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6343, allocations: 0 / 0.5338 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003356/0.6346, allocations: 223.7 kB / 0.534 GB, free: 0.6836 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.295e-05/0.6347, allocations: 116.7 kB / 0.5341 GB, free: 0.5547 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.6347, allocations: 6.875 kB / 0.5341 GB, free: 0.5508 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.6349, allocations: 27.22 kB / 0.5342 GB, free: 0.5273 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/0.635, allocations: 19.22 kB / 0.5342 GB, free: 0.5117 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.635, allocations: 4 kB / 0.5342 GB, free: 0.5078 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001053/0.6351, allocations: 157 kB / 0.5343 GB, free: 384 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6351, allocations: 0 / 0.5343 GB, free: 384 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002486/0.6354, allocations: 62.17 kB / 0.5344 GB, free: 328 kB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.0007903/0.6362, allocations: 364 kB / 0.5347 GB, free: 32 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003801/0.6366, allocations: 256.6 kB / 0.535 GB, free: 15.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6366, allocations: 0 / 0.535 GB, free: 15.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.6367, allocations: 56.97 kB / 0.535 GB, free: 15.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.637, allocations: 36.94 kB / 0.5351 GB, free: 15.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005583/0.6375, allocations: 219.9 kB / 0.5353 GB, free: 15.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.6379, allocations: 0.7283 MB / 0.536 GB, free: 14.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.638, allocations: 25.19 kB / 0.536 GB, free: 14.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.916e-05/0.6381, allocations: 19.31 kB / 0.536 GB, free: 14.73 MB / 362.7 MB Notification: Performance of SimCode: time 4.1e-07/0.6381, allocations: 0 / 0.536 GB, free: 14.73 MB / 362.7 MB Notification: Performance of Templates: time 0.006102/0.6442, allocations: 2.581 MB / 0.5386 GB, free: 12.17 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)