Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002386/0.002385, allocations: 180.2 kB / 13.65 MB, free: 1.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.216/2.216, allocations: 205.2 MB / 219.4 MB, free: 14.29 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001199/0.001198, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.666e-05/3.673e-05, allocations: 4 kB / 321.6 MB, free: 17.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1037, allocations: 47.57 MB / 369.2 MB, free: 2.129 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.418/0.5218, allocations: 76.46 MB / 445.6 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/0.5222, allocations: 64.16 kB / 445.7 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02565/0.5478, allocations: 5.241 MB / 450.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.5479, allocations: 0 / 450.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.5479, allocations: 0 / 450.9 MB, free: 12.25 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.0004129/0.5483, allocations: 354.2 kB / 451.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.5484, allocations: 12.03 kB / 451.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.453e-05/0.5485, allocations: 34.56 kB / 451.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.5485, allocations: 8.688 kB / 451.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.5487, allocations: 167 kB / 451.5 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.5487, allocations: 3.938 kB / 451.5 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.5487, allocations: 3.953 kB / 451.5 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.5489, allocations: 41.56 kB / 451.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.5489, allocations: 0 / 451.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.5489, allocations: 4 kB / 451.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.5489, allocations: 0 / 451.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.733e-05/0.5489, allocations: 4 kB / 451.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.5494, allocations: 399.8 kB / 451.9 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.985e-05/0.5495, allocations: 173.1 kB / 452.1 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.223e-05/0.5496, allocations: 80.14 kB / 452.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.5496, allocations: 75.28 kB / 452.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.64e-05/0.5497, allocations: 113.8 kB / 452.4 MB, free: 10.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.643e-06/0.5497, allocations: 0 / 452.4 MB, free: 10.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 8.632e-05/0.5498, allocations: 29.7 kB / 452.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.901e-05/0.5499, allocations: 160.3 kB / 452.6 MB, free: 10.44 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.55, allocations: 104.4 kB / 452.7 MB, free: 10.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.5501, allocations: 25.7 kB / 452.7 MB, free: 10.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.077e-05/0.5502, allocations: 154.5 kB / 452.8 MB, free: 10.15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.5502, allocations: 4 kB / 452.8 MB, free: 10.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.5502, allocations: 4 kB / 452.9 MB, free: 10.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5503, allocations: 310.8 kB / 453.2 MB, free: 9.832 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.597e-05/0.5504, allocations: 4.344 kB / 453.2 MB, free: 9.832 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.858e-05/0.5504, allocations: 7.984 kB / 453.2 MB, free: 9.824 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.846e-05/0.5505, allocations: 4 kB / 453.2 MB, free: 9.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.5505, allocations: 3.953 kB / 453.2 MB, free: 9.816 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001174/0.5506, allocations: 37.58 kB / 453.2 MB, free: 9.777 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.5506, allocations: 4.125 kB / 453.2 MB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.5506, allocations: 7.984 kB / 453.2 MB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.5507, allocations: 3.938 kB / 453.2 MB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.96e-05/0.5507, allocations: 7.938 kB / 453.2 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.5508, allocations: 0 / 453.2 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.287e-05/0.5508, allocations: 0 / 453.2 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.5508, allocations: 0 / 453.2 MB, free: 9.754 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 () * 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.0001204/0.551, allocations: 180.3 kB / 453.4 MB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.157e-05/0.5511, allocations: 104.9 kB / 453.5 MB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.767e-05/0.5511, allocations: 124.4 kB / 453.6 MB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-05/0.5512, allocations: 180.2 kB / 453.8 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.41e-05/0.5513, allocations: 179.5 kB / 454 MB, free: 8.965 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.666e-05/0.5514, allocations: 187 kB / 454.2 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.5517, allocations: 405.1 kB / 454.6 MB, free: 8.328 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.488e-05/0.5518, allocations: 113 kB / 454.7 MB, free: 8.211 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.196e-05/0.5518, allocations: 108.9 kB / 454.8 MB, free: 8.098 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.933e-05/0.5519, allocations: 176.3 kB / 455 MB, free: 7.918 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.906e-05/0.552, allocations: 180.2 kB / 455.1 MB, free: 7.734 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.578e-05/0.5521, allocations: 184.1 kB / 455.3 MB, free: 7.551 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-05/0.5522, allocations: 180.2 kB / 455.5 MB, free: 7.367 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.5524, allocations: 311.5 kB / 455.8 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.5525, allocations: 182 kB / 456 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.872e-05/0.5526, allocations: 192.2 kB / 456.2 MB, free: 6.645 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.5528, allocations: 104.9 kB / 456.3 MB, free: 6.535 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.71e-05/0.5529, allocations: 184.3 kB / 456.4 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.013e-05/0.5529, allocations: 105 kB / 456.5 MB, free: 6.238 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.637e-05/0.553, allocations: 95.66 kB / 456.6 MB, free: 6.152 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.553, allocations: 0 / 456.6 MB, free: 6.152 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004534/0.5535, allocations: 55.92 kB / 456.7 MB, free: 6.098 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 () * 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.001032/0.5545, allocations: 0.91 MB / 457.6 MB, free: 5.176 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.148e-05/0.5547, allocations: 8 kB / 457.6 MB, free: 5.168 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5547, allocations: 0 / 457.6 MB, free: 5.168 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.681e-06/0.5547, allocations: 3.938 kB / 457.6 MB, free: 5.164 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.5551, allocations: 0.5224 MB / 458.1 MB, free: 4.637 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004528/0.5555, allocations: 212.4 kB / 458.3 MB, free: 4.391 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.5559, allocations: 0.6849 MB / 459 MB, free: 3.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.017e-05/0.5559, allocations: 11.25 kB / 459 MB, free: 3.672 MB / 330.7 MB Notification: Performance of SimCode: time 7.61e-07/0.5559, allocations: 3.938 kB / 459 MB, free: 3.668 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.465/3.021, allocations: 1.383 MB / 460.4 MB, free: 2.277 MB / 330.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat does not exist to compare? outputFormat=mat