Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001365/0.001365, allocations: 187.4 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.575/1.575, allocations: 194.3 MB / 202.4 MB, free: 8.469 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.001845/0.001845, allocations: 106.8 kB / 247.4 MB, free: 6.207 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.2209/0.2209, allocations: 39.94 MB / 332.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.769e-05/1.771e-05, allocations: 4 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.112, allocations: 54.88 MB / 448.2 MB, free: 20.63 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3963/0.5083, allocations: 81.42 MB / 0.5172 GB, free: 10.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/0.5086, allocations: 73.3 kB / 0.5173 GB, free: 10.35 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.01206/0.5207, allocations: 5.005 MB / 0.5222 GB, free: 9.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5207, allocations: 0 / 0.5222 GB, free: 9.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.825e-05/0.5207, allocations: 3.812 kB / 0.5222 GB, free: 9.16 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.0005062/0.5212, allocations: 0.5506 MB / 0.5227 GB, free: 8.598 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.5213, allocations: 7.719 kB / 0.5227 GB, free: 8.598 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.816e-05/0.5213, allocations: 19.45 kB / 0.5227 GB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.5217, allocations: 232.7 kB / 0.523 GB, free: 8.359 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.5217, allocations: 11.14 kB / 0.523 GB, free: 8.355 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.5218, allocations: 3.812 kB / 0.523 GB, free: 8.355 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.867e-05/0.5219, allocations: 26.02 kB / 0.523 GB, free: 8.352 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.522, allocations: 101.4 kB / 0.5231 GB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.522, allocations: 0 / 0.5231 GB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.522, allocations: 0 / 0.5231 GB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.5221, allocations: 3.812 kB / 0.5231 GB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001865/0.5222, allocations: 210.1 kB / 0.5233 GB, free: 8.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.5224, allocations: 100 kB / 0.5234 GB, free: 8.012 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.197e-05/0.5225, allocations: 36.44 kB / 0.5234 GB, free: 7.996 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.5225, allocations: 3.938 kB / 0.5234 GB, free: 7.992 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.5227, allocations: 114.6 kB / 0.5235 GB, free: 7.902 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/0.5227, allocations: 0 / 0.5235 GB, free: 7.902 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002718/0.523, allocations: 127.9 kB / 0.5237 GB, free: 7.852 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.523, allocations: 135.7 kB / 0.5238 GB, free: 7.691 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.5232, allocations: 179.9 kB / 0.524 GB, free: 7.582 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.5232, allocations: 29.58 kB / 0.524 GB, free: 7.551 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.5233, allocations: 102.1 kB / 0.5241 GB, free: 7.461 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.5233, allocations: 27.72 kB / 0.5241 GB, free: 7.441 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/0.5233, allocations: 11.78 kB / 0.5241 GB, free: 7.434 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.59e-05/0.5234, allocations: 329.2 kB / 0.5244 GB, free: 7.113 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.003e-05/0.5235, allocations: 40.09 kB / 0.5245 GB, free: 7.113 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.101e-05/0.5236, allocations: 81.89 kB / 0.5246 GB, free: 7.062 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.76e-05/0.5237, allocations: 60.12 kB / 0.5246 GB, free: 7.047 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5237, allocations: 0 / 0.5246 GB, free: 7.047 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002536/0.5239, allocations: 169.7 kB / 0.5248 GB, free: 6.992 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/0.524, allocations: 66.98 kB / 0.5248 GB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.524, allocations: 3.984 kB / 0.5248 GB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.524, allocations: 256 / 0.5248 GB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.5241, allocations: 30.36 kB / 0.5249 GB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.5242, allocations: 4 kB / 0.5249 GB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.633e-05/0.5243, allocations: 27.5 kB / 0.5249 GB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.5243, allocations: 11.78 kB / 0.5249 GB, free: 6.891 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.256e-05/0.5244, allocations: 120.6 kB / 0.525 GB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.5244, allocations: 14.72 kB / 0.525 GB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.5246, allocations: 141.2 kB / 0.5252 GB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.5247, allocations: 3.906 kB / 0.5252 GB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.5247, allocations: 0 / 0.5252 GB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.5247, allocations: 0 / 0.5252 GB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.5248, allocations: 209.7 kB / 0.5254 GB, free: 6.508 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.5248, allocations: 4 kB / 0.5254 GB, free: 6.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.273e-05/0.5249, allocations: 11.34 kB / 0.5254 GB, free: 6.504 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.5249, allocations: 3.984 kB / 0.5254 GB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.5249, allocations: 3.875 kB / 0.5254 GB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.5249, allocations: 0 / 0.5254 GB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5249, allocations: 0 / 0.5254 GB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.5251, allocations: 182.7 kB / 0.5256 GB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.057e-05/0.5252, allocations: 111.4 kB / 0.5257 GB, free: 6.273 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.5252, allocations: 0 / 0.5257 GB, free: 6.273 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.789e-05/0.5253, allocations: 7.719 kB / 0.5257 GB, free: 6.273 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.5254, allocations: 14.8 kB / 0.5257 GB, free: 6.266 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.5254, allocations: 7.797 kB / 0.5257 GB, free: 6.262 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.234e-05/0.5255, allocations: 143.7 kB / 0.5259 GB, free: 6.176 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5255, allocations: 0 / 0.5259 GB, free: 6.176 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002949/0.5258, allocations: 68.73 kB / 0.5259 GB, free: 6.156 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.001175/0.527, allocations: 0.5748 MB / 0.5265 GB, free: 5.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.5272, allocations: 250.9 kB / 0.5267 GB, free: 5.633 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5272, allocations: 0 / 0.5267 GB, free: 5.633 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.726e-05/0.5273, allocations: 42.84 kB / 0.5268 GB, free: 5.629 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.5276, allocations: 31.28 kB / 0.5268 GB, free: 5.617 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/0.5279, allocations: 186.1 kB / 0.527 GB, free: 5.492 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.528, allocations: 0.7187 MB / 0.5277 GB, free: 4.773 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.565e-05/0.5281, allocations: 36.08 kB / 0.5277 GB, free: 4.754 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.5282, allocations: 23.09 kB / 0.5277 GB, free: 4.742 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5282, allocations: 0 / 0.5277 GB, free: 4.742 MB / 346.7 MB Notification: Performance of Templates: time 0.004797/0.533, allocations: 2.844 MB / 0.5305 GB, free: 3.289 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1)