Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001619/0.001619, allocations: 176 kB / 7.652 MB, free: 1.426 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.51/1.51, allocations: 194.4 MB / 202.4 MB, free: 12.96 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.001642/0.001641, allocations: 107.7 kB / 247.4 MB, free: 15.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1673/0.1673, allocations: 39.95 MB / 332.2 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.048e-05/2.051e-05, allocations: 4 kB / 393.3 MB, free: 3.422 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3381, allocations: 54.87 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1424/0.4805, allocations: 81.24 MB / 0.517 GB, free: 12.33 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.4808, allocations: 71.97 kB / 0.5171 GB, free: 12.26 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.0173/0.4981, allocations: 4.67 MB / 0.5217 GB, free: 7.582 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4982, allocations: 0 / 0.5217 GB, free: 7.582 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.4982, allocations: 4 kB / 0.5217 GB, free: 7.578 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000584/0.4988, allocations: 465.4 kB / 0.5221 GB, free: 7.066 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.4988, allocations: 8.031 kB / 0.5221 GB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.507e-05/0.4989, allocations: 15.81 kB / 0.5221 GB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.4993, allocations: 214.9 kB / 0.5223 GB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.4994, allocations: 0 / 0.5223 GB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.4994, allocations: 4 kB / 0.5223 GB, free: 6.789 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001014/0.4995, allocations: 19.98 kB / 0.5224 GB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.4996, allocations: 49.62 kB / 0.5224 GB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4997, allocations: 7.891 kB / 0.5224 GB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.4997, allocations: 4 kB / 0.5224 GB, free: 6.703 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.902e-06/0.4997, allocations: 4 kB / 0.5224 GB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002705/0.5, allocations: 186.2 kB / 0.5226 GB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.5001, allocations: 42.62 kB / 0.5226 GB, free: 6.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.141e-05/0.5002, allocations: 20.84 kB / 0.5227 GB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.5002, allocations: 0 / 0.5227 GB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.5004, allocations: 71.48 kB / 0.5227 GB, free: 6.324 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.5004, allocations: 3.938 kB / 0.5227 GB, free: 6.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002565/0.5006, allocations: 81.5 kB / 0.5228 GB, free: 6.234 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.5007, allocations: 51.41 kB / 0.5229 GB, free: 6.172 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.501, allocations: 223 kB / 0.5231 GB, free: 5.945 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.5011, allocations: 25.7 kB / 0.5231 GB, free: 5.914 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.36e-05/0.5012, allocations: 116 kB / 0.5232 GB, free: 5.797 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.5012, allocations: 15.83 kB / 0.5232 GB, free: 5.781 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-06/0.5012, allocations: 4 kB / 0.5232 GB, free: 5.777 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.5014, allocations: 326.8 kB / 0.5235 GB, free: 5.449 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.376e-05/0.5014, allocations: 28 kB / 0.5236 GB, free: 5.422 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.435e-05/0.5015, allocations: 41.7 kB / 0.5236 GB, free: 5.375 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.842e-05/0.5016, allocations: 31.92 kB / 0.5236 GB, free: 5.344 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5016, allocations: 0 / 0.5236 GB, free: 5.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002833/0.5019, allocations: 113.4 kB / 0.5237 GB, free: 5.227 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.204e-05/0.502, allocations: 44.38 kB / 0.5238 GB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.502, allocations: 0 / 0.5238 GB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.502, allocations: 0 / 0.5238 GB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.5021, allocations: 15.94 kB / 0.5238 GB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.5022, allocations: 3.984 kB / 0.5238 GB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.74e-05/0.5023, allocations: 7.906 kB / 0.5238 GB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.5023, allocations: 7.953 kB / 0.5238 GB, free: 5.145 MB / 378.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 (8): * Single equations (assignments): 7 * 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 9.172e-05/0.5024, allocations: 109 kB / 0.5239 GB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.5024, allocations: 11.91 kB / 0.5239 GB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.5027, allocations: 95.3 kB / 0.524 GB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.5027, allocations: 3.984 kB / 0.524 GB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.5027, allocations: 3.938 kB / 0.524 GB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5027, allocations: 3.938 kB / 0.524 GB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.5029, allocations: 186 kB / 0.5242 GB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5029, allocations: 4 kB / 0.5242 GB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.904e-05/0.503, allocations: 7.984 kB / 0.5242 GB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.503, allocations: 0 / 0.5242 GB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.503, allocations: 0 / 0.5242 GB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.503, allocations: 0 / 0.5242 GB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.503, allocations: 4 kB / 0.5242 GB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.5032, allocations: 117.8 kB / 0.5243 GB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.5034, allocations: 104.9 kB / 0.5244 GB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.5034, allocations: 0 / 0.5244 GB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.281e-05/0.5035, allocations: 4 kB / 0.5244 GB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.5035, allocations: 7.984 kB / 0.5244 GB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.5036, allocations: 0 / 0.5244 GB, free: 4.406 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002387/0.5038, allocations: 195 kB / 0.5246 GB, free: 4.215 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5038, allocations: 0 / 0.5246 GB, free: 4.215 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003991/0.5042, allocations: 32 kB / 0.5247 GB, free: 4.184 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001096/0.5053, allocations: 320.4 kB / 0.525 GB, free: 3.902 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002911/0.5057, allocations: 139.4 kB / 0.5251 GB, free: 3.754 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5057, allocations: 0 / 0.5251 GB, free: 3.754 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.887e-05/0.5057, allocations: 19.94 kB / 0.5251 GB, free: 3.734 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.5061, allocations: 24.11 kB / 0.5251 GB, free: 3.707 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000512/0.5066, allocations: 201.8 kB / 0.5253 GB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.5069, allocations: 0.7197 MB / 0.526 GB, free: 2.742 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.687e-05/0.507, allocations: 19.92 kB / 0.5261 GB, free: 2.723 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.5071, allocations: 15.44 kB / 0.5261 GB, free: 2.707 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.5071, allocations: 0 / 0.5261 GB, free: 2.707 MB / 378.7 MB Notification: Performance of Templates: time 0.005695/0.5128, allocations: 1.541 MB / 0.5276 GB, free: 1.18 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1)