Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.968/1.968, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003793, allocations: 19.92 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09806/0.09849, allocations: 44.5 MB / 308.5 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.921/2.02, allocations: 0.5908 GB / 0.8921 GB, free: 96.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/2.02, allocations: 77.53 kB / 0.8921 GB, free: 96.78 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1611/2.181, allocations: 41.75 MB / 0.9329 GB, free: 61.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.705e-06/2.181, allocations: 0 / 0.9329 GB, free: 61.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.811e-05/2.181, allocations: 4 kB / 0.9329 GB, free: 61.68 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.0008057/2.182, allocations: 465.7 kB / 0.9334 GB, free: 61.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/2.182, allocations: 12.03 kB / 0.9334 GB, free: 61.18 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.824e-05/2.182, allocations: 34.12 kB / 0.9334 GB, free: 61.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00203/2.184, allocations: 89.89 kB / 0.9335 GB, free: 61.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/2.185, allocations: 213.5 kB / 0.9337 GB, free: 60.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/2.185, allocations: 7.984 kB / 0.9337 GB, free: 60.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.235e-05/2.185, allocations: 7.938 kB / 0.9337 GB, free: 60.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002899/2.185, allocations: 92.31 kB / 0.9338 GB, free: 60.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/2.185, allocations: 4 kB / 0.9338 GB, free: 60.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/2.185, allocations: 0 / 0.9338 GB, free: 60.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/2.185, allocations: 0 / 0.9338 GB, free: 60.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002667/2.186, allocations: 41.77 kB / 0.9338 GB, free: 60.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000282/2.186, allocations: 214.8 kB / 0.934 GB, free: 60.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006961/2.187, allocations: 119.2 kB / 0.9341 GB, free: 60.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009296/2.187, allocations: 1.381 MB / 0.9355 GB, free: 58.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/2.188, allocations: 42.44 kB / 0.9355 GB, free: 58.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 3.006e-06/2.188, allocations: 3.938 kB / 0.9355 GB, free: 58.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007506/2.188, allocations: 137.3 kB / 0.9357 GB, free: 58.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/2.188, allocations: 81.06 kB / 0.9358 GB, free: 58.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/2.189, allocations: 142.1 kB / 0.9359 GB, free: 58.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/2.189, allocations: 29.7 kB / 0.9359 GB, free: 58.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/2.189, allocations: 153.1 kB / 0.9361 GB, free: 58.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.078e-05/2.189, allocations: 26.27 kB / 0.9361 GB, free: 58.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.426e-05/2.189, allocations: 4 kB / 0.9361 GB, free: 58.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.769e-05/2.189, allocations: 313.1 kB / 0.9364 GB, free: 57.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/2.189, allocations: 24.34 kB / 0.9364 GB, free: 57.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/2.189, allocations: 53.03 kB / 0.9365 GB, free: 57.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/2.189, allocations: 31.17 kB / 0.9365 GB, free: 57.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/2.189, allocations: 4 kB / 0.9365 GB, free: 57.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004835/2.19, allocations: 117.2 kB / 0.9366 GB, free: 57.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/2.19, allocations: 4.625 kB / 0.9366 GB, free: 57.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/2.19, allocations: 7.984 kB / 0.9366 GB, free: 57.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/2.19, allocations: 480 / 0.9366 GB, free: 57.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/2.19, allocations: 26.47 kB / 0.9366 GB, free: 57.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/2.19, allocations: 0 / 0.9366 GB, free: 57.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/2.191, allocations: 11.86 kB / 0.9367 GB, free: 57.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/2.191, allocations: 14.61 kB / 0.9367 GB, free: 57.49 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 8.846e-05/2.191, allocations: 120.2 kB / 0.9368 GB, free: 57.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.745e-05/2.191, allocations: 4 kB / 0.9368 GB, free: 57.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008142/2.192, allocations: 235.9 kB / 0.937 GB, free: 57.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/2.192, allocations: 9.625 kB / 0.937 GB, free: 57.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/2.192, allocations: 0 / 0.937 GB, free: 57.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/2.192, allocations: 0 / 0.937 GB, free: 57.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/2.192, allocations: 220.8 kB / 0.9372 GB, free: 56.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/2.192, allocations: 0 / 0.9372 GB, free: 56.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/2.192, allocations: 22.53 kB / 0.9373 GB, free: 56.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/2.192, allocations: 4.062 kB / 0.9373 GB, free: 56.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/2.192, allocations: 4 kB / 0.9373 GB, free: 56.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/2.192, allocations: 3.938 kB / 0.9373 GB, free: 56.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/2.192, allocations: 0 / 0.9373 GB, free: 56.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006181/2.193, allocations: 195.3 kB / 0.9375 GB, free: 56.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.941e-05/2.193, allocations: 94.61 kB / 0.9375 GB, free: 56.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.569e-05/2.193, allocations: 0 / 0.9375 GB, free: 56.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002893/2.193, allocations: 7.938 kB / 0.9375 GB, free: 56.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.297e-05/2.194, allocations: 14.48 kB / 0.9376 GB, free: 56.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/2.194, allocations: 12.02 kB / 0.9376 GB, free: 56.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002423/2.194, allocations: 135.3 kB / 0.9377 GB, free: 56.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/2.194, allocations: 0 / 0.9377 GB, free: 56.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001049/2.195, allocations: 219.2 kB / 0.9379 GB, free: 56.26 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.002708/2.198, allocations: 1.521 MB / 0.9394 GB, free: 54.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004661/2.198, allocations: 75.88 kB / 0.9395 GB, free: 54.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/2.198, allocations: 0 / 0.9395 GB, free: 54.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001847/2.198, allocations: 39.92 kB / 0.9395 GB, free: 54.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/2.199, allocations: 19.88 kB / 0.9395 GB, free: 54.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/2.201, allocations: 1.411 MB / 0.9409 GB, free: 53.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/2.201, allocations: 0.6887 MB / 0.9416 GB, free: 52.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/2.202, allocations: 59.31 kB / 0.9416 GB, free: 52.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.573e-06/2.202, allocations: 0 / 0.9416 GB, free: 52.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.21/5.412, allocations: 7.867 MB / 0.9493 GB, free: 44.44 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat