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.001321/0.001321, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01003/0.01003, allocations: 170 kB / 16.26 MB, free: 6.613 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.494/1.494, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3558/0.3558, allocations: 40.01 MB / 310.7 MB, free: 9.586 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.00067/0.0006701, allocations: 20 kB / 379.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1266, allocations: 57.96 MB / 437.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002013/0.1286, allocations: 1.362 MB / 438.8 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009869/0.1296, allocations: 0.5504 MB / 439.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.709e-05/0.1298, allocations: 3.844 kB / 439.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.22e-05/0.1299, allocations: 11.92 kB / 439.3 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.389e-05/0.1299, allocations: 7.938 kB / 439.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.1302, allocations: 51.89 kB / 439.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.1304, allocations: 103.7 kB / 439.5 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.1305, allocations: 31.97 kB / 439.5 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.1306, allocations: 39.78 kB / 439.6 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.1307, allocations: 35.78 kB / 439.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.1308, allocations: 4 kB / 439.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.735e-05/0.1308, allocations: 4 kB / 439.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.748e-05/0.1308, allocations: 19.86 kB / 439.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.093e-05/0.1309, allocations: 65.48 kB / 439.7 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.1311, allocations: 95.88 kB / 439.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1311, allocations: 0 / 439.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1311, allocations: 0 / 439.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1311, allocations: 4 kB / 439.8 MB, free: 15.51 MB / 382.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.0006596/0.1317, allocations: 391.2 kB / 440.2 MB, free: 15.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.1318, allocations: 15.97 kB / 440.2 MB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.1319, allocations: 8.844 kB / 440.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.1321, allocations: 204 kB / 440.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.1321, allocations: 4.375 kB / 440.4 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.1322, allocations: 24.11 kB / 440.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.1324, allocations: 81.66 kB / 440.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1324, allocations: 0 / 440.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.1324, allocations: 7.984 kB / 440.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1325, allocations: 4 kB / 440.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.1326, allocations: 47.97 kB / 440.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005318/0.1331, allocations: 372.5 kB / 440.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.1333, allocations: 62.53 kB / 441 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.277e-05/0.1334, allocations: 32.95 kB / 441 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.1334, allocations: 4 kB / 441 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.1336, allocations: 99.34 kB / 441.1 MB, free: 14.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.974e-06/0.1336, allocations: 0 / 441.1 MB, free: 14.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000349/0.134, allocations: 141.4 kB / 441.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.134, allocations: 55.34 kB / 441.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.1342, allocations: 137.3 kB / 441.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.1342, allocations: 33.7 kB / 441.5 MB, free: 13.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.331e-05/0.1343, allocations: 104.2 kB / 441.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.1343, allocations: 24.08 kB / 441.6 MB, free: 13.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.1343, allocations: 21.72 kB / 441.6 MB, free: 13.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1344, allocations: 322.8 kB / 441.9 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.975e-05/0.1345, allocations: 27.92 kB / 442 MB, free: 13.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.74e-05/0.1346, allocations: 99.38 kB / 442.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.1348, allocations: 123.6 kB / 442.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1348, allocations: 0 / 442.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002522/0.1351, allocations: 145.4 kB / 442.3 MB, free: 12.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1351, allocations: 4 kB / 442.3 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.1351, allocations: 8.219 kB / 442.3 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.1351, allocations: 7.938 kB / 442.3 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.1352, allocations: 23.92 kB / 442.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.1353, allocations: 4 kB / 442.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.488e-05/0.1353, allocations: 19.84 kB / 442.4 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1354, allocations: 4 kB / 442.4 MB, free: 12.62 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.000111/0.1355, allocations: 125.8 kB / 442.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.1355, allocations: 11.84 kB / 442.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.1355, allocations: 12.72 kB / 442.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.1356, allocations: 7.938 kB / 442.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.1356, allocations: 4 kB / 442.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1356, allocations: 0 / 442.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.1357, allocations: 205.5 kB / 442.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1358, allocations: 0 / 442.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.545e-05/0.1359, allocations: 15.98 kB / 442.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1359, allocations: 0 / 442.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.1359, allocations: 4 kB / 442.8 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1359, allocations: 3.938 kB / 442.8 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1359, allocations: 4 kB / 442.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/0.1362, allocations: 176.9 kB / 443 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/0.1363, allocations: 85.02 kB / 443 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.1363, allocations: 4.031 kB / 443 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.1364, allocations: 15.98 kB / 443.1 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.1365, allocations: 3.984 kB / 443.1 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.1365, allocations: 8 kB / 443.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.292e-05/0.1365, allocations: 103.3 kB / 443.2 MB, free: 11.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1366, allocations: 0 / 443.2 MB, free: 11.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002177/0.1368, allocations: 16 kB / 443.2 MB, free: 11.74 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 0.0001151/0.1369, allocations: 111.1 kB / 443.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.1371, allocations: 79.91 kB / 443.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1371, allocations: 0 / 443.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.909e-05/0.1372, allocations: 35.92 kB / 443.4 MB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.1375, allocations: 11.98 kB / 443.4 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005237/0.138, allocations: 303.6 kB / 443.7 MB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.1383, allocations: 0.7042 MB / 444.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.85e-05/0.1383, allocations: 12.42 kB / 444.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.1384, allocations: 15.44 kB / 444.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1384, allocations: 0 / 444.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of Templates: time 0.003254/0.1416, allocations: 0.8245 MB / 445.3 MB, free: 9.594 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: