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_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_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.169/2.169, allocations: 194.8 MB / 211.1 MB, free: 7.582 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.000377, allocations: 12 kB / 264.1 MB, free: 2.504 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3033, allocations: 44.5 MB / 308.6 MB, free: 12.55 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1341/0.4375, allocations: 72.27 MB / 380.8 MB, free: 4.184 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.4378, allocations: 75.95 kB / 380.9 MB, free: 4.109 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0258/0.4636, allocations: 5.235 MB / 386.1 MB, free: 14.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4637, allocations: 0 / 386.1 MB, free: 14.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.4637, allocations: 0 / 386.1 MB, free: 14.86 MB / 330.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.0004324/0.4642, allocations: 363.1 kB / 386.5 MB, free: 14.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.8e-05/0.4643, allocations: 8.031 kB / 386.5 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.66e-05/0.4643, allocations: 42.5 kB / 386.5 MB, free: 14.4 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.811e-05/0.4644, allocations: 4 kB / 386.5 MB, free: 14.4 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.4645, allocations: 175 kB / 386.7 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.4646, allocations: 0 / 386.7 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.4646, allocations: 0 / 386.7 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.4647, allocations: 33.39 kB / 386.8 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.4647, allocations: 0 / 386.8 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.4647, allocations: 0 / 386.8 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4647, allocations: 0 / 386.8 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.332e-05/0.4648, allocations: 11.98 kB / 386.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.4652, allocations: 400 kB / 387.2 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.574e-05/0.4653, allocations: 169.1 kB / 387.3 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.4653, allocations: 75.28 kB / 387.4 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.702e-05/0.4654, allocations: 109.8 kB / 387.5 MB, free: 13.33 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.4654, allocations: 8 kB / 387.5 MB, free: 13.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 8.332e-05/0.4655, allocations: 33.55 kB / 387.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.231e-05/0.4656, allocations: 152.4 kB / 387.7 MB, free: 13.12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.4657, allocations: 109 kB / 387.8 MB, free: 13 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.4658, allocations: 25.7 kB / 387.8 MB, free: 12.97 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.3e-05/0.4658, allocations: 84.14 kB / 387.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-06/0.4659, allocations: 0 / 387.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.4659, allocations: 0 / 387.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.466, allocations: 322.8 kB / 388.2 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.741e-05/0.466, allocations: 4 kB / 388.2 MB, free: 12.56 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.238e-05/0.4661, allocations: 7.984 kB / 388.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.704e-05/0.4661, allocations: 4 kB / 388.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4661, allocations: 0 / 388.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001271/0.4663, allocations: 37.61 kB / 388.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.4663, allocations: 11.98 kB / 388.3 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4663, allocations: 0 / 388.3 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.4663, allocations: 3.938 kB / 388.3 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.56e-05/0.4664, allocations: 12.11 kB / 388.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.4664, allocations: 0 / 388.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.347e-05/0.4665, allocations: 7.938 kB / 388.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.4665, allocations: 0 / 388.3 MB, free: 12.47 MB / 330.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.0001215/0.4666, allocations: 189.1 kB / 388.5 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-05/0.4667, allocations: 105.5 kB / 388.6 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.095e-05/0.4668, allocations: 116.4 kB / 388.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-05/0.4669, allocations: 188.3 kB / 388.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.191e-05/0.467, allocations: 176.3 kB / 389.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.879e-05/0.467, allocations: 180.2 kB / 389.2 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.4673, allocations: 413.2 kB / 389.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.39e-05/0.4674, allocations: 104.9 kB / 389.7 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.671e-05/0.4674, allocations: 109 kB / 389.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.603e-05/0.4675, allocations: 180.3 kB / 390 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.269e-05/0.4676, allocations: 180.2 kB / 390.2 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.205e-05/0.4677, allocations: 176.3 kB / 390.4 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.387e-05/0.4678, allocations: 188.2 kB / 390.6 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.4679, allocations: 307.8 kB / 390.9 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.4681, allocations: 189.9 kB / 391 MB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.705e-05/0.4682, allocations: 180.3 kB / 391.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.4683, allocations: 108.9 kB / 391.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.255e-05/0.4684, allocations: 176.3 kB / 391.5 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/0.4684, allocations: 101 kB / 391.6 MB, free: 8.953 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.834e-05/0.4685, allocations: 99.27 kB / 391.7 MB, free: 8.855 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4686, allocations: 3.938 kB / 391.7 MB, free: 8.852 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000455/0.469, allocations: 55.92 kB / 391.8 MB, free: 8.797 MB / 330.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.0009802/0.47, allocations: 0.9045 MB / 392.7 MB, free: 7.875 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.375e-05/0.4701, allocations: 7.984 kB / 392.7 MB, free: 7.867 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4701, allocations: 0 / 392.7 MB, free: 7.867 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.199e-06/0.4702, allocations: 8 kB / 392.7 MB, free: 7.859 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.4705, allocations: 0.525 MB / 393.2 MB, free: 7.332 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007606/0.4713, allocations: 463.7 kB / 393.7 MB, free: 6.828 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.4716, allocations: 0.677 MB / 394.3 MB, free: 6.125 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.893e-05/0.4717, allocations: 7.938 kB / 394.3 MB, free: 6.117 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.4717, allocations: 15.42 kB / 394.4 MB, free: 6.105 MB / 330.7 MB Notification: Performance of SimCode: time 7.22e-07/0.4717, allocations: 0 / 394.4 MB, free: 6.105 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02569/0.4974, allocations: 1.788 MB / 396.1 MB, free: 4.355 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000305/0.4978, allocations: 240.5 kB / 396.4 MB, free: 4.109 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.287/2.785, allocations: 0 / 396.4 MB, free: 4.109 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat does not exist to compare? outputFormat=mat