Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001369/0.001369, allocations: 181.6 kB / 7.651 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.479/1.479, allocations: 194.3 MB / 202.4 MB, free: 8.535 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.001693/0.001693, allocations: 111.9 kB / 247.4 MB, free: 6.23 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.2238/0.2238, allocations: 39.94 MB / 332.2 MB, free: 4.789 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.343e-05/2.347e-05, allocations: 8 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1021, allocations: 54.87 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3973/0.4994, allocations: 81.42 MB / 0.5172 GB, free: 10.44 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.4997, allocations: 72.92 kB / 0.5173 GB, free: 10.44 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. [/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.01175/0.5115, allocations: 5.008 MB / 0.5222 GB, free: 9.246 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.5115, allocations: 0 / 0.5222 GB, free: 9.246 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.5115, allocations: 0 / 0.5222 GB, free: 9.246 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000508/0.5121, allocations: 0.5478 MB / 0.5227 GB, free: 8.684 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.5121, allocations: 11.69 kB / 0.5227 GB, free: 8.684 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.587e-05/0.5122, allocations: 19.53 kB / 0.5227 GB, free: 8.672 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.5125, allocations: 240 kB / 0.523 GB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.5125, allocations: 0 / 0.523 GB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.5126, allocations: 7.781 kB / 0.523 GB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.405e-05/0.5127, allocations: 26.48 kB / 0.523 GB, free: 8.438 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.5128, allocations: 104.8 kB / 0.5231 GB, free: 8.352 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.5128, allocations: 0 / 0.5231 GB, free: 8.352 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.5129, allocations: 3.984 kB / 0.5231 GB, free: 8.348 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.5129, allocations: 0 / 0.5231 GB, free: 8.348 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/0.5131, allocations: 212.1 kB / 0.5233 GB, free: 8.152 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.5132, allocations: 90.67 kB / 0.5234 GB, free: 8.098 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.538e-05/0.5133, allocations: 46.73 kB / 0.5234 GB, free: 8.074 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.5133, allocations: 0 / 0.5234 GB, free: 8.074 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/0.5135, allocations: 106.6 kB / 0.5235 GB, free: 7.992 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 3.066e-06/0.5135, allocations: 7.984 kB / 0.5235 GB, free: 7.984 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002708/0.5138, allocations: 127.8 kB / 0.5237 GB, free: 7.934 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.5138, allocations: 135.8 kB / 0.5238 GB, free: 7.773 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.514, allocations: 180.4 kB / 0.524 GB, free: 7.664 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.514, allocations: 29.48 kB / 0.524 GB, free: 7.633 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.797e-05/0.514, allocations: 102.3 kB / 0.5241 GB, free: 7.543 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.5141, allocations: 35.14 kB / 0.5241 GB, free: 7.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-06/0.5141, allocations: 0 / 0.5241 GB, free: 7.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.153e-05/0.5141, allocations: 325.4 kB / 0.5244 GB, free: 7.203 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.242e-05/0.5142, allocations: 48.39 kB / 0.5245 GB, free: 7.195 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.721e-05/0.5143, allocations: 82.67 kB / 0.5246 GB, free: 7.145 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.126e-05/0.5144, allocations: 53.48 kB / 0.5246 GB, free: 7.133 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5144, allocations: 0 / 0.5246 GB, free: 7.133 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002401/0.5146, allocations: 181.5 kB / 0.5248 GB, free: 7.066 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/0.5147, allocations: 62.81 kB / 0.5248 GB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5147, allocations: 7.828 kB / 0.5249 GB, free: 7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.5147, allocations: 0 / 0.5249 GB, free: 7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.5148, allocations: 19.22 kB / 0.5249 GB, free: 7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.5148, allocations: 0 / 0.5249 GB, free: 7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.669e-05/0.5149, allocations: 27.31 kB / 0.5249 GB, free: 6.984 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.515, allocations: 7.656 kB / 0.5249 GB, free: 6.984 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_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (16): * Single equations (assignments): 14 * 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.463e-05/0.515, allocations: 120.2 kB / 0.525 GB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.5151, allocations: 15.66 kB / 0.525 GB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/0.5153, allocations: 148 kB / 0.5252 GB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.5153, allocations: 7.328 kB / 0.5252 GB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5153, allocations: 64 / 0.5252 GB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.5153, allocations: 4 kB / 0.5252 GB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.5155, allocations: 205.2 kB / 0.5254 GB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5155, allocations: 3.656 kB / 0.5254 GB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.984e-05/0.5155, allocations: 7.75 kB / 0.5254 GB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.5155, allocations: 4 kB / 0.5254 GB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.5156, allocations: 3.875 kB / 0.5254 GB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.5156, allocations: 0 / 0.5254 GB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.5156, allocations: 0 / 0.5254 GB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.5158, allocations: 192 kB / 0.5256 GB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.609e-05/0.5158, allocations: 99.72 kB / 0.5257 GB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.5159, allocations: 3.594 kB / 0.5257 GB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.733e-05/0.516, allocations: 15.61 kB / 0.5257 GB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.516, allocations: 11.36 kB / 0.5257 GB, free: 6.348 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.516, allocations: 3.875 kB / 0.5257 GB, free: 6.348 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.744e-05/0.5161, allocations: 148.6 kB / 0.5259 GB, free: 6.258 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5161, allocations: 0 / 0.5259 GB, free: 6.258 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002997/0.5164, allocations: 69.98 kB / 0.5259 GB, free: 6.238 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.001221/0.5177, allocations: 0.584 MB / 0.5265 GB, free: 5.832 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002675/0.5179, allocations: 242.5 kB / 0.5267 GB, free: 5.699 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5179, allocations: 0 / 0.5267 GB, free: 5.699 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.849e-05/0.518, allocations: 44.42 kB / 0.5268 GB, free: 5.695 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.5183, allocations: 34.53 kB / 0.5268 GB, free: 5.684 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003593/0.5186, allocations: 187.3 kB / 0.527 GB, free: 5.555 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.5188, allocations: 0.7228 MB / 0.5277 GB, free: 4.836 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.218e-05/0.5189, allocations: 20.72 kB / 0.5277 GB, free: 4.828 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.784e-05/0.519, allocations: 22.89 kB / 0.5277 GB, free: 4.816 MB / 346.7 MB Notification: Performance of SimCode: time 3e-07/0.519, allocations: 0 / 0.5277 GB, free: 4.816 MB / 346.7 MB Notification: Performance of Templates: time 0.005403/0.5244, allocations: 2.858 MB / 0.5305 GB, free: 3.352 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1)