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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 115.3 kB / 15.34 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.001967/0.001967, allocations: 192.2 kB / 16.25 MB, free: 6.586 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.611/1.611, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3452/0.3452, allocations: 39.92 MB / 309.4 MB, free: 9.336 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.2. 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.001377/0.001377, allocations: 67.89 kB / 377.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1384, allocations: 56.89 MB / 434 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003103/0.1415, allocations: 1.697 MB / 435.7 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009001/0.1424, allocations: 0.5658 MB / 436.3 MB, free: 1.746 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.975e-05/0.1425, allocations: 4 kB / 436.3 MB, free: 1.742 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.773e-05/0.1426, allocations: 3.938 kB / 436.3 MB, free: 1.738 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.197e-05/0.1427, allocations: 19.78 kB / 436.3 MB, free: 1.719 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.1429, allocations: 51.95 kB / 436.3 MB, free: 1.668 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.1431, allocations: 103.7 kB / 436.4 MB, free: 1.566 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.1432, allocations: 35.97 kB / 436.5 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.1433, allocations: 51.77 kB / 436.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.966e-05/0.1434, allocations: 39.78 kB / 436.6 MB, free: 1.441 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.1435, allocations: 8 kB / 436.6 MB, free: 1.434 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.902e-05/0.1435, allocations: 12 kB / 436.6 MB, free: 1.422 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.333e-05/0.1435, allocations: 27.91 kB / 436.6 MB, free: 1.395 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.447e-05/0.1436, allocations: 43.8 kB / 436.6 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.1438, allocations: 103.9 kB / 436.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1438, allocations: 0 / 436.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1438, allocations: 0 / 436.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1438, allocations: 4 kB / 436.7 MB, free: 1.246 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.0006682/0.1445, allocations: 411 kB / 437.2 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1445, allocations: 15.83 kB / 437.2 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.1446, allocations: 12.83 kB / 437.2 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.1448, allocations: 208.1 kB / 437.4 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.1448, allocations: 8.375 kB / 437.4 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.1448, allocations: 16.03 kB / 437.4 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.145, allocations: 89.64 kB / 437.5 MB, free: 420 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1451, allocations: 0 / 437.5 MB, free: 420 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.1451, allocations: 4 kB / 437.5 MB, free: 416 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1451, allocations: 4 kB / 437.5 MB, free: 412 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.1452, allocations: 47.91 kB / 437.5 MB, free: 364 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005942/0.1458, allocations: 360.6 kB / 437.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.146, allocations: 66.47 kB / 438 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.208e-05/0.1461, allocations: 28.98 kB / 438 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.1461, allocations: 0 / 438 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000192/0.1463, allocations: 103.3 kB / 438.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.1463, allocations: 0 / 438.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003374/0.1466, allocations: 125.7 kB / 438.2 MB, free: 15.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.1467, allocations: 63.33 kB / 438.3 MB, free: 15.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.1468, allocations: 141.4 kB / 438.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.1469, allocations: 29.7 kB / 438.4 MB, free: 15.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/0.1469, allocations: 108.2 kB / 438.6 MB, free: 15.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.147, allocations: 23.62 kB / 438.6 MB, free: 15.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.875e-05/0.147, allocations: 41.7 kB / 438.6 MB, free: 15.17 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.1472, allocations: 318.8 kB / 438.9 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.771e-05/0.1473, allocations: 23.98 kB / 439 MB, free: 14.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.1474, allocations: 87.66 kB / 439 MB, free: 14.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.1476, allocations: 123.6 kB / 439.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1476, allocations: 0 / 439.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002333/0.1478, allocations: 137.4 kB / 439.3 MB, free: 14.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1479, allocations: 11.98 kB / 439.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1479, allocations: 224 / 439.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1479, allocations: 11.94 kB / 439.3 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.148, allocations: 23.92 kB / 439.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.148, allocations: 4 kB / 439.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.041e-05/0.1481, allocations: 15.84 kB / 439.4 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.1481, allocations: 8 kB / 439.4 MB, free: 14.35 MB / 382.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.0001076/0.1482, allocations: 125.8 kB / 439.5 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/0.1483, allocations: 11.89 kB / 439.5 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.1483, allocations: 8.719 kB / 439.5 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1483, allocations: 11.94 kB / 439.5 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1483, allocations: 0 / 439.5 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1483, allocations: 0 / 439.5 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.1485, allocations: 201.5 kB / 439.7 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1485, allocations: 0 / 439.7 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.361e-05/0.1486, allocations: 11.98 kB / 439.7 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1486, allocations: 0 / 439.7 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.1487, allocations: 8 kB / 439.7 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.1487, allocations: 3.938 kB / 439.7 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1487, allocations: 0 / 439.7 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.149, allocations: 169 kB / 439.9 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.1491, allocations: 89.14 kB / 440 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.1491, allocations: 3.938 kB / 440 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.496e-05/0.1492, allocations: 11.92 kB / 440 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.1492, allocations: 4 kB / 440 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.1492, allocations: 7.984 kB / 440 MB, free: 13.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.077e-05/0.1493, allocations: 103.3 kB / 440.1 MB, free: 13.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1493, allocations: 4 kB / 440.1 MB, free: 13.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000235/0.1495, allocations: 23.91 kB / 440.1 MB, free: 13.47 MB / 382.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 9.847e-05/0.1496, allocations: 103.1 kB / 440.2 MB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.1499, allocations: 83.97 kB / 440.3 MB, free: 13.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1499, allocations: 0 / 440.3 MB, free: 13.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.892e-05/0.15, allocations: 36.41 kB / 440.4 MB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.1502, allocations: 19.22 kB / 440.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004803/0.1507, allocations: 269 kB / 440.6 MB, free: 12.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.1509, allocations: 0.7041 MB / 441.4 MB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.883e-05/0.151, allocations: 12.81 kB / 441.4 MB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.643e-05/0.151, allocations: 15.44 kB / 441.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.151, allocations: 3.938 kB / 441.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of Templates: time 0.003265/0.1543, allocations: 0.8867 MB / 442.3 MB, free: 11.29 MB / 382.1 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)