Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001728/0.001728, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 225.4 MB / 240.1 MB, free: 15.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001017/0.001017, allocations: 90 kB / 292.1 MB, free: 6.039 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.588e-05/5.607e-05, allocations: 7.984 kB / 350.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1518, allocations: 51.48 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4468/0.5986, allocations: 76.94 MB / 479.1 MB, free: 12.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.5989, allocations: 72.55 kB / 479.1 MB, free: 12.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01396/0.6129, allocations: 5.268 MB / 484.4 MB, free: 8 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.613, allocations: 0 / 484.4 MB, free: 8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.106e-06/0.613, allocations: 0 / 484.4 MB, free: 8 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.0002789/0.6133, allocations: 361.2 kB / 484.8 MB, free: 7.609 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.6133, allocations: 12.03 kB / 484.8 MB, free: 7.598 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.97e-05/0.6134, allocations: 30.56 kB / 484.8 MB, free: 7.559 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.6135, allocations: 0 / 484.8 MB, free: 7.559 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.6136, allocations: 170.3 kB / 485 MB, free: 7.355 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.6136, allocations: 0.8594 kB / 485 MB, free: 7.355 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.6136, allocations: 0 / 485 MB, free: 7.355 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.6138, allocations: 36.69 kB / 485 MB, free: 7.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.6138, allocations: 0 / 485 MB, free: 7.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.6138, allocations: 5.25 kB / 485 MB, free: 7.316 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.6138, allocations: 0 / 485 MB, free: 7.316 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.677e-05/0.6138, allocations: 7.938 kB / 485 MB, free: 7.309 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.6142, allocations: 472.2 kB / 485.5 MB, free: 6.781 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.776e-05/0.6143, allocations: 168.4 kB / 485.6 MB, free: 6.609 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.365e-05/0.6143, allocations: 84.14 kB / 485.7 MB, free: 6.523 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.6144, allocations: 75.28 kB / 485.8 MB, free: 6.449 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.6144, allocations: 113.8 kB / 485.9 MB, free: 6.328 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.6144, allocations: 0 / 485.9 MB, free: 6.328 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 7.96e-05/0.6145, allocations: 25.7 kB / 485.9 MB, free: 6.297 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.6146, allocations: 160.3 kB / 486.1 MB, free: 6.121 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.716e-05/0.6147, allocations: 104.5 kB / 486.2 MB, free: 6.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.6147, allocations: 29.7 kB / 486.2 MB, free: 5.984 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/0.6147, allocations: 86.86 kB / 486.3 MB, free: 5.902 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.416e-06/0.6147, allocations: 0.75 kB / 486.3 MB, free: 5.902 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/0.6147, allocations: 0 / 486.3 MB, free: 5.902 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.909e-05/0.6148, allocations: 318.8 kB / 486.6 MB, free: 5.582 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.178e-05/0.6148, allocations: 0 / 486.6 MB, free: 5.582 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.771e-05/0.6149, allocations: 4 kB / 486.6 MB, free: 5.578 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.271e-05/0.6149, allocations: 96 / 486.6 MB, free: 5.578 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6149, allocations: 4 kB / 486.6 MB, free: 5.574 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001087/0.615, allocations: 44.97 kB / 486.7 MB, free: 5.527 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.615, allocations: 6.156 kB / 486.7 MB, free: 5.523 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.615, allocations: 4 kB / 486.7 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.6151, allocations: 0 / 486.7 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.764e-05/0.6151, allocations: 0 / 486.7 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.6151, allocations: 3.984 kB / 486.7 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.444e-05/0.6152, allocations: 4 kB / 486.7 MB, free: 5.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.6152, allocations: 0 / 486.7 MB, free: 5.512 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 () * 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 6.526e-05/0.6153, allocations: 180.3 kB / 486.9 MB, free: 5.328 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.6153, allocations: 112.9 kB / 487 MB, free: 5.211 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.871e-05/0.6154, allocations: 107.8 kB / 487.1 MB, free: 5.105 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-05/0.6154, allocations: 180.2 kB / 487.2 MB, free: 4.922 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.011e-05/0.6155, allocations: 188.2 kB / 487.4 MB, free: 4.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.292e-05/0.6155, allocations: 176.3 kB / 487.6 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.6157, allocations: 413.2 kB / 488 MB, free: 4.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.243e-05/0.6157, allocations: 101 kB / 488.1 MB, free: 3.988 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/0.6157, allocations: 103.5 kB / 488.2 MB, free: 3.883 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.591e-05/0.6158, allocations: 187.8 kB / 488.4 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.061e-05/0.6158, allocations: 185.9 kB / 488.6 MB, free: 3.508 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.713e-05/0.6159, allocations: 184.2 kB / 488.8 MB, free: 3.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.79e-05/0.6159, allocations: 176.3 kB / 488.9 MB, free: 3.141 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.69e-05/0.616, allocations: 303.6 kB / 489.2 MB, free: 2.824 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/0.6161, allocations: 190 kB / 489.4 MB, free: 2.613 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.496e-05/0.6161, allocations: 191.5 kB / 489.6 MB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.679e-05/0.6162, allocations: 102.6 kB / 489.7 MB, free: 2.316 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.6163, allocations: 188.2 kB / 489.9 MB, free: 2.125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.6163, allocations: 108.9 kB / 490 MB, free: 2.012 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.894e-05/0.6163, allocations: 88.28 kB / 490.1 MB, free: 1.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6163, allocations: 0 / 490.1 MB, free: 1.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003214/0.6167, allocations: 51.55 kB / 490.1 MB, free: 1.883 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 () * 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.0005887/0.6173, allocations: 0.8969 MB / 491 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.155e-05/0.6173, allocations: 9.125 kB / 491 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6174, allocations: 0 / 491 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.315e-06/0.6174, allocations: 0 / 491 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.6176, allocations: 0.5221 MB / 491.5 MB, free: 460 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003313/0.6179, allocations: 185.3 kB / 491.7 MB, free: 240 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.6183, allocations: 0.681 MB / 492.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.845e-05/0.6184, allocations: 12.91 kB / 492.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.6184, allocations: 15.06 kB / 492.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.6184, allocations: 0 / 492.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01333/0.6317, allocations: 1.589 MB / 494 MB, free: 14.12 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/0.632, allocations: 201.7 kB / 494.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/2.312, allocations: 0 / 494.2 MB, free: 13.9 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat does not exist to compare? outputFormat=mat