Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.003/2.003, allocations: 194.9 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003689, allocations: 12 kB / 264.1 MB, free: 2.508 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3002, allocations: 44.49 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.846/2.147, allocations: 0.5908 GB / 0.8921 GB, free: 112.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/2.147, allocations: 74.44 kB / 0.8922 GB, free: 112.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1611/2.308, allocations: 41.75 MB / 0.9329 GB, free: 98.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.244e-06/2.308, allocations: 0 / 0.9329 GB, free: 98.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.095e-06/2.308, allocations: 0 / 0.9329 GB, free: 98.16 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008398/2.309, allocations: 462.2 kB / 0.9334 GB, free: 97.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/2.309, allocations: 12.03 kB / 0.9334 GB, free: 97.66 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.346e-05/2.309, allocations: 46.28 kB / 0.9334 GB, free: 97.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/2.311, allocations: 91.22 kB / 0.9335 GB, free: 97.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/2.311, allocations: 221.7 kB / 0.9337 GB, free: 97.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/2.311, allocations: 0 / 0.9337 GB, free: 97.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.838e-05/2.311, allocations: 4 kB / 0.9337 GB, free: 97.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/2.312, allocations: 90.64 kB / 0.9338 GB, free: 97.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/2.312, allocations: 4 kB / 0.9338 GB, free: 97.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/2.312, allocations: 0 / 0.9338 GB, free: 97.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/2.312, allocations: 0 / 0.9338 GB, free: 97.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000269/2.312, allocations: 46.95 kB / 0.9339 GB, free: 97.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002803/2.312, allocations: 210.2 kB / 0.9341 GB, free: 96.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006986/2.313, allocations: 126.6 kB / 0.9342 GB, free: 96.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009119/2.314, allocations: 1.382 MB / 0.9355 GB, free: 95.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/2.314, allocations: 34.5 kB / 0.9356 GB, free: 95.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.655e-06/2.314, allocations: 0 / 0.9356 GB, free: 95.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007524/2.315, allocations: 136 kB / 0.9357 GB, free: 94.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/2.315, allocations: 85.06 kB / 0.9358 GB, free: 94.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003299/2.315, allocations: 146.6 kB / 0.9359 GB, free: 94.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/2.315, allocations: 29.7 kB / 0.9359 GB, free: 94.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.914e-05/2.315, allocations: 83.64 kB / 0.936 GB, free: 94.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/2.315, allocations: 23.09 kB / 0.936 GB, free: 94.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.432e-05/2.315, allocations: 0 / 0.936 GB, free: 94.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.15e-05/2.315, allocations: 318.7 kB / 0.9363 GB, free: 94.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/2.316, allocations: 23.36 kB / 0.9364 GB, free: 94.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/2.316, allocations: 51.09 kB / 0.9364 GB, free: 94.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/2.316, allocations: 42.47 kB / 0.9365 GB, free: 94.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/2.316, allocations: 0 / 0.9365 GB, free: 94.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005249/2.316, allocations: 116.5 kB / 0.9366 GB, free: 94.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/2.317, allocations: 8 kB / 0.9366 GB, free: 94.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/2.317, allocations: 4.062 kB / 0.9366 GB, free: 94.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/2.317, allocations: 4 kB / 0.9366 GB, free: 94.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/2.317, allocations: 23.72 kB / 0.9366 GB, free: 94.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/2.317, allocations: 8.141 kB / 0.9366 GB, free: 94.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/2.317, allocations: 11.94 kB / 0.9366 GB, free: 94.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/2.317, allocations: 11.97 kB / 0.9366 GB, free: 94.01 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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 9.654e-05/2.317, allocations: 111.4 kB / 0.9367 GB, free: 93.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/2.317, allocations: 7.984 kB / 0.9368 GB, free: 93.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007993/2.318, allocations: 242.9 kB / 0.937 GB, free: 93.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/2.318, allocations: 3.75 kB / 0.937 GB, free: 93.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/2.318, allocations: 4 kB / 0.937 GB, free: 93.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/2.318, allocations: 3.984 kB / 0.937 GB, free: 93.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/2.319, allocations: 216.8 kB / 0.9372 GB, free: 93.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/2.319, allocations: 8 kB / 0.9372 GB, free: 93.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000308/2.319, allocations: 23.91 kB / 0.9372 GB, free: 93.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/2.319, allocations: 0 / 0.9372 GB, free: 93.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/2.319, allocations: 3.984 kB / 0.9372 GB, free: 93.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/2.319, allocations: 8.062 kB / 0.9372 GB, free: 93.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/2.319, allocations: 0 / 0.9372 GB, free: 93.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006324/2.32, allocations: 198.2 kB / 0.9374 GB, free: 93.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.731e-05/2.32, allocations: 92.59 kB / 0.9375 GB, free: 93.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.569e-05/2.32, allocations: 11.92 kB / 0.9375 GB, free: 93.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/2.32, allocations: 4 kB / 0.9375 GB, free: 93.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/2.32, allocations: 3.984 kB / 0.9375 GB, free: 93.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/2.32, allocations: 11.58 kB / 0.9375 GB, free: 93.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002346/2.32, allocations: 129.5 kB / 0.9377 GB, free: 92.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.32, allocations: 0 / 0.9377 GB, free: 92.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001048/2.321, allocations: 224.1 kB / 0.9379 GB, free: 92.78 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002769/2.324, allocations: 1.517 MB / 0.9394 GB, free: 91.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004798/2.325, allocations: 74.25 kB / 0.9394 GB, free: 91.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/2.325, allocations: 128 / 0.9394 GB, free: 91.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001874/2.325, allocations: 47.22 kB / 0.9395 GB, free: 91.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/2.325, allocations: 17.91 kB / 0.9395 GB, free: 91.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/2.328, allocations: 1.383 MB / 0.9409 GB, free: 89.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/2.329, allocations: 0.6927 MB / 0.9415 GB, free: 89.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001407/2.33, allocations: 427 kB / 0.9419 GB, free: 88.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003864/2.33, allocations: 58.19 kB / 0.942 GB, free: 88.63 MB / 410.7 MB Notification: Performance of SimCode: time 1.452e-06/2.33, allocations: 3.938 kB / 0.942 GB, free: 88.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04497/2.375, allocations: 15.08 MB / 0.9567 GB, free: 73.57 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/2.376, allocations: 248.7 kB / 0.957 GB, free: 73.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.168/5.544, allocations: 0 / 0.957 GB, free: 73.32 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat