Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001449/0.001449, allocations: 180 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.4 MB / 223.1 MB, free: 9.031 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.0008416/0.0008418, allocations: 96.97 kB / 271.5 MB, free: 8.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002771/0.0002771, allocations: 4 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3175, allocations: 47.58 MB / 375.9 MB, free: 45.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1125/0.4301, allocations: 76.55 MB / 452.5 MB, free: 4.094 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.4304, allocations: 67.97 kB / 452.5 MB, free: 4.027 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01702/0.4475, allocations: 5.266 MB / 457.8 MB, free: 14.76 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4475, allocations: 0 / 457.8 MB, free: 14.76 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.4475, allocations: 4 kB / 457.8 MB, free: 14.75 MB / 346.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.0004143/0.448, allocations: 367.1 kB / 458.2 MB, free: 14.35 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.448, allocations: 8.031 kB / 458.2 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.261e-05/0.4481, allocations: 34.56 kB / 458.2 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.824e-05/0.4481, allocations: 4 kB / 458.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.4483, allocations: 163.1 kB / 458.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.4483, allocations: 4 kB / 458.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.4483, allocations: 3.953 kB / 458.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.35e-05/0.4484, allocations: 41.62 kB / 458.4 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.4484, allocations: 0 / 458.4 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.4484, allocations: 3.938 kB / 458.4 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.4484, allocations: 0 / 458.4 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.93e-05/0.4485, allocations: 8 kB / 458.4 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.4489, allocations: 396 kB / 458.8 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.34e-05/0.449, allocations: 177.1 kB / 459 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.4491, allocations: 75.28 kB / 459 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.046e-05/0.4491, allocations: 105.8 kB / 459.2 MB, free: 13.22 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.273e-06/0.4491, allocations: 0 / 459.2 MB, free: 13.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 8.022e-05/0.4492, allocations: 37.61 kB / 459.2 MB, free: 13.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.637e-05/0.4493, allocations: 156.4 kB / 459.3 MB, free: 13 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.4495, allocations: 109 kB / 459.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.4495, allocations: 25.7 kB / 459.5 MB, free: 12.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.509e-05/0.4496, allocations: 80.14 kB / 459.6 MB, free: 12.78 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-06/0.4496, allocations: 0 / 459.6 MB, free: 12.78 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.4496, allocations: 8 kB / 459.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.4497, allocations: 314.8 kB / 459.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.036e-05/0.4497, allocations: 4 kB / 459.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.813e-05/0.4498, allocations: 7.984 kB / 459.9 MB, free: 12.44 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.235e-05/0.4498, allocations: 8 kB / 459.9 MB, free: 12.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4498, allocations: 0 / 459.9 MB, free: 12.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001157/0.4499, allocations: 41.56 kB / 459.9 MB, free: 12.39 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.4499, allocations: 11.38 kB / 459.9 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.4499, allocations: 0 / 459.9 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.45, allocations: 0 / 459.9 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.627e-05/0.45, allocations: 7.984 kB / 459.9 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.45, allocations: 4.125 kB / 459.9 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.379e-05/0.4501, allocations: 0 / 459.9 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.4501, allocations: 0 / 459.9 MB, free: 12.37 MB / 346.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.0001209/0.4502, allocations: 189.1 kB / 460.1 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-05/0.4503, allocations: 113.3 kB / 460.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.434e-05/0.4504, allocations: 112.3 kB / 460.4 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.627e-05/0.4504, allocations: 184.2 kB / 460.5 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.478e-05/0.4505, allocations: 184.2 kB / 460.7 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.839e-05/0.4506, allocations: 184.3 kB / 460.9 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.4509, allocations: 405.2 kB / 461.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-05/0.451, allocations: 105 kB / 461.4 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.485e-05/0.451, allocations: 108.9 kB / 461.5 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.958e-05/0.4511, allocations: 184.2 kB / 461.7 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.181e-05/0.4512, allocations: 180.3 kB / 461.9 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.611e-05/0.4513, allocations: 180.2 kB / 462 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.506e-05/0.4513, allocations: 176.3 kB / 462.2 MB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.4515, allocations: 311.8 kB / 462.5 MB, free: 9.641 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.676e-05/0.4516, allocations: 193.9 kB / 462.7 MB, free: 9.426 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.349e-05/0.4517, allocations: 184.2 kB / 462.9 MB, free: 9.238 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.4518, allocations: 105 kB / 463 MB, free: 9.129 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-05/0.4519, allocations: 184.2 kB / 463.2 MB, free: 8.941 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.663e-05/0.452, allocations: 101 kB / 463.3 MB, free: 8.836 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.003e-05/0.452, allocations: 99.27 kB / 463.4 MB, free: 8.738 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4521, allocations: 0 / 463.4 MB, free: 8.738 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003526/0.4524, allocations: 55.94 kB / 463.4 MB, free: 8.684 MB / 346.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.0009026/0.4533, allocations: 0.8999 MB / 464.3 MB, free: 7.773 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.124e-05/0.4534, allocations: 4 kB / 464.3 MB, free: 7.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.4534, allocations: 0 / 464.3 MB, free: 7.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.033e-06/0.4534, allocations: 3.938 kB / 464.3 MB, free: 7.766 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.4538, allocations: 0.5341 MB / 464.9 MB, free: 7.227 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007415/0.4545, allocations: 460.2 kB / 465.3 MB, free: 6.727 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.4548, allocations: 0.6809 MB / 466 MB, free: 6.02 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.658e-05/0.4549, allocations: 10.5 kB / 466 MB, free: 6.012 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.4549, allocations: 11.44 kB / 466 MB, free: 6 MB / 346.7 MB Notification: Performance of SimCode: time 5.41e-07/0.4549, allocations: 0 / 466 MB, free: 6 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.4718, allocations: 1.801 MB / 467.8 MB, free: 4.223 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/0.4721, allocations: 224.8 kB / 468 MB, free: 3.988 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/2.263, allocations: 4 kB / 468 MB, free: 3.984 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat does not exist to compare? outputFormat=mat