Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.722/1.722, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003891/0.000389, allocations: 8 kB / 233.3 MB, free: 2.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0864/0.08684, allocations: 38.77 MB / 272.1 MB, free: 12.1 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3453/0.4322, allocations: 66.91 MB / 339 MB, free: 6.637 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/0.4326, allocations: 75.64 kB / 339.1 MB, free: 6.594 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02538/0.458, allocations: 5.232 MB / 344.3 MB, free: 2.133 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.651e-06/0.458, allocations: 3.984 kB / 344.3 MB, free: 2.129 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.458, allocations: 0 / 344.3 MB, free: 2.129 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004453/0.4585, allocations: 362.2 kB / 344.7 MB, free: 1.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.4586, allocations: 12.03 kB / 344.7 MB, free: 1.719 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.374e-05/0.4586, allocations: 33.38 kB / 344.7 MB, free: 1.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.4587, allocations: 3.906 kB / 344.7 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.4588, allocations: 175 kB / 344.9 MB, free: 1.465 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.4588, allocations: 0 / 344.9 MB, free: 1.465 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.4589, allocations: 3.953 kB / 344.9 MB, free: 1.461 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.961e-05/0.459, allocations: 33.14 kB / 344.9 MB, free: 1.426 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.459, allocations: 0 / 344.9 MB, free: 1.426 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.459, allocations: 0 / 344.9 MB, free: 1.426 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.459, allocations: 4 kB / 344.9 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.944e-05/0.4591, allocations: 7.922 kB / 344.9 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/0.4595, allocations: 398.1 kB / 345.3 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.158e-05/0.4596, allocations: 169.1 kB / 345.5 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.4596, allocations: 82.72 kB / 345.6 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.551e-05/0.4597, allocations: 105.8 kB / 345.7 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/0.4597, allocations: 3.938 kB / 345.7 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 8.051e-05/0.4598, allocations: 33.69 kB / 345.7 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.986e-05/0.4599, allocations: 156.4 kB / 345.9 MB, free: 404 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.46, allocations: 111.7 kB / 346 MB, free: 292 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.4601, allocations: 25.7 kB / 346 MB, free: 260 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.398e-05/0.4602, allocations: 157.6 kB / 346.2 MB, free: 104 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.961e-06/0.4602, allocations: 3.984 kB / 346.2 MB, free: 100 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.4602, allocations: 0 / 346.2 MB, free: 100 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.4603, allocations: 314.8 kB / 346.5 MB, free: 15.78 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.4604, allocations: 8 kB / 346.5 MB, free: 15.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.668e-05/0.4604, allocations: 7.125 kB / 346.5 MB, free: 15.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.487e-05/0.4604, allocations: 3.984 kB / 346.5 MB, free: 15.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4604, allocations: 0 / 346.5 MB, free: 15.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001305/0.4606, allocations: 45.16 kB / 346.5 MB, free: 15.72 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.4606, allocations: 4.625 kB / 346.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4606, allocations: 0 / 346.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.4607, allocations: 4 kB / 346.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.547e-05/0.4607, allocations: 128 / 346.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4607, allocations: 4 kB / 346.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.434e-05/0.4608, allocations: 3.984 kB / 346.5 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.4608, allocations: 4 kB / 346.5 MB, free: 15.7 MB / 282.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 (1): * Single equations (assignments): 1 * 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.0001172/0.461, allocations: 181.1 kB / 346.7 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.691e-05/0.461, allocations: 113.3 kB / 346.8 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.161e-05/0.4611, allocations: 107.5 kB / 346.9 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-05/0.4612, allocations: 192.2 kB / 347.1 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.055e-05/0.4613, allocations: 184.2 kB / 347.3 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.51e-05/0.4614, allocations: 176.3 kB / 347.5 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.4616, allocations: 407.8 kB / 347.9 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.397e-05/0.4617, allocations: 104 kB / 348 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.097e-05/0.4617, allocations: 105 kB / 348.1 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.513e-05/0.4618, allocations: 192.2 kB / 348.3 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.786e-05/0.4619, allocations: 176.3 kB / 348.4 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.96e-05/0.462, allocations: 180.2 kB / 348.6 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-05/0.4621, allocations: 179 kB / 348.8 MB, free: 13.31 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.4622, allocations: 319 kB / 349.1 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.238e-05/0.4623, allocations: 178.1 kB / 349.3 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.836e-05/0.4624, allocations: 184.2 kB / 349.5 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.4626, allocations: 109 kB / 349.6 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.96e-05/0.4627, allocations: 183 kB / 349.7 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.44e-05/0.4627, allocations: 112.9 kB / 349.9 MB, free: 12.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.412e-05/0.4628, allocations: 98.14 kB / 349.9 MB, free: 12.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4628, allocations: 0 / 349.9 MB, free: 12.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004692/0.4633, allocations: 51.94 kB / 350 MB, free: 12.04 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.00107/0.4644, allocations: 0.8962 MB / 350.9 MB, free: 11.13 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001098/0.4645, allocations: 11.44 kB / 350.9 MB, free: 11.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4646, allocations: 0 / 350.9 MB, free: 11.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.886e-06/0.4646, allocations: 4.062 kB / 350.9 MB, free: 11.12 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.465, allocations: 0.5269 MB / 351.4 MB, free: 10.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008049/0.4658, allocations: 477.6 kB / 351.9 MB, free: 10.08 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.4661, allocations: 0.677 MB / 352.6 MB, free: 9.379 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.284e-05/0.4661, allocations: 18.86 kB / 352.6 MB, free: 9.363 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.4661, allocations: 0 / 352.6 MB, free: 9.363 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.37/2.837, allocations: 1.407 MB / 354 MB, free: 7.965 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat does not exist to compare? outputFormat=mat