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_sine.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_sine,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.972/1.972, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00051/0.00051, allocations: 8 kB / 264 MB, free: 13.49 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09984/0.1004, allocations: 44.51 MB / 308.5 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4132/0.5136, allocations: 72.26 MB / 380.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/0.514, allocations: 73.59 kB / 380.9 MB, free: 14.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02525/0.5393, allocations: 5.24 MB / 386.1 MB, free: 14.01 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5394, allocations: 4 kB / 386.1 MB, free: 14.01 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.5394, allocations: 1.312 kB / 386.1 MB, free: 14.01 MB / 314.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.0004323/0.5398, allocations: 368.9 kB / 386.5 MB, free: 13.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.5399, allocations: 9.062 kB / 386.5 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.749e-05/0.5399, allocations: 30.56 kB / 386.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.54, allocations: 3.156 kB / 386.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.5401, allocations: 171.5 kB / 386.7 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.5401, allocations: 1.312 kB / 386.7 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.5401, allocations: 0 / 386.7 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.574e-05/0.5403, allocations: 38.33 kB / 386.7 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.5403, allocations: 1.344 kB / 386.7 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.5403, allocations: 0 / 386.7 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.5403, allocations: 1.547 kB / 386.7 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.817e-05/0.5403, allocations: 11.05 kB / 386.7 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.5407, allocations: 397.9 kB / 387.1 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.535e-05/0.5407, allocations: 170.5 kB / 387.3 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.5408, allocations: 78.66 kB / 387.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.5408, allocations: 108.7 kB / 387.5 MB, free: 12.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.5408, allocations: 0 / 387.5 MB, free: 12.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 7.825e-05/0.5409, allocations: 34.73 kB / 387.5 MB, free: 12.53 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.541, allocations: 155.2 kB / 387.7 MB, free: 12.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.5411, allocations: 110.8 kB / 387.8 MB, free: 12.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.5411, allocations: 25.7 kB / 387.8 MB, free: 12.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/0.5412, allocations: 156.6 kB / 387.9 MB, free: 12.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.5412, allocations: 0 / 387.9 MB, free: 12.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.5412, allocations: 0 / 387.9 MB, free: 12.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.265e-05/0.5413, allocations: 316.2 kB / 388.2 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.406e-05/0.5413, allocations: 1.844 kB / 388.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.578e-05/0.5413, allocations: 5.625 kB / 388.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.681e-05/0.5414, allocations: 11.75 kB / 388.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5414, allocations: 0 / 388.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001137/0.5415, allocations: 37.61 kB / 388.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.5415, allocations: 6.062 kB / 388.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5416, allocations: 0 / 388.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.5416, allocations: 1.844 kB / 388.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.032e-05/0.5417, allocations: 2.953 kB / 388.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.5417, allocations: 0 / 388.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.52e-05/0.5417, allocations: 5.469 kB / 388.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.5418, allocations: 6.531 kB / 388.3 MB, free: 11.72 MB / 314.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 8.288e-05/0.5419, allocations: 195.3 kB / 388.5 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.412e-05/0.5419, allocations: 107.8 kB / 388.6 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.542, allocations: 111.1 kB / 388.7 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-05/0.542, allocations: 183 kB / 388.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-05/0.5421, allocations: 180.2 kB / 389.1 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.555e-05/0.5421, allocations: 187.2 kB / 389.3 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.5423, allocations: 408.6 kB / 389.7 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.24e-05/0.5423, allocations: 107.9 kB / 389.8 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.935e-05/0.5424, allocations: 101 kB / 389.9 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.675e-05/0.5424, allocations: 183 kB / 390.1 MB, free: 9.914 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.618e-05/0.5425, allocations: 182 kB / 390.2 MB, free: 9.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.468e-05/0.5425, allocations: 177.6 kB / 390.4 MB, free: 9.551 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.373e-05/0.5425, allocations: 185.4 kB / 390.6 MB, free: 9.367 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.442e-05/0.5427, allocations: 305.7 kB / 390.9 MB, free: 9.051 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.736e-05/0.5427, allocations: 185.9 kB / 391.1 MB, free: 8.852 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.221e-05/0.5428, allocations: 185.9 kB / 391.2 MB, free: 8.664 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.5429, allocations: 106.5 kB / 391.3 MB, free: 8.555 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.543, allocations: 178.5 kB / 391.5 MB, free: 8.375 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.543, allocations: 106 kB / 391.6 MB, free: 8.266 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.215e-05/0.5431, allocations: 95.25 kB / 391.7 MB, free: 8.191 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5431, allocations: 0 / 391.7 MB, free: 8.191 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004961/0.5436, allocations: 55.81 kB / 391.8 MB, free: 8.176 MB / 314.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.0007816/0.5444, allocations: 0.9233 MB / 392.7 MB, free: 7.316 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.332e-05/0.5445, allocations: 7.875 kB / 392.7 MB, free: 7.312 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5445, allocations: 0 / 392.7 MB, free: 7.312 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.966e-06/0.5445, allocations: 0 / 392.7 MB, free: 7.312 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.5448, allocations: 0.5262 MB / 393.2 MB, free: 6.789 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006977/0.5455, allocations: 478.9 kB / 393.7 MB, free: 6.355 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005641/0.5461, allocations: 0.6794 MB / 394.4 MB, free: 21.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.94e-05/0.5461, allocations: 16.42 kB / 394.4 MB, free: 21.65 MB / 330.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5462, allocations: 0 / 394.4 MB, free: 21.65 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.487/3.033, allocations: 1.39 MB / 395.8 MB, free: 21.5 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat does not exist to compare? outputFormat=mat