Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01405/0.01405, allocations: 163.6 kB / 15.12 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.737/1.737, allocations: 170.8 MB / 186.6 MB, free: 1.113 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00191/0.00191, allocations: 109.7 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4657/0.4657, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004749/0.0004753, allocations: 12 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1039, allocations: 48.72 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002302/0.1062, allocations: 1.309 MB / 413 MB, free: 3.383 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.1075, allocations: 0.5188 MB / 413.5 MB, free: 2.859 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.281e-05/0.1076, allocations: 3.938 kB / 413.5 MB, free: 2.855 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 8.553e-05/0.1077, allocations: 7.922 kB / 413.5 MB, free: 2.848 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.268e-05/0.1078, allocations: 15.92 kB / 413.6 MB, free: 2.832 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000277/0.1081, allocations: 39.89 kB / 413.6 MB, free: 2.793 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.1083, allocations: 95.7 kB / 413.7 MB, free: 2.699 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.1084, allocations: 31.95 kB / 413.7 MB, free: 2.668 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.1086, allocations: 31.84 kB / 413.8 MB, free: 2.637 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.1087, allocations: 35.78 kB / 413.8 MB, free: 2.602 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.074e-05/0.1087, allocations: 11.98 kB / 413.8 MB, free: 2.59 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.502e-05/0.1088, allocations: 4 kB / 413.8 MB, free: 2.586 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.551e-05/0.1088, allocations: 15.92 kB / 413.8 MB, free: 2.57 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.417e-05/0.1089, allocations: 41.64 kB / 413.9 MB, free: 2.523 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.109, allocations: 72.08 kB / 413.9 MB, free: 2.453 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1091, allocations: 0 / 413.9 MB, free: 2.453 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1091, allocations: 0 / 413.9 MB, free: 2.453 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1091, allocations: 0 / 413.9 MB, free: 2.453 MB / 314.7 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.0008095/0.1099, allocations: 399 kB / 414.3 MB, free: 2.016 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.11, allocations: 8.031 kB / 414.3 MB, free: 2.008 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.391e-05/0.11, allocations: 42.5 kB / 414.4 MB, free: 1.957 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.653e-05/0.1101, allocations: 11.89 kB / 414.4 MB, free: 1.945 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.1104, allocations: 202.8 kB / 414.6 MB, free: 1.707 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.1104, allocations: 4 kB / 414.6 MB, free: 1.703 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.1104, allocations: 8 kB / 414.6 MB, free: 1.695 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.1107, allocations: 97.58 kB / 414.7 MB, free: 1.594 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.1108, allocations: 0 / 414.7 MB, free: 1.594 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.1108, allocations: 8 kB / 414.7 MB, free: 1.586 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1108, allocations: 0 / 414.7 MB, free: 1.586 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002293/0.111, allocations: 51.92 kB / 414.7 MB, free: 1.535 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007449/0.1118, allocations: 380.5 kB / 415.1 MB, free: 1.113 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.112, allocations: 58.55 kB / 415.2 MB, free: 1.047 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.1122, allocations: 36.88 kB / 415.2 MB, free: 1.008 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.1122, allocations: 4 kB / 415.2 MB, free: 1.004 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002832/0.1125, allocations: 103.3 kB / 415.3 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.033e-06/0.1125, allocations: 0 / 415.3 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004991/0.113, allocations: 129.5 kB / 415.4 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.1131, allocations: 59.39 kB / 415.5 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.1133, allocations: 139.9 kB / 415.6 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.1133, allocations: 25.7 kB / 415.7 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.659e-05/0.1134, allocations: 112.2 kB / 415.8 MB, free: 400 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.1135, allocations: 23.56 kB / 415.8 MB, free: 376 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.248e-06/0.1135, allocations: 4 kB / 415.8 MB, free: 372 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1136, allocations: 318.8 kB / 416.1 MB, free: 44 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.1138, allocations: 31.98 kB / 416.1 MB, free: 12 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.114, allocations: 87.16 kB / 416.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.1141, allocations: 43.98 kB / 416.3 MB, free: 15.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.1142, allocations: 3.953 kB / 416.3 MB, free: 15.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004245/0.1146, allocations: 141.6 kB / 416.4 MB, free: 15.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.1146, allocations: 8 kB / 416.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1147, allocations: 0 / 416.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.1147, allocations: 4 kB / 416.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.1149, allocations: 27.92 kB / 416.4 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.1149, allocations: 4 kB / 416.4 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.115, allocations: 7.938 kB / 416.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.1151, allocations: 11.98 kB / 416.5 MB, free: 15.65 MB / 330.7 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 ($PRE.mean1.y,mean1.y,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001839/0.1153, allocations: 134.8 kB / 416.6 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.1153, allocations: 15.86 kB / 416.6 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.732e-05/0.1154, allocations: 8.719 kB / 416.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1154, allocations: 384 / 416.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.1154, allocations: 8 kB / 416.6 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.1154, allocations: 3.984 kB / 416.6 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.1157, allocations: 201.5 kB / 416.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1157, allocations: 3.938 kB / 416.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.1158, allocations: 15.94 kB / 416.9 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1159, allocations: 4.094 kB / 416.9 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.1159, allocations: 11.98 kB / 416.9 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.1159, allocations: 3.984 kB / 416.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1159, allocations: 0 / 416.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005157/0.1164, allocations: 164.9 kB / 417 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.796e-05/0.1166, allocations: 93.09 kB / 417.1 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.1166, allocations: 15.95 kB / 417.1 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1167, allocations: 0 / 417.1 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.1168, allocations: 7.984 kB / 417.1 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.1168, allocations: 4 kB / 417.2 MB, free: 14.87 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001115/0.1169, allocations: 110.9 kB / 417.3 MB, free: 14.76 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1169, allocations: 0 / 417.3 MB, free: 14.76 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003266/0.1173, allocations: 20 kB / 417.3 MB, free: 14.74 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008823/0.1182, allocations: 0.7137 MB / 418 MB, free: 14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003343/0.1185, allocations: 80.03 kB / 418.1 MB, free: 13.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1185, allocations: 0 / 418.1 MB, free: 13.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.1187, allocations: 40.09 kB / 418.1 MB, free: 13.88 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.119, allocations: 8 kB / 418.1 MB, free: 13.87 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.1207, allocations: 0.7627 MB / 418.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.121, allocations: 0.7043 MB / 419.6 MB, free: 12.31 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.365e-05/0.1211, allocations: 12.55 kB / 419.6 MB, free: 12.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.395e-05/0.1212, allocations: 27.42 kB / 419.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1212, allocations: 0 / 419.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/0.1418, allocations: 2.012 MB / 421.6 MB, free: 10.3 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003454/0.1422, allocations: 181.1 kB / 421.8 MB, free: 10.05 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.678/2.82, allocations: 0 / 421.8 MB, free: 10.05 MB / 330.7 MB "" Variables in the reference:time,mean1.x,rootMeanSquare.mean.x,mean1.y,rootMeanSquare.mean.y Variables in the result:der(mean1.x),der(rootMeanSquare.mean.x),expSine.amplitude,expSine.damping,expSine.freqHz,expSine.offset,expSine.phase,expSine.startTime,expSine.y,mean1.f,mean1.t0,mean1.u,mean1.x,mean1.x0,mean1.y,mean1.yGreaterOrEqualZero,rootMeanSquare.f,rootMeanSquare.mean.f,rootMeanSquare.mean.t0,rootMeanSquare.mean.u,rootMeanSquare.mean.x,rootMeanSquare.mean.x0,rootMeanSquare.mean.y,rootMeanSquare.mean.yGreaterOrEqualZero,rootMeanSquare.product.nu,rootMeanSquare.product.significantDigits,rootMeanSquare.product.u[1],rootMeanSquare.product.u[2],rootMeanSquare.product.y,rootMeanSquare.sqrt1.u,rootMeanSquare.sqrt1.y,rootMeanSquare.u,rootMeanSquare.x0,rootMeanSquare.y,time