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.007429/0.007429, allocations: 101.4 kB / 15.73 MB, free: 5.551 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.001223/0.001223, allocations: 195.5 kB / 16.67 MB, free: 5.48 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.507/1.507, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1877/0.1877, allocations: 38.01 MB / 307.9 MB, free: 5.984 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.001518/0.001518, allocations: 71.91 kB / 433 MB, free: 14.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1171, allocations: 56.47 MB / 489.4 MB, free: 5.902 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003562/0.1207, allocations: 1.636 MB / 491.1 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.122, allocations: 0.571 MB / 491.6 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.1221, allocations: 0 / 491.6 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.1223, allocations: 15.86 kB / 491.7 MB, free: 3.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.618e-05/0.1223, allocations: 15.88 kB / 491.7 MB, free: 3.645 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.1227, allocations: 55.81 kB / 491.7 MB, free: 3.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.123, allocations: 107.7 kB / 491.8 MB, free: 3.484 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.1231, allocations: 31.97 kB / 491.9 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.1233, allocations: 51.77 kB / 491.9 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.1234, allocations: 39.84 kB / 492 MB, free: 3.363 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.704e-05/0.1235, allocations: 12 kB / 492 MB, free: 3.352 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.207e-05/0.1235, allocations: 8 kB / 492 MB, free: 3.344 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.95e-05/0.1235, allocations: 23.92 kB / 492 MB, free: 3.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.472e-05/0.1236, allocations: 51.72 kB / 492.1 MB, free: 3.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.1238, allocations: 107.5 kB / 492.2 MB, free: 3.164 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1239, allocations: 0 / 492.2 MB, free: 3.164 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1239, allocations: 0 / 492.2 MB, free: 3.164 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.1239, allocations: 0 / 492.2 MB, free: 3.164 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.0009957/0.1249, allocations: 415 kB / 492.6 MB, free: 2.711 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.1249, allocations: 19.81 kB / 492.6 MB, free: 2.691 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.381e-05/0.125, allocations: 12.89 kB / 492.6 MB, free: 2.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.1253, allocations: 200.2 kB / 492.8 MB, free: 2.445 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.1254, allocations: 4.375 kB / 492.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/0.1254, allocations: 16.31 kB / 492.8 MB, free: 2.426 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.1257, allocations: 93.95 kB / 492.9 MB, free: 2.328 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.1257, allocations: 7.984 kB / 492.9 MB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.1258, allocations: 8 kB / 492.9 MB, free: 2.312 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1258, allocations: 0 / 492.9 MB, free: 2.312 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.126, allocations: 51.91 kB / 493 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007668/0.1267, allocations: 368.5 kB / 493.3 MB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.1269, allocations: 58.5 kB / 493.4 MB, free: 1.785 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.405e-05/0.127, allocations: 28.98 kB / 493.4 MB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.1271, allocations: 8 kB / 493.4 MB, free: 1.746 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.1273, allocations: 91.34 kB / 493.5 MB, free: 1.645 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.1273, allocations: 0 / 493.5 MB, free: 1.645 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003991/0.1277, allocations: 133.5 kB / 493.6 MB, free: 1.508 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.1278, allocations: 55.34 kB / 493.7 MB, free: 1.441 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.1279, allocations: 144.2 kB / 493.8 MB, free: 1.293 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.128, allocations: 33.7 kB / 493.9 MB, free: 1.254 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.128, allocations: 104.3 kB / 494 MB, free: 1.148 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.1281, allocations: 27.8 kB / 494 MB, free: 1.121 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.1281, allocations: 33.7 kB / 494 MB, free: 1.082 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1283, allocations: 323.2 kB / 494.3 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.151e-05/0.1283, allocations: 23.98 kB / 494.4 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.1284, allocations: 87.64 kB / 494.5 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.1286, allocations: 127.5 kB / 494.6 MB, free: 480 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1287, allocations: 0 / 494.6 MB, free: 480 kB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002608/0.1289, allocations: 145.4 kB / 494.7 MB, free: 328 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1289, allocations: 4 kB / 494.7 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.129, allocations: 4 kB / 494.7 MB, free: 320 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.129, allocations: 0 / 494.7 MB, free: 320 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.1291, allocations: 27.92 kB / 494.8 MB, free: 292 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.1291, allocations: 7.938 kB / 494.8 MB, free: 284 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.786e-05/0.1292, allocations: 11.95 kB / 494.8 MB, free: 272 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.1292, allocations: 8.219 kB / 494.8 MB, free: 264 kB / 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.0001146/0.1294, allocations: 137.6 kB / 494.9 MB, free: 116 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.1294, allocations: 7.953 kB / 494.9 MB, free: 108 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/0.1294, allocations: 12.81 kB / 494.9 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1294, allocations: 3.984 kB / 494.9 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.1295, allocations: 7.875 kB / 495 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1295, allocations: 0 / 495 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.1297, allocations: 201.5 kB / 495.1 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.1297, allocations: 0 / 495.1 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.588e-05/0.1298, allocations: 19.98 kB / 495.2 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1298, allocations: 0 / 495.2 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.1298, allocations: 4 kB / 495.2 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.1298, allocations: 4 kB / 495.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1298, allocations: 3.938 kB / 495.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003279/0.1302, allocations: 164.9 kB / 495.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.1302, allocations: 89.09 kB / 495.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.1303, allocations: 8.047 kB / 495.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.001e-05/0.1303, allocations: 4 kB / 495.4 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.1304, allocations: 11.92 kB / 495.5 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.1304, allocations: 4 kB / 495.5 MB, free: 15.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.768e-05/0.1305, allocations: 103.3 kB / 495.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1305, allocations: 3.938 kB / 495.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002218/0.1307, allocations: 16 kB / 495.6 MB, free: 15.37 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.0001231/0.1308, allocations: 103.3 kB / 495.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.1311, allocations: 83.78 kB / 495.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1311, allocations: 0 / 495.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.316e-05/0.1312, allocations: 27.98 kB / 495.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.1314, allocations: 14.8 kB / 495.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005622/0.1319, allocations: 249.1 kB / 496 MB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.1322, allocations: 0.7118 MB / 496.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.891e-05/0.1323, allocations: 8.547 kB / 496.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.1323, allocations: 15.44 kB / 496.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1323, allocations: 0 / 496.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of Templates: time 0.003568/0.1359, allocations: 0.9333 MB / 497.7 MB, free: 13.18 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)