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.0008961/0.000896, allocations: 91.14 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.006924/0.006925, allocations: 171 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.545/1.545, allocations: 205.4 MB / 222.5 MB, free: 5.797 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.3323/0.3323, allocations: 38.03 MB / 308.8 MB, free: 10.08 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.0005489/0.0005488, allocations: 16 kB / 377 MB, free: 14.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1037, allocations: 57.52 MB / 434.6 MB, free: 5.188 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.001615/0.1054, allocations: 1.361 MB / 435.9 MB, free: 3.812 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007999/0.1062, allocations: 0.5504 MB / 436.5 MB, free: 3.254 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.921e-05/0.1063, allocations: 0 / 436.5 MB, free: 3.254 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.526e-05/0.1064, allocations: 7.922 kB / 436.5 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.876e-05/0.1064, allocations: 19.86 kB / 436.5 MB, free: 3.227 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.1067, allocations: 39.95 kB / 436.5 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.1068, allocations: 107.6 kB / 436.6 MB, free: 3.082 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1069, allocations: 36.23 kB / 436.7 MB, free: 3.047 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.526e-05/0.107, allocations: 39.84 kB / 436.7 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.434e-05/0.1071, allocations: 39.78 kB / 436.8 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.1072, allocations: 0 / 436.8 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.451e-05/0.1072, allocations: 4 kB / 436.8 MB, free: 2.965 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.349e-05/0.1072, allocations: 19.91 kB / 436.8 MB, free: 2.945 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.132e-05/0.1073, allocations: 65.44 kB / 436.8 MB, free: 2.875 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.1074, allocations: 95.59 kB / 436.9 MB, free: 2.781 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1074, allocations: 0 / 436.9 MB, free: 2.781 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1074, allocations: 4 kB / 436.9 MB, free: 2.777 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1074, allocations: 0 / 436.9 MB, free: 2.777 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.0005646/0.108, allocations: 391.2 kB / 437.3 MB, free: 2.348 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.108, allocations: 12.03 kB / 437.3 MB, free: 2.336 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.035e-05/0.1081, allocations: 8.844 kB / 437.3 MB, free: 2.328 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.1083, allocations: 200.2 kB / 437.5 MB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1083, allocations: 12.36 kB / 437.5 MB, free: 2.082 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.1083, allocations: 12.38 kB / 437.6 MB, free: 2.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.1085, allocations: 89.91 kB / 437.6 MB, free: 1.977 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1085, allocations: 3.906 kB / 437.6 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.1086, allocations: 7.984 kB / 437.7 MB, free: 1.965 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1086, allocations: 4 kB / 437.7 MB, free: 1.961 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.1087, allocations: 47.97 kB / 437.7 MB, free: 1.914 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004933/0.1092, allocations: 372.5 kB / 438.1 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.1094, allocations: 58.56 kB / 438.1 MB, free: 1.434 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.757e-05/0.1094, allocations: 32.98 kB / 438.2 MB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.1095, allocations: 8 kB / 438.2 MB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001832/0.1097, allocations: 99.22 kB / 438.3 MB, free: 1.281 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.1097, allocations: 0 / 438.3 MB, free: 1.281 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003265/0.11, allocations: 141.5 kB / 438.4 MB, free: 1.137 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.11, allocations: 51.41 kB / 438.5 MB, free: 1.074 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.1102, allocations: 137.8 kB / 438.6 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1102, allocations: 33.7 kB / 438.6 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.1102, allocations: 104.2 kB / 438.7 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.1103, allocations: 31.59 kB / 438.8 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.1103, allocations: 25.72 kB / 438.8 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.91e-05/0.1104, allocations: 322.8 kB / 439.1 MB, free: 408 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.986e-05/0.1105, allocations: 27.92 kB / 439.1 MB, free: 380 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.713e-05/0.1106, allocations: 87.7 kB / 439.2 MB, free: 264 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.1108, allocations: 119.6 kB / 439.3 MB, free: 116 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1108, allocations: 0 / 439.3 MB, free: 116 kB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002666/0.1111, allocations: 149.3 kB / 439.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1111, allocations: 11.66 kB / 439.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1111, allocations: 4 kB / 439.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1111, allocations: 4 kB / 439.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.1113, allocations: 23.92 kB / 439.5 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.1113, allocations: 7.938 kB / 439.5 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.961e-05/0.1113, allocations: 11.91 kB / 439.5 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.1114, allocations: 8 kB / 439.5 MB, free: 15.89 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.0001/0.1115, allocations: 133.7 kB / 439.7 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.1115, allocations: 11.91 kB / 439.7 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.821e-05/0.1115, allocations: 12.72 kB / 439.7 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1115, allocations: 0 / 439.7 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1115, allocations: 3.938 kB / 439.7 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1116, allocations: 0 / 439.7 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.1117, allocations: 197.6 kB / 439.9 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1117, allocations: 0 / 439.9 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.903e-05/0.1118, allocations: 15.98 kB / 439.9 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1118, allocations: 384 / 439.9 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.1118, allocations: 7.938 kB / 439.9 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1119, allocations: 4 kB / 439.9 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1119, allocations: 3.938 kB / 439.9 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003389/0.1122, allocations: 172.9 kB / 440.1 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.1123, allocations: 84.95 kB / 440.2 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.1123, allocations: 12.02 kB / 440.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.955e-05/0.1124, allocations: 8.062 kB / 440.2 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.1124, allocations: 11.92 kB / 440.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.1124, allocations: 4 kB / 440.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.439e-05/0.1125, allocations: 107.3 kB / 440.3 MB, free: 15.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1125, allocations: 0 / 440.3 MB, free: 15.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002129/0.1127, allocations: 19.91 kB / 440.3 MB, free: 15.01 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.017e-05/0.1128, allocations: 107.2 kB / 440.4 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.113, allocations: 79.84 kB / 440.5 MB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.113, allocations: 4 kB / 440.5 MB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.295e-05/0.1131, allocations: 35.92 kB / 440.6 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.1133, allocations: 11.98 kB / 440.6 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004392/0.1138, allocations: 287.8 kB / 440.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.1141, allocations: 0.7081 MB / 441.6 MB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.277e-05/0.1141, allocations: 8.562 kB / 441.6 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.1142, allocations: 19.42 kB / 441.6 MB, free: 13.7 MB / 382.1 MB Notification: Performance of SimCode: time 1.563e-06/0.1142, allocations: 0 / 441.6 MB, free: 13.7 MB / 382.1 MB Notification: Performance of Templates: time 0.003026/0.1172, allocations: 0.8402 MB / 442.4 MB, free: 12.86 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: