Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.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.Utilities.TestFiles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001789/0.001789, allocations: 180.6 kB / 12.74 MB, free: 2.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.625/1.625, allocations: 194.3 MB / 207.5 MB, free: 3.445 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.001703/0.001703, allocations: 102.5 kB / 252.6 MB, free: 4.816 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.2283/0.2283, allocations: 39.95 MB / 337.5 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.486e-05/3.498e-05, allocations: 7.984 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.122, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5104/0.6325, allocations: 79.61 MB / 0.5222 GB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/0.6329, allocations: 57.7 kB / 0.5223 GB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005648/0.6386, allocations: 1.937 MB / 0.5242 GB, free: 9.395 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.466e-06/0.6386, allocations: 0 / 0.5242 GB, free: 9.395 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.6386, allocations: 3.938 kB / 0.5242 GB, free: 9.391 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003252/0.639, allocations: 364 kB / 0.5245 GB, free: 8.988 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.419e-05/0.639, allocations: 10.19 kB / 0.5245 GB, free: 8.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.6391, allocations: 3.953 kB / 0.5245 GB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.088e-05/0.6392, allocations: 159.1 kB / 0.5247 GB, free: 8.781 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.6392, allocations: 0 / 0.5247 GB, free: 8.781 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.6392, allocations: 4 kB / 0.5247 GB, free: 8.777 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.6393, allocations: 36.28 kB / 0.5247 GB, free: 8.738 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.6394, allocations: 0 / 0.5247 GB, free: 8.738 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.6394, allocations: 3.938 kB / 0.5247 GB, free: 8.734 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.6394, allocations: 4 kB / 0.5247 GB, free: 8.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.445e-05/0.6394, allocations: 7.891 kB / 0.5247 GB, free: 8.723 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001347/0.6396, allocations: 145.2 kB / 0.5249 GB, free: 8.535 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.364e-05/0.6396, allocations: 18.61 kB / 0.5249 GB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.466e-05/0.6396, allocations: 4.859 kB / 0.5249 GB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.6397, allocations: 4 kB / 0.5249 GB, free: 8.496 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.6397, allocations: 56.27 kB / 0.5249 GB, free: 8.426 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.6397, allocations: 4.062 kB / 0.5249 GB, free: 8.422 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001907/0.6399, allocations: 71.02 kB / 0.525 GB, free: 8.348 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.357e-05/0.64, allocations: 77.11 kB / 0.5251 GB, free: 8.254 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.518e-05/0.64, allocations: 88.94 kB / 0.5252 GB, free: 8.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.6401, allocations: 29.7 kB / 0.5252 GB, free: 8.125 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.122e-05/0.6401, allocations: 84.17 kB / 0.5253 GB, free: 8.039 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.6401, allocations: 0 / 0.5253 GB, free: 8.039 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-06/0.6401, allocations: 0 / 0.5253 GB, free: 8.039 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.465e-05/0.6402, allocations: 314.8 kB / 0.5256 GB, free: 7.723 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-06/0.6402, allocations: 0 / 0.5256 GB, free: 7.723 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.032e-06/0.6402, allocations: 4 kB / 0.5256 GB, free: 7.719 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.508e-05/0.6403, allocations: 29.69 kB / 0.5256 GB, free: 7.684 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.6403, allocations: 0 / 0.5256 GB, free: 7.684 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.399e-05/0.6403, allocations: 71.16 kB / 0.5257 GB, free: 7.605 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.6404, allocations: 29.7 kB / 0.5257 GB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.6404, allocations: 3.984 kB / 0.5257 GB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.6404, allocations: 0 / 0.5257 GB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.6404, allocations: 4 kB / 0.5257 GB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.6404, allocations: 0 / 0.5257 GB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.136e-05/0.6404, allocations: 0 / 0.5257 GB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.6404, allocations: 3.984 kB / 0.5257 GB, free: 7.559 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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 6.468e-05/0.6405, allocations: 134.6 kB / 0.5259 GB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-06/0.6405, allocations: 0 / 0.5259 GB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.5e-05/0.6406, allocations: 11.11 kB / 0.5259 GB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.6406, allocations: 0 / 0.5259 GB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6406, allocations: 1.438 kB / 0.5259 GB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.6406, allocations: 0 / 0.5259 GB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.661e-05/0.6406, allocations: 153.6 kB / 0.526 GB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.6407, allocations: 3.938 kB / 0.526 GB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.6407, allocations: 0 / 0.526 GB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.6407, allocations: 3.984 kB / 0.526 GB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.6407, allocations: 0 / 0.526 GB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.6407, allocations: 0 / 0.526 GB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.6407, allocations: 4 kB / 0.526 GB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.787e-05/0.6408, allocations: 98.66 kB / 0.5261 GB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.306e-05/0.6408, allocations: 77.11 kB / 0.5262 GB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.6408, allocations: 8 kB / 0.5262 GB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.865e-06/0.6408, allocations: 0 / 0.5262 GB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.765e-05/0.6409, allocations: 3.938 kB / 0.5262 GB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.6409, allocations: 0 / 0.5262 GB, free: 6.973 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.996e-05/0.6409, allocations: 79.31 kB / 0.5263 GB, free: 6.895 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6409, allocations: 0 / 0.5263 GB, free: 6.895 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002422/0.6411, allocations: 43.98 kB / 0.5263 GB, free: 6.852 MB / 346.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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0004634/0.6416, allocations: 213.5 kB / 0.5265 GB, free: 6.664 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.363e-05/0.6417, allocations: 59.41 kB / 0.5266 GB, free: 6.594 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.6417, allocations: 0 / 0.5266 GB, free: 6.594 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.124e-05/0.6417, allocations: 59.34 kB / 0.5266 GB, free: 6.523 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.866e-05/0.6418, allocations: 7.891 kB / 0.5266 GB, free: 6.516 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001412/0.642, allocations: 55.03 kB / 0.5267 GB, free: 6.445 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.6421, allocations: 0.6731 MB / 0.5274 GB, free: 5.746 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.707e-06/0.6421, allocations: 3.953 kB / 0.5274 GB, free: 5.746 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.058e-05/0.6421, allocations: 11.44 kB / 0.5274 GB, free: 5.734 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6422, allocations: 0 / 0.5274 GB, free: 5.734 MB / 346.7 MB Notification: Performance of Templates: time 0.002943/0.6451, allocations: 0.8437 MB / 0.5282 GB, free: 4.906 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.pipe 2>&1)