Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.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.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare") translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001152/0.001152, allocations: 181.8 kB / 12.74 MB, free: 2.582 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.438/1.438, allocations: 194.3 MB / 207.5 MB, free: 3.449 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.001629/0.001629, allocations: 109.7 kB / 252.6 MB, free: 4.812 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.201/0.201, allocations: 39.94 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.444e-05/2.446e-05, allocations: 4 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08398/0.08402, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3602/0.4442, allocations: 80.82 MB / 0.5234 GB, free: 10.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001722/0.4444, allocations: 62.41 kB / 0.5234 GB, free: 9.988 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004283/0.4487, allocations: 1.645 MB / 0.5251 GB, free: 8.648 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4488, allocations: 2.734 kB / 0.5251 GB, free: 8.648 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.4488, allocations: 4 kB / 0.5251 GB, free: 8.645 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003691/0.4491, allocations: 385.3 kB / 0.5254 GB, free: 8.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.4492, allocations: 8.031 kB / 0.5254 GB, free: 8.223 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.4492, allocations: 7.906 kB / 0.5254 GB, free: 8.215 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.4495, allocations: 202.2 kB / 0.5256 GB, free: 7.984 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.4495, allocations: 11.92 kB / 0.5256 GB, free: 7.977 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.4495, allocations: 11.94 kB / 0.5257 GB, free: 7.969 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.4497, allocations: 77.05 kB / 0.5257 GB, free: 7.902 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.4497, allocations: 3.938 kB / 0.5257 GB, free: 7.898 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.4497, allocations: 11.61 kB / 0.5257 GB, free: 7.891 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.4497, allocations: 7.953 kB / 0.5258 GB, free: 7.883 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.958e-05/0.4498, allocations: 35.62 kB / 0.5258 GB, free: 7.859 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.4503, allocations: 369.9 kB / 0.5261 GB, free: 7.492 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.583e-05/0.4504, allocations: 57.91 kB / 0.5262 GB, free: 7.438 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.765e-05/0.4504, allocations: 20.61 kB / 0.5262 GB, free: 7.418 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.4504, allocations: 0 / 0.5262 GB, free: 7.418 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.4506, allocations: 98.88 kB / 0.5263 GB, free: 7.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.4506, allocations: 0 / 0.5263 GB, free: 7.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002147/0.4508, allocations: 97.08 kB / 0.5264 GB, free: 7.234 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.4508, allocations: 55.41 kB / 0.5265 GB, free: 7.168 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.597e-05/0.4509, allocations: 132.2 kB / 0.5266 GB, free: 7.043 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.451, allocations: 25.7 kB / 0.5266 GB, free: 7.012 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.242e-05/0.451, allocations: 103.6 kB / 0.5267 GB, free: 6.914 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.451, allocations: 31.09 kB / 0.5267 GB, free: 6.891 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-06/0.451, allocations: 3.875 kB / 0.5267 GB, free: 6.891 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.605e-05/0.4511, allocations: 322.8 kB / 0.527 GB, free: 6.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.638e-05/0.4511, allocations: 15.88 kB / 0.5271 GB, free: 6.559 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.414e-05/0.4512, allocations: 87.22 kB / 0.5271 GB, free: 6.457 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.188e-05/0.4512, allocations: 31.67 kB / 0.5272 GB, free: 6.434 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4512, allocations: 0 / 0.5272 GB, free: 6.434 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001537/0.4514, allocations: 131.9 kB / 0.5273 GB, free: 6.316 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.4514, allocations: 4 kB / 0.5273 GB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4514, allocations: 4 kB / 0.5273 GB, free: 6.309 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.4515, allocations: 224 / 0.5273 GB, free: 6.309 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.4516, allocations: 31.92 kB / 0.5273 GB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.4516, allocations: 4 kB / 0.5273 GB, free: 6.273 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.451e-05/0.4517, allocations: 11.8 kB / 0.5274 GB, free: 6.266 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.4517, allocations: 8 kB / 0.5274 GB, free: 6.258 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.mean1.y,mean1.y,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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.491e-05/0.4517, allocations: 116.8 kB / 0.5275 GB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.4518, allocations: 15.8 kB / 0.5275 GB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.441e-05/0.4518, allocations: 8.562 kB / 0.5275 GB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.4518, allocations: 11.98 kB / 0.5275 GB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.4518, allocations: 0 / 0.5275 GB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4518, allocations: 0 / 0.5275 GB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.4519, allocations: 196.4 kB / 0.5277 GB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.452, allocations: 3.984 kB / 0.5277 GB, free: 5.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.805e-05/0.452, allocations: 12 kB / 0.5277 GB, free: 5.867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.4521, allocations: 7.953 kB / 0.5277 GB, free: 5.859 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.4521, allocations: 3.984 kB / 0.5277 GB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.4521, allocations: 0 / 0.5277 GB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4521, allocations: 0 / 0.5277 GB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.4523, allocations: 162.3 kB / 0.5279 GB, free: 5.707 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.106e-05/0.4523, allocations: 81.02 kB / 0.528 GB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.4524, allocations: 11.89 kB / 0.528 GB, free: 5.602 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.101e-05/0.4524, allocations: 4.078 kB / 0.528 GB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.4525, allocations: 11.97 kB / 0.528 GB, free: 5.586 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.4525, allocations: 4 kB / 0.528 GB, free: 5.582 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.236e-05/0.4525, allocations: 110.3 kB / 0.5281 GB, free: 5.484 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4525, allocations: 4.062 kB / 0.5281 GB, free: 5.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000193/0.4527, allocations: 19.94 kB / 0.5281 GB, free: 5.461 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,mean1.y,rootMeanSquare.mean.y) * Number of discrete states: 2 (mean1.x,rootMeanSquare.mean.x) * 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 8.622e-05/0.4528, allocations: 99 kB / 0.5282 GB, free: 5.359 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001239/0.453, allocations: 71.23 kB / 0.5283 GB, free: 5.305 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.453, allocations: 0 / 0.5283 GB, free: 5.305 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.909e-05/0.453, allocations: 27.56 kB / 0.5283 GB, free: 5.285 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.4532, allocations: 11.83 kB / 0.5283 GB, free: 5.277 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.4535, allocations: 172.2 kB / 0.5285 GB, free: 5.109 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.4536, allocations: 0.7043 MB / 0.5292 GB, free: 4.379 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.704e-05/0.4537, allocations: 8.562 kB / 0.5292 GB, free: 4.371 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/0.4537, allocations: 15.42 kB / 0.5292 GB, free: 4.355 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4537, allocations: 4 kB / 0.5292 GB, free: 4.352 MB / 346.7 MB Notification: Performance of Templates: time 0.002739/0.4564, allocations: 0.8171 MB / 0.53 GB, free: 3.559 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1)