Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.148/2.148, allocations: 194.9 MB / 211.1 MB, free: 7.496 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004819/0.000482, allocations: 8 kB / 264 MB, free: 2.43 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3029, allocations: 44.51 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002841/0.3058, allocations: 1.565 MB / 310.1 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.3071, allocations: 0.4922 MB / 310.6 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.3072, allocations: 11.94 kB / 310.6 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.339e-05/0.3073, allocations: 11.92 kB / 310.6 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000154/0.3074, allocations: 35.86 kB / 310.7 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.3077, allocations: 39.89 kB / 310.7 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.3079, allocations: 95.81 kB / 310.8 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.3081, allocations: 50.16 kB / 310.9 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.3083, allocations: 51.83 kB / 310.9 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.3084, allocations: 55.72 kB / 311 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.3085, allocations: 8 kB / 311 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.414e-05/0.3085, allocations: 8 kB / 311 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.3086, allocations: 23.91 kB / 311 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.28e-05/0.3086, allocations: 49.64 kB / 311 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.3088, allocations: 116.7 kB / 311.2 MB, free: 10.01 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.3089, allocations: 0 / 311.2 MB, free: 10.01 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3089, allocations: 0 / 311.2 MB, free: 10.01 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3089, allocations: 4 kB / 311.2 MB, free: 10 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007174/0.3096, allocations: 410.9 kB / 311.6 MB, free: 9.555 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.3097, allocations: 12.03 kB / 311.6 MB, free: 9.543 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.858e-05/0.3098, allocations: 50.55 kB / 311.6 MB, free: 9.484 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.69e-05/0.3098, allocations: 19.77 kB / 311.6 MB, free: 9.465 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.3101, allocations: 206.7 kB / 311.9 MB, free: 9.223 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.3101, allocations: 12 kB / 311.9 MB, free: 9.211 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.3102, allocations: 24 kB / 311.9 MB, free: 9.188 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004193/0.3106, allocations: 133.6 kB / 312 MB, free: 9.051 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.3107, allocations: 4 kB / 312 MB, free: 9.047 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.3107, allocations: 4 kB / 312 MB, free: 9.043 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.3107, allocations: 7.938 kB / 312 MB, free: 9.035 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003399/0.3111, allocations: 99.64 kB / 312.1 MB, free: 8.938 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.3122, allocations: 0.529 MB / 312.7 MB, free: 8.352 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.3125, allocations: 82.48 kB / 312.7 MB, free: 8.262 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.3125, allocations: 0 / 312.7 MB, free: 8.262 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.3126, allocations: 42.52 kB / 312.8 MB, free: 8.211 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.884e-06/0.3126, allocations: 0 / 312.8 MB, free: 8.211 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.001414/0.314, allocations: 0.5986 MB / 313.4 MB, free: 7.52 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.3141, allocations: 55.41 kB / 313.4 MB, free: 7.453 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.3142, allocations: 125.8 kB / 313.6 MB, free: 7.32 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.3142, allocations: 29.7 kB / 313.6 MB, free: 7.285 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.73e-05/0.3143, allocations: 131.9 kB / 313.7 MB, free: 7.152 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.789e-05/0.3144, allocations: 47.38 kB / 313.8 MB, free: 7.105 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/0.3145, allocations: 7.938 kB / 313.8 MB, free: 7.098 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.3146, allocations: 319.9 kB / 314.1 MB, free: 6.777 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.3147, allocations: 31.98 kB / 314.1 MB, free: 6.746 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.3149, allocations: 90.8 kB / 314.2 MB, free: 6.633 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.3151, allocations: 47.98 kB / 314.2 MB, free: 6.586 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.3151, allocations: 4 kB / 314.3 MB, free: 6.582 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004316/0.3156, allocations: 161.2 kB / 314.4 MB, free: 6.418 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.3156, allocations: 8 kB / 314.4 MB, free: 6.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3156, allocations: 0 / 314.4 MB, free: 6.41 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.3156, allocations: 4 kB / 314.4 MB, free: 6.406 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/0.3159, allocations: 40.17 kB / 314.5 MB, free: 6.367 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.316, allocations: 7.922 kB / 314.5 MB, free: 6.359 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.3161, allocations: 8 kB / 314.5 MB, free: 6.352 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.3161, allocations: 8 kB / 314.5 MB, free: 6.344 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001363/0.3163, allocations: 129.8 kB / 314.6 MB, free: 6.207 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/0.3163, allocations: 7.906 kB / 314.6 MB, free: 6.199 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/0.3164, allocations: 8.375 kB / 314.6 MB, free: 6.191 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3164, allocations: 4.047 kB / 314.6 MB, free: 6.188 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.3164, allocations: 7.984 kB / 314.6 MB, free: 6.18 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.3164, allocations: 3.984 kB / 314.6 MB, free: 6.176 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008046/0.3172, allocations: 447.9 kB / 315.1 MB, free: 5.676 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3173, allocations: 0 / 315.1 MB, free: 5.676 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/0.3175, allocations: 31.98 kB / 315.1 MB, free: 5.645 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.3175, allocations: 4 kB / 315.1 MB, free: 5.641 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.3176, allocations: 4 kB / 315.1 MB, free: 5.637 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.3176, allocations: 0 / 315.1 MB, free: 5.637 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.3176, allocations: 4 kB / 315.1 MB, free: 5.633 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005063/0.3181, allocations: 257 kB / 315.4 MB, free: 5.359 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-05/0.3182, allocations: 89.03 kB / 315.5 MB, free: 5.254 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.3182, allocations: 0 / 315.5 MB, free: 5.254 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.3184, allocations: 8 kB / 315.5 MB, free: 5.246 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/0.3184, allocations: 7.984 kB / 315.5 MB, free: 5.238 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.3185, allocations: 4 kB / 315.5 MB, free: 5.234 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.405e-05/0.3186, allocations: 102.8 kB / 315.6 MB, free: 5.137 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3186, allocations: 4.188 kB / 315.6 MB, free: 5.133 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003598/0.3189, allocations: 27.95 kB / 315.6 MB, free: 5.105 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0008134/0.3198, allocations: 0.8 MB / 316.4 MB, free: 4.27 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003464/0.3201, allocations: 87.84 kB / 316.5 MB, free: 4.184 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3202, allocations: 0 / 316.5 MB, free: 4.184 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.3203, allocations: 44.36 kB / 316.5 MB, free: 4.141 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.3206, allocations: 11.98 kB / 316.6 MB, free: 4.129 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.3227, allocations: 0.9723 MB / 317.5 MB, free: 3.09 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.3231, allocations: 0.7199 MB / 318.2 MB, free: 2.344 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.887e-05/0.3232, allocations: 8.875 kB / 318.3 MB, free: 2.332 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.3233, allocations: 47.42 kB / 318.3 MB, free: 2.285 MB / 250.7 MB Notification: Performance of SimCode: time 1.262e-06/0.3233, allocations: 0 / 318.3 MB, free: 2.285 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02679/0.3501, allocations: 2.031 MB / 320.3 MB, free: 304 kB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003496/0.3506, allocations: 191.7 kB / 320.5 MB, free: 44 kB / 250.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.512/2.863, allocations: 0 / 320.5 MB, free: 44 kB / 250.7 MB "" Variables in the reference:time,mass.s,mass.v Variables in the result:accSensor1.a,accSensor1.flange.f,accSensor1.flange.s,accSensor1.v,der(accSensor1.v),der(mass.s),der(mass.v),der(multiSensor.flange_a.s),force.f,force.flange.f,force.flange.s,force.s,force.s_support,force.useSupport,forceSensor.f,forceSensor.flange_a.f,forceSensor.flange_a.s,forceSensor.flange_b.f,forceSensor.flange_b.s,mass.L,mass.a,mass.flange_a.f,mass.flange_a.s,mass.flange_b.f,mass.flange_b.s,mass.m,mass.s,mass.stateSelect,mass.v,multiSensor.f,multiSensor.flange_a.f,multiSensor.flange_a.s,multiSensor.flange_b.f,multiSensor.flange_b.s,multiSensor.power,multiSensor.v,positionSensor1.flange.f,positionSensor1.flange.s,positionSensor1.s,positionSensor2.flange.f,positionSensor2.flange.s,positionSensor2.s,sineForce.amplitude,sineForce.freqHz,sineForce.offset,sineForce.phase,sineForce.startTime,sineForce.y,speedSensor1.flange.f,speedSensor1.flange.s,speedSensor1.v,time