Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001318/0.001318, allocations: 182.8 kB / 7.652 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.296/1.296, allocations: 194.3 MB / 202.4 MB, free: 8.473 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.00186/0.00186, allocations: 116 kB / 247.4 MB, free: 6.211 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.1908/0.1908, allocations: 39.95 MB / 332.2 MB, free: 4.758 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.574e-05/3.593e-05, allocations: 8 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09953/0.09958, allocations: 54.88 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3388/0.4385, allocations: 81.34 MB / 0.5171 GB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/0.4387, allocations: 71.64 kB / 0.5172 GB, free: 10.32 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.01073/0.4494, allocations: 4.336 MB / 0.5214 GB, free: 9.262 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.4495, allocations: 0 / 0.5214 GB, free: 9.262 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.4495, allocations: 3.844 kB / 0.5214 GB, free: 9.262 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.0003925/0.4499, allocations: 443.5 kB / 0.5219 GB, free: 8.805 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.4499, allocations: 11.69 kB / 0.5219 GB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.45, allocations: 10.97 kB / 0.5219 GB, free: 8.797 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.4502, allocations: 202.5 kB / 0.5221 GB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.4503, allocations: 3.844 kB / 0.5221 GB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.4503, allocations: 3.844 kB / 0.5221 GB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.961e-05/0.4504, allocations: 22.7 kB / 0.5221 GB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.123e-05/0.4505, allocations: 51.77 kB / 0.5222 GB, free: 8.535 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.4505, allocations: 3.906 kB / 0.5222 GB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.4505, allocations: 0 / 0.5222 GB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.4505, allocations: 0 / 0.5222 GB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.4508, allocations: 291.8 kB / 0.5224 GB, free: 8.262 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.568e-05/0.4509, allocations: 55.75 kB / 0.5225 GB, free: 8.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.906e-05/0.451, allocations: 15.83 kB / 0.5225 GB, free: 8.223 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.451, allocations: 11.62 kB / 0.5225 GB, free: 8.215 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/0.4511, allocations: 64.66 kB / 0.5226 GB, free: 8.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.4511, allocations: 0 / 0.5226 GB, free: 8.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004245/0.4516, allocations: 144.9 kB / 0.5227 GB, free: 8.098 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.4516, allocations: 55.25 kB / 0.5228 GB, free: 8.035 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.4517, allocations: 140.6 kB / 0.5229 GB, free: 7.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.4518, allocations: 33.53 kB / 0.5229 GB, free: 7.895 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.447e-05/0.4518, allocations: 91.2 kB / 0.523 GB, free: 7.812 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.4518, allocations: 26.39 kB / 0.5231 GB, free: 7.793 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.134e-06/0.4518, allocations: 4 kB / 0.5231 GB, free: 7.789 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.116e-05/0.4519, allocations: 319 kB / 0.5234 GB, free: 7.477 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.429e-05/0.452, allocations: 37.36 kB / 0.5234 GB, free: 7.473 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.859e-05/0.4521, allocations: 46.47 kB / 0.5234 GB, free: 7.457 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.313e-05/0.4521, allocations: 37.55 kB / 0.5235 GB, free: 7.449 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4521, allocations: 0 / 0.5235 GB, free: 7.449 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001831/0.4523, allocations: 135.1 kB / 0.5236 GB, free: 7.398 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.4524, allocations: 41.25 kB / 0.5236 GB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4524, allocations: 0 / 0.5236 GB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.4524, allocations: 0 / 0.5236 GB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.79e-05/0.4525, allocations: 27.02 kB / 0.5237 GB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.4525, allocations: 4.062 kB / 0.5237 GB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.39e-05/0.4526, allocations: 7.938 kB / 0.5237 GB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.4526, allocations: 7.719 kB / 0.5237 GB, free: 7.34 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.571e-05/0.4527, allocations: 104.8 kB / 0.5238 GB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.4527, allocations: 15.36 kB / 0.5238 GB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.4529, allocations: 109.4 kB / 0.5239 GB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.4529, allocations: 3.875 kB / 0.5239 GB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.4529, allocations: 0 / 0.5239 GB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4529, allocations: 0 / 0.5239 GB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.4532, allocations: 372.4 kB / 0.5243 GB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4532, allocations: 3.953 kB / 0.5243 GB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.811e-05/0.4532, allocations: 7.844 kB / 0.5243 GB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4533, allocations: 224 / 0.5243 GB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.4533, allocations: 15.81 kB / 0.5243 GB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4533, allocations: 3.938 kB / 0.5243 GB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.4533, allocations: 0 / 0.5243 GB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.4535, allocations: 216 kB / 0.5245 GB, free: 6.668 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/0.4535, allocations: 91.66 kB / 0.5246 GB, free: 6.566 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.4535, allocations: 3.844 kB / 0.5246 GB, free: 6.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.886e-05/0.4536, allocations: 4 kB / 0.5246 GB, free: 6.562 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.4537, allocations: 11.52 kB / 0.5246 GB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.4537, allocations: 3.938 kB / 0.5246 GB, free: 6.559 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.63e-05/0.4537, allocations: 112.7 kB / 0.5247 GB, free: 6.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4537, allocations: 0 / 0.5247 GB, free: 6.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002677/0.454, allocations: 42.33 kB / 0.5248 GB, free: 6.469 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.0007577/0.4548, allocations: 361.5 kB / 0.5251 GB, free: 6.234 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.455, allocations: 159.3 kB / 0.5253 GB, free: 6.164 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.455, allocations: 0 / 0.5253 GB, free: 6.164 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.482e-05/0.4551, allocations: 30 kB / 0.5253 GB, free: 6.164 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.4553, allocations: 19.59 kB / 0.5253 GB, free: 6.156 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003079/0.4556, allocations: 140.2 kB / 0.5254 GB, free: 6.039 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/0.4558, allocations: 0.7031 MB / 0.5261 GB, free: 5.328 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.206e-05/0.4559, allocations: 20 kB / 0.5261 GB, free: 5.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/0.4559, allocations: 11.34 kB / 0.5262 GB, free: 5.312 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4559, allocations: 0 / 0.5262 GB, free: 5.312 MB / 346.7 MB Notification: Performance of Templates: time 0.003828/0.4597, allocations: 1.619 MB / 0.5277 GB, free: 4.496 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1)