Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel.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.Blocks.Examples.InverseModel,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_InverseModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.899/1.899, allocations: 194.8 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003555, allocations: 8 kB / 264 MB, free: 3.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2933, allocations: 44.52 MB / 308.5 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002253/0.2957, allocations: 1.345 MB / 309.9 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.2967, allocations: 488.1 kB / 310.4 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.793e-05/0.2968, allocations: 0 / 310.4 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.947e-05/0.2969, allocations: 11.86 kB / 310.4 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.2971, allocations: 23.95 kB / 310.4 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.2973, allocations: 39.89 kB / 310.4 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.2975, allocations: 75.78 kB / 310.5 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.2977, allocations: 25.05 kB / 310.5 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.724e-05/0.2978, allocations: 31.84 kB / 310.6 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.699e-05/0.2979, allocations: 35.84 kB / 310.6 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.2979, allocations: 8 kB / 310.6 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.813e-05/0.2979, allocations: 0 / 310.6 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.002e-05/0.298, allocations: 11.92 kB / 310.6 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.418e-05/0.2981, allocations: 45.64 kB / 310.7 MB, free: 10.6 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.2982, allocations: 52.86 kB / 310.7 MB, free: 10.55 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.2982, allocations: 0 / 310.7 MB, free: 10.55 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.258e-06/0.2982, allocations: 4 kB / 310.7 MB, free: 10.54 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.2982, allocations: 0 / 310.7 MB, free: 10.54 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006449/0.2989, allocations: 391 kB / 311.1 MB, free: 10.11 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2989, allocations: 8.031 kB / 311.1 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.259e-05/0.299, allocations: 46.48 kB / 311.2 MB, free: 10.05 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.299, allocations: 11.86 kB / 311.2 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.2993, allocations: 206.2 kB / 311.4 MB, free: 9.801 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.2993, allocations: 4 kB / 311.4 MB, free: 9.797 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.402e-05/0.2994, allocations: 11.91 kB / 311.4 MB, free: 9.785 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.2997, allocations: 81.66 kB / 311.5 MB, free: 9.699 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.2997, allocations: 0 / 311.5 MB, free: 9.699 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.2997, allocations: 0 / 311.5 MB, free: 9.699 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.2997, allocations: 11.88 kB / 311.5 MB, free: 9.688 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.2999, allocations: 43.97 kB / 311.5 MB, free: 9.645 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007137/0.3007, allocations: 408 kB / 311.9 MB, free: 9.184 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.3009, allocations: 62.55 kB / 312 MB, free: 9.113 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.3009, allocations: 7.984 kB / 312 MB, free: 9.105 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.3009, allocations: 30.56 kB / 312 MB, free: 9.066 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/0.301, allocations: 4 kB / 312 MB, free: 9.062 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004106/0.3014, allocations: 105.7 kB / 312.1 MB, free: 8.953 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.3014, allocations: 51.41 kB / 312.2 MB, free: 8.891 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.3016, allocations: 142.4 kB / 312.3 MB, free: 8.742 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.3016, allocations: 25.7 kB / 312.3 MB, free: 8.711 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8e-05/0.3017, allocations: 104.4 kB / 312.4 MB, free: 8.605 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.3018, allocations: 31.64 kB / 312.5 MB, free: 8.574 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.3018, allocations: 0 / 312.5 MB, free: 8.574 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.3019, allocations: 318.8 kB / 312.8 MB, free: 8.254 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.803e-05/0.302, allocations: 16 kB / 312.8 MB, free: 8.238 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.3021, allocations: 27.98 kB / 312.8 MB, free: 8.211 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.3023, allocations: 28.12 kB / 312.9 MB, free: 8.184 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3023, allocations: 0 / 312.9 MB, free: 8.184 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002737/0.3026, allocations: 97.47 kB / 313 MB, free: 8.082 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3026, allocations: 11.94 kB / 313 MB, free: 8.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3026, allocations: 0 / 313 MB, free: 8.07 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3026, allocations: 0 / 313 MB, free: 8.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.303, allocations: 35.97 kB / 313 MB, free: 8.035 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.303, allocations: 0 / 313 MB, free: 8.035 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.723e-05/0.3031, allocations: 11.98 kB / 313 MB, free: 8.023 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.3032, allocations: 8 kB / 313 MB, free: 8.016 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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.0001053/0.3033, allocations: 113.8 kB / 313.1 MB, free: 7.895 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.3033, allocations: 11.86 kB / 313.1 MB, free: 7.883 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.883e-05/0.3034, allocations: 8.312 kB / 313.2 MB, free: 7.875 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3034, allocations: 4 kB / 313.2 MB, free: 7.871 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3034, allocations: 3.984 kB / 313.2 MB, free: 7.867 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3034, allocations: 0 / 313.2 MB, free: 7.867 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.3037, allocations: 197.6 kB / 313.4 MB, free: 7.625 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3037, allocations: 0 / 313.4 MB, free: 7.625 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.304, allocations: 28.17 kB / 313.4 MB, free: 7.598 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.304, allocations: 3.938 kB / 313.4 MB, free: 7.594 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.304, allocations: 15.95 kB / 313.4 MB, free: 7.578 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.304, allocations: 0 / 313.4 MB, free: 7.578 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.304, allocations: 0 / 313.4 MB, free: 7.578 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004237/0.3045, allocations: 207.3 kB / 313.6 MB, free: 7.359 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/0.3046, allocations: 85.05 kB / 313.7 MB, free: 7.258 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.3046, allocations: 4 kB / 313.7 MB, free: 7.254 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.3047, allocations: 11.94 kB / 313.7 MB, free: 7.242 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.3048, allocations: 0 / 313.7 MB, free: 7.242 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.3048, allocations: 0 / 313.7 MB, free: 7.242 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001043/0.3049, allocations: 114.2 kB / 313.8 MB, free: 7.133 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3049, allocations: 0 / 313.8 MB, free: 7.133 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002839/0.3052, allocations: 16 kB / 313.8 MB, free: 7.117 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (firstOrder1.y,firstOrder2.y) * 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 (5): * Single equations (assignments): 5 * 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.0007028/0.3059, allocations: 0.7359 MB / 314.6 MB, free: 6.355 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000247/0.3062, allocations: 56.03 kB / 314.6 MB, free: 6.301 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3062, allocations: 0 / 314.6 MB, free: 6.301 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.3063, allocations: 27.92 kB / 314.6 MB, free: 6.273 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.3067, allocations: 25.7 kB / 314.7 MB, free: 6.254 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.3084, allocations: 0.7131 MB / 315.4 MB, free: 5.5 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.3087, allocations: 0.7082 MB / 316.1 MB, free: 4.766 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.565e-05/0.3088, allocations: 16.03 kB / 316.1 MB, free: 4.75 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.576e-05/0.3089, allocations: 31.42 kB / 316.1 MB, free: 4.719 MB / 250.7 MB Notification: Performance of SimCode: time 7.71e-07/0.3089, allocations: 0 / 316.1 MB, free: 4.719 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01957/0.3285, allocations: 1.959 MB / 318.1 MB, free: 2.805 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003334/0.3289, allocations: 165.8 kB / 318.3 MB, free: 2.562 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.275/2.604, allocations: 0 / 318.3 MB, free: 2.562 MB / 250.7 MB "" Variables in the reference:time,firstOrder1.y,firstOrder2.y Variables in the result:criticalDamping.alpha,criticalDamping.f,criticalDamping.initType,criticalDamping.n,criticalDamping.normalized,criticalDamping.u,criticalDamping.w,criticalDamping.x[1],criticalDamping.x_start[1],criticalDamping.y,criticalDamping.y_start,der(firstOrder1.y),der(firstOrder2.y),feedback.u1,feedback.u2,feedback.y,firstOrder1.T,firstOrder1.initType,firstOrder1.k,firstOrder1.u,firstOrder1.y,firstOrder1.y_start,firstOrder2.T,firstOrder2.initType,firstOrder2.k,firstOrder2.u,firstOrder2.y,firstOrder2.y_start,inverseBlockConstraints.u1,inverseBlockConstraints.u2,inverseBlockConstraints.y1,inverseBlockConstraints.y2,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,sine.y,time