Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001422/0.001422, allocations: 180.3 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.534/1.534, allocations: 194.3 MB / 202.4 MB, free: 8.547 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.001611/0.001611, allocations: 111.5 kB / 247.4 MB, free: 6.203 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.2025/0.2025, allocations: 39.94 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.701e-05/1.704e-05, allocations: 4 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1072, allocations: 54.87 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.378/0.4852, allocations: 81.4 MB / 0.5172 GB, free: 10.28 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.4855, allocations: 67.84 kB / 0.5173 GB, free: 10.28 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.01066/0.4962, allocations: 4.519 MB / 0.5217 GB, free: 9.156 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4962, allocations: 0 / 0.5217 GB, free: 9.156 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.4962, allocations: 4 kB / 0.5217 GB, free: 9.152 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.0003599/0.4966, allocations: 462.6 kB / 0.5221 GB, free: 8.684 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.4966, allocations: 7.75 kB / 0.5221 GB, free: 8.684 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.014e-05/0.4967, allocations: 11.59 kB / 0.5221 GB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.4969, allocations: 202.7 kB / 0.5223 GB, free: 8.465 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.497, allocations: 4.734 kB / 0.5223 GB, free: 8.461 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.497, allocations: 7.812 kB / 0.5223 GB, free: 8.461 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.425e-05/0.4971, allocations: 14.59 kB / 0.5223 GB, free: 8.461 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.142e-05/0.4972, allocations: 56.86 kB / 0.5224 GB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.4972, allocations: 3.953 kB / 0.5224 GB, free: 8.414 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.4972, allocations: 3.688 kB / 0.5224 GB, free: 8.414 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.4972, allocations: 0 / 0.5224 GB, free: 8.414 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003083/0.4975, allocations: 291.4 kB / 0.5227 GB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.993e-05/0.4976, allocations: 55.62 kB / 0.5227 GB, free: 8.113 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.697e-05/0.4977, allocations: 19.92 kB / 0.5228 GB, free: 8.102 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.4977, allocations: 0 / 0.5228 GB, free: 8.102 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001093/0.4978, allocations: 72.84 kB / 0.5228 GB, free: 8.039 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.4979, allocations: 0 / 0.5228 GB, free: 8.039 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003821/0.4982, allocations: 147 kB / 0.523 GB, free: 7.984 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.4983, allocations: 55.39 kB / 0.523 GB, free: 7.918 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.4984, allocations: 161 kB / 0.5232 GB, free: 7.812 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.4984, allocations: 33.55 kB / 0.5232 GB, free: 7.777 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.4985, allocations: 102.3 kB / 0.5233 GB, free: 7.688 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.4985, allocations: 17.81 kB / 0.5233 GB, free: 7.676 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/0.4985, allocations: 0 / 0.5233 GB, free: 7.676 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.503e-05/0.4986, allocations: 323.1 kB / 0.5236 GB, free: 7.359 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.095e-05/0.4986, allocations: 37.44 kB / 0.5237 GB, free: 7.355 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.565e-05/0.4987, allocations: 49.3 kB / 0.5237 GB, free: 7.336 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.966e-05/0.4988, allocations: 38.39 kB / 0.5237 GB, free: 7.328 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.4988, allocations: 0 / 0.5237 GB, free: 7.328 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001745/0.4989, allocations: 130.4 kB / 0.5239 GB, free: 7.281 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.499, allocations: 44.56 kB / 0.5239 GB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.499, allocations: 3.953 kB / 0.5239 GB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.499, allocations: 3.844 kB / 0.5239 GB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.488e-05/0.4991, allocations: 11.75 kB / 0.5239 GB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.4991, allocations: 3.938 kB / 0.5239 GB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.37e-05/0.4992, allocations: 15.67 kB / 0.524 GB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.4992, allocations: 3.688 kB / 0.524 GB, free: 7.227 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 5.699e-05/0.4993, allocations: 111 kB / 0.5241 GB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.4993, allocations: 11.66 kB / 0.5241 GB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.4995, allocations: 112.8 kB / 0.5242 GB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.4995, allocations: 7.797 kB / 0.5242 GB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4995, allocations: 0 / 0.5242 GB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4995, allocations: 0 / 0.5242 GB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.4998, allocations: 383.9 kB / 0.5246 GB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.4998, allocations: 3.844 kB / 0.5246 GB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.89e-05/0.4998, allocations: 15.05 kB / 0.5246 GB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.4998, allocations: 3.953 kB / 0.5246 GB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.4999, allocations: 4.031 kB / 0.5246 GB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4999, allocations: 0 / 0.5246 GB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4999, allocations: 7.875 kB / 0.5246 GB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.5, allocations: 209.3 kB / 0.5248 GB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.5001, allocations: 103.7 kB / 0.5249 GB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.5001, allocations: 0 / 0.5249 GB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-05/0.5002, allocations: 3.719 kB / 0.5249 GB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.946e-05/0.5002, allocations: 15.2 kB / 0.5249 GB, free: 6.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.5002, allocations: 3.844 kB / 0.5249 GB, free: 6.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.881e-05/0.5003, allocations: 136.6 kB / 0.525 GB, free: 6.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5003, allocations: 3.656 kB / 0.525 GB, free: 6.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000246/0.5006, allocations: 30.91 kB / 0.5251 GB, free: 6.332 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.0007236/0.5013, allocations: 359.2 kB / 0.5254 GB, free: 6.102 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.5015, allocations: 154.2 kB / 0.5256 GB, free: 6.035 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.5015, allocations: 0 / 0.5256 GB, free: 6.035 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.606e-05/0.5016, allocations: 34.14 kB / 0.5256 GB, free: 6.027 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.5018, allocations: 19.3 kB / 0.5256 GB, free: 6.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000296/0.5021, allocations: 149.2 kB / 0.5258 GB, free: 5.918 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.5023, allocations: 0.7109 MB / 0.5264 GB, free: 5.203 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.536e-05/0.5023, allocations: 8.438 kB / 0.5265 GB, free: 5.203 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/0.5024, allocations: 26.67 kB / 0.5265 GB, free: 5.188 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5024, allocations: 0 / 0.5265 GB, free: 5.188 MB / 346.7 MB Notification: Performance of Templates: time 0.003499/0.5059, allocations: 1.651 MB / 0.5281 GB, free: 4.359 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1)