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.001128/0.001128, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001192/0.001192, allocations: 191.4 kB / 16.14 MB, free: 6.703 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.515/1.515, allocations: 205.1 MB / 222 MB, free: 4.758 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.3701/0.3701, allocations: 37.98 MB / 307.3 MB, free: 10.11 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.001347/0.001347, allocations: 74.56 kB / 374.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1445, allocations: 56.46 MB / 431 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.00324/0.1478, allocations: 1.685 MB / 432.7 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.1489, allocations: 0.562 MB / 433.3 MB, free: 4.801 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.149, allocations: 3.938 kB / 433.3 MB, free: 4.797 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.1492, allocations: 7.922 kB / 433.3 MB, free: 4.789 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.822e-05/0.1492, allocations: 11.94 kB / 433.3 MB, free: 4.777 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.1495, allocations: 51.89 kB / 433.3 MB, free: 4.727 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.1498, allocations: 99.69 kB / 433.4 MB, free: 4.629 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.1499, allocations: 36.23 kB / 433.5 MB, free: 4.594 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.1501, allocations: 39.8 kB / 433.5 MB, free: 4.555 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.1502, allocations: 51.75 kB / 433.6 MB, free: 4.504 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.1502, allocations: 8 kB / 433.6 MB, free: 4.496 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.176e-05/0.1503, allocations: 8 kB / 433.6 MB, free: 4.488 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.78e-05/0.1503, allocations: 15.92 kB / 433.6 MB, free: 4.473 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.36e-05/0.1504, allocations: 43.78 kB / 433.6 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.1506, allocations: 99.55 kB / 433.7 MB, free: 4.332 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1506, allocations: 4 kB / 433.7 MB, free: 4.328 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1506, allocations: 0 / 433.7 MB, free: 4.328 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1506, allocations: 0 / 433.7 MB, free: 4.328 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.0008221/0.1514, allocations: 407.2 kB / 434.1 MB, free: 3.883 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.1515, allocations: 12.03 kB / 434.1 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.126e-05/0.1515, allocations: 16.75 kB / 434.2 MB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.1518, allocations: 208.1 kB / 434.4 MB, free: 3.613 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.1518, allocations: 8.375 kB / 434.4 MB, free: 3.605 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.1518, allocations: 8.375 kB / 434.4 MB, free: 3.598 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.152, allocations: 89.95 kB / 434.5 MB, free: 3.504 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1521, allocations: 4 kB / 434.5 MB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.1521, allocations: 0 / 434.5 MB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1521, allocations: 0 / 434.5 MB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.1522, allocations: 51.97 kB / 434.5 MB, free: 3.449 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005628/0.1528, allocations: 360.6 kB / 434.9 MB, free: 3.047 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.153, allocations: 70.58 kB / 434.9 MB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.98e-05/0.153, allocations: 32.84 kB / 435 MB, free: 2.934 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.1531, allocations: 48 / 435 MB, free: 2.934 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001948/0.1533, allocations: 99.25 kB / 435.1 MB, free: 2.824 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.1533, allocations: 0 / 435.1 MB, free: 2.824 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003624/0.1536, allocations: 129.5 kB / 435.2 MB, free: 2.691 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.1537, allocations: 55.41 kB / 435.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.1538, allocations: 145.4 kB / 435.4 MB, free: 2.477 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1538, allocations: 25.7 kB / 435.4 MB, free: 2.445 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.013e-05/0.1539, allocations: 108.2 kB / 435.5 MB, free: 2.336 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.1539, allocations: 23.7 kB / 435.5 MB, free: 2.312 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.154, allocations: 33.64 kB / 435.6 MB, free: 2.273 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1541, allocations: 331.1 kB / 435.9 MB, free: 1.941 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.891e-05/0.1542, allocations: 27.98 kB / 435.9 MB, free: 1.914 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.1543, allocations: 75.72 kB / 436 MB, free: 1.812 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.1545, allocations: 127.5 kB / 436.1 MB, free: 1.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1545, allocations: 0 / 436.1 MB, free: 1.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002223/0.1547, allocations: 141.3 kB / 436.3 MB, free: 1.516 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1548, allocations: 4 kB / 436.3 MB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.1548, allocations: 7.984 kB / 436.3 MB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1548, allocations: 4 kB / 436.3 MB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.1549, allocations: 23.92 kB / 436.3 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.1549, allocations: 7.938 kB / 436.3 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.556e-05/0.155, allocations: 12.2 kB / 436.3 MB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.155, allocations: 8 kB / 436.3 MB, free: 1.449 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.0001215/0.1552, allocations: 129.7 kB / 436.5 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.1552, allocations: 11.84 kB / 436.5 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.787e-05/0.1552, allocations: 12.72 kB / 436.5 MB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1552, allocations: 3.984 kB / 436.5 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.1553, allocations: 3.938 kB / 436.5 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1553, allocations: 0 / 436.5 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.1554, allocations: 205.5 kB / 436.7 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1555, allocations: 7.984 kB / 436.7 MB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.563e-05/0.1556, allocations: 12 kB / 436.7 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1556, allocations: 0 / 436.7 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.1556, allocations: 3.984 kB / 436.7 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1556, allocations: 4 kB / 436.7 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1556, allocations: 7.938 kB / 436.7 MB, free: 1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.1559, allocations: 160.9 kB / 436.9 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.139e-05/0.156, allocations: 89.11 kB / 437 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.1561, allocations: 4 kB / 437 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.254e-05/0.1561, allocations: 4 kB / 437 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.1562, allocations: 11.92 kB / 437 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.1562, allocations: 4 kB / 437 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.046e-05/0.1563, allocations: 107.2 kB / 437.1 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1563, allocations: 0 / 437.1 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002169/0.1565, allocations: 16 kB / 437.1 MB, free: 0.5742 MB / 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.0001231/0.1566, allocations: 111.3 kB / 437.2 MB, free: 464 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002301/0.1569, allocations: 79.83 kB / 437.3 MB, free: 384 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.1569, allocations: 0 / 437.3 MB, free: 384 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.386e-05/0.157, allocations: 35.92 kB / 437.3 MB, free: 348 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.1572, allocations: 12.28 kB / 437.3 MB, free: 336 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000614/0.1578, allocations: 279.1 kB / 437.6 MB, free: 32 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.1582, allocations: 0.7042 MB / 438.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.508e-05/0.1583, allocations: 16.55 kB / 438.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.1583, allocations: 11.44 kB / 438.4 MB, free: 15.27 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1583, allocations: 0 / 438.4 MB, free: 15.27 MB / 382.1 MB Notification: Performance of Templates: time 0.003855/0.1622, allocations: 0.84 MB / 439.2 MB, free: 14.43 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)