Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare") translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.001219, allocations: 196.6 kB / 16.26 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3624/0.3624, allocations: 37.97 MB / 307.4 MB, free: 10.05 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 64.12 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1408, allocations: 56.47 MB / 431.2 MB, free: 6.973 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003089/0.1439, allocations: 1.7 MB / 432.9 MB, free: 5.254 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009329/0.1449, allocations: 0.562 MB / 433.5 MB, free: 4.684 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.086e-05/0.145, allocations: 7.938 kB / 433.5 MB, free: 4.676 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.1451, allocations: 3.938 kB / 433.5 MB, free: 4.672 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.352e-05/0.1451, allocations: 11.91 kB / 433.5 MB, free: 4.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.1454, allocations: 47.91 kB / 433.5 MB, free: 4.613 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.1456, allocations: 107.7 kB / 433.6 MB, free: 4.508 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.1457, allocations: 32.25 kB / 433.7 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.99e-05/0.1458, allocations: 55.77 kB / 433.7 MB, free: 4.422 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.1459, allocations: 43.78 kB / 433.8 MB, free: 4.379 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.146, allocations: 12 kB / 433.8 MB, free: 4.367 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.979e-05/0.146, allocations: 8 kB / 433.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.313e-05/0.146, allocations: 23.91 kB / 433.8 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.647e-05/0.1461, allocations: 47.73 kB / 433.8 MB, free: 4.289 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.1463, allocations: 103.6 kB / 433.9 MB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1463, allocations: 4 kB / 434 MB, free: 4.184 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1463, allocations: 0 / 434 MB, free: 4.184 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1463, allocations: 0 / 434 MB, free: 4.184 MB / 366.1 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.0006811/0.147, allocations: 407.1 kB / 434.3 MB, free: 3.738 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.147, allocations: 11.89 kB / 434.4 MB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.1471, allocations: 16.75 kB / 434.4 MB, free: 3.711 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.1473, allocations: 208.1 kB / 434.6 MB, free: 3.469 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.1473, allocations: 8.375 kB / 434.6 MB, free: 3.461 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.1473, allocations: 12.36 kB / 434.6 MB, free: 3.449 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.1475, allocations: 93.95 kB / 434.7 MB, free: 3.352 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1476, allocations: 0 / 434.7 MB, free: 3.352 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.1476, allocations: 0 / 434.7 MB, free: 3.352 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1476, allocations: 7.938 kB / 434.7 MB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.1477, allocations: 43.97 kB / 434.7 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000521/0.1482, allocations: 364.6 kB / 435.1 MB, free: 2.895 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.1484, allocations: 58.55 kB / 435.2 MB, free: 2.828 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.484e-05/0.1485, allocations: 32.92 kB / 435.2 MB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.1485, allocations: 0 / 435.2 MB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001918/0.1487, allocations: 103.2 kB / 435.3 MB, free: 2.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.1487, allocations: 0 / 435.3 MB, free: 2.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003327/0.149, allocations: 125.5 kB / 435.4 MB, free: 2.551 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.1491, allocations: 51.41 kB / 435.5 MB, free: 2.488 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.1492, allocations: 145.8 kB / 435.6 MB, free: 2.336 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1492, allocations: 25.7 kB / 435.6 MB, free: 2.305 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.755e-05/0.1493, allocations: 116.3 kB / 435.7 MB, free: 2.188 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.1493, allocations: 23.69 kB / 435.8 MB, free: 2.164 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.1494, allocations: 38.02 kB / 435.8 MB, free: 2.121 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1495, allocations: 322.8 kB / 436.1 MB, free: 1.797 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.024e-05/0.1496, allocations: 23.98 kB / 436.1 MB, free: 1.773 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.981e-05/0.1497, allocations: 87.59 kB / 436.2 MB, free: 1.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.1498, allocations: 123.6 kB / 436.3 MB, free: 1.512 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.1498, allocations: 4 kB / 436.4 MB, free: 1.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002322/0.1501, allocations: 137.4 kB / 436.5 MB, free: 1.367 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1501, allocations: 8.219 kB / 436.5 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.1501, allocations: 7.984 kB / 436.5 MB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1501, allocations: 4 kB / 436.5 MB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.1503, allocations: 27.92 kB / 436.5 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.1503, allocations: 7.922 kB / 436.5 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.915e-05/0.1504, allocations: 12 kB / 436.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.1504, allocations: 4 kB / 436.6 MB, free: 1.297 MB / 366.1 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 (mean1.y,$PRE.mean1.y,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.1505, allocations: 125.8 kB / 436.7 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.1505, allocations: 7.906 kB / 436.7 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.1506, allocations: 16.7 kB / 436.7 MB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1506, allocations: 4 kB / 436.7 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.1506, allocations: 7.875 kB / 436.7 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.1506, allocations: 0 / 436.7 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.1508, allocations: 209.5 kB / 436.9 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1508, allocations: 0 / 436.9 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.387e-05/0.1509, allocations: 11.94 kB / 436.9 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1509, allocations: 0 / 436.9 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.1509, allocations: 7.984 kB / 436.9 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1509, allocations: 0 / 436.9 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1509, allocations: 7.938 kB / 436.9 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.1512, allocations: 164.9 kB / 437.1 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/0.1513, allocations: 85.05 kB / 437.2 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.1513, allocations: 0 / 437.2 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.585e-05/0.1514, allocations: 11.98 kB / 437.2 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.1514, allocations: 3.938 kB / 437.2 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/0.1514, allocations: 7.984 kB / 437.2 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.28e-05/0.1515, allocations: 110.9 kB / 437.3 MB, free: 452 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1515, allocations: 0 / 437.3 MB, free: 452 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.000216/0.1518, allocations: 20 kB / 437.3 MB, free: 432 kB / 366.1 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001075/0.1519, allocations: 107.1 kB / 437.4 MB, free: 312 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.1521, allocations: 83.83 kB / 437.5 MB, free: 228 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1521, allocations: 448 / 437.5 MB, free: 228 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.862e-05/0.1522, allocations: 35.98 kB / 437.6 MB, free: 192 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.1524, allocations: 11.98 kB / 437.6 MB, free: 180 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005544/0.1529, allocations: 285 kB / 437.9 MB, free: 15.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.1533, allocations: 0.7041 MB / 438.6 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.773e-05/0.1533, allocations: 8.547 kB / 438.6 MB, free: 15.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.1534, allocations: 15.44 kB / 438.6 MB, free: 15.12 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1534, allocations: 0 / 438.6 MB, free: 15.12 MB / 382.1 MB Notification: Performance of Templates: time 0.003685/0.1571, allocations: 0.8784 MB / 439.5 MB, free: 14.24 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1)