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.002183/0.002183, allocations: 198 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.2 MB / 245 MB, free: 5.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009628/0.000963, allocations: 95.48 kB / 297.3 MB, free: 5.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002438/0.0002438, allocations: 4 kB / 358 MB, free: 9.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2692, allocations: 51.48 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1038/0.3731, allocations: 77 MB / 486.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.3734, allocations: 67.97 kB / 486.6 MB, free: 13.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01587/0.3893, allocations: 5.292 MB / 491.9 MB, free: 8.238 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.3893, allocations: 0 / 491.9 MB, free: 8.238 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.3893, allocations: 0 / 491.9 MB, free: 8.238 MB / 362.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.0004362/0.3898, allocations: 359.2 kB / 492.2 MB, free: 7.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.3899, allocations: 12.03 kB / 492.2 MB, free: 7.828 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.43e-05/0.3899, allocations: 34.56 kB / 492.3 MB, free: 7.785 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.39, allocations: 4 kB / 492.3 MB, free: 7.781 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.3902, allocations: 163.1 kB / 492.4 MB, free: 7.582 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.3902, allocations: 3.938 kB / 492.4 MB, free: 7.578 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.3902, allocations: 7.953 kB / 492.4 MB, free: 7.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.3903, allocations: 29.7 kB / 492.5 MB, free: 7.535 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.3904, allocations: 4 kB / 492.5 MB, free: 7.531 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.3904, allocations: 0 / 492.5 MB, free: 7.531 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.3904, allocations: 7.938 kB / 492.5 MB, free: 7.523 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.17e-05/0.3904, allocations: 0 / 492.5 MB, free: 7.523 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005339/0.391, allocations: 477 kB / 492.9 MB, free: 6.988 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.992e-05/0.3911, allocations: 169.1 kB / 493.1 MB, free: 6.812 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.3911, allocations: 79.28 kB / 493.2 MB, free: 6.734 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.595e-05/0.3912, allocations: 113.8 kB / 493.3 MB, free: 6.613 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.3912, allocations: 0 / 493.3 MB, free: 6.613 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 8.004e-05/0.3913, allocations: 25.7 kB / 493.3 MB, free: 6.582 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.56e-05/0.3914, allocations: 156.4 kB / 493.5 MB, free: 6.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.3915, allocations: 104.9 kB / 493.6 MB, free: 6.301 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.3915, allocations: 33.64 kB / 493.6 MB, free: 6.262 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.555e-05/0.3916, allocations: 88.08 kB / 493.7 MB, free: 6.172 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.906e-06/0.3916, allocations: 0 / 493.7 MB, free: 6.172 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/0.3916, allocations: 0 / 493.7 MB, free: 6.172 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3918, allocations: 314.8 kB / 494 MB, free: 5.855 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.728e-05/0.3918, allocations: 8 kB / 494 MB, free: 5.848 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.485e-05/0.3918, allocations: 0 / 494 MB, free: 5.848 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.572e-05/0.3918, allocations: 4 kB / 494 MB, free: 5.844 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3918, allocations: 0 / 494 MB, free: 5.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001182/0.392, allocations: 45.73 kB / 494.1 MB, free: 5.793 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.392, allocations: 4 kB / 494.1 MB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.392, allocations: 0 / 494.1 MB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.392, allocations: 0 / 494.1 MB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.861e-05/0.3921, allocations: 4 kB / 494.1 MB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3921, allocations: 0 / 494.1 MB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.479e-05/0.3921, allocations: 0 / 494.1 MB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.3921, allocations: 4 kB / 494.1 MB, free: 5.781 MB / 362.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.0001261/0.3923, allocations: 189.1 kB / 494.2 MB, free: 5.586 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.772e-05/0.3924, allocations: 116.9 kB / 494.4 MB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.509e-05/0.3924, allocations: 108.5 kB / 494.5 MB, free: 5.352 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.256e-05/0.3925, allocations: 183.4 kB / 494.6 MB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.473e-05/0.3926, allocations: 176.3 kB / 494.8 MB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.916e-05/0.3927, allocations: 188.2 kB / 495 MB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.3929, allocations: 405.2 kB / 495.4 MB, free: 4.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.62e-05/0.393, allocations: 105 kB / 495.5 MB, free: 4.234 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.393, allocations: 108.9 kB / 495.6 MB, free: 4.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.434e-05/0.3931, allocations: 184.2 kB / 495.8 MB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-05/0.3932, allocations: 180.2 kB / 496 MB, free: 3.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.182e-05/0.3933, allocations: 180.3 kB / 496.1 MB, free: 3.566 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.318e-05/0.3934, allocations: 180.3 kB / 496.3 MB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.3935, allocations: 311.7 kB / 496.6 MB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-05/0.3936, allocations: 186 kB / 496.8 MB, free: 2.848 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.857e-05/0.3937, allocations: 192.4 kB / 497 MB, free: 2.652 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.3939, allocations: 105 kB / 497.1 MB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/0.3939, allocations: 188.2 kB / 497.3 MB, free: 2.352 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.725e-05/0.394, allocations: 105 kB / 497.4 MB, free: 2.242 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.734e-05/0.3941, allocations: 87.27 kB / 497.5 MB, free: 2.156 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3941, allocations: 0 / 497.5 MB, free: 2.156 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003296/0.3944, allocations: 47.94 kB / 497.5 MB, free: 2.109 MB / 362.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.0008412/0.3953, allocations: 0.8876 MB / 498.4 MB, free: 1.211 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.425e-05/0.3953, allocations: 8 kB / 498.4 MB, free: 1.203 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3954, allocations: 8 kB / 498.4 MB, free: 1.195 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.765e-06/0.3954, allocations: 4 kB / 498.4 MB, free: 1.191 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.3957, allocations: 0.5253 MB / 498.9 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004385/0.3962, allocations: 219.6 kB / 499.2 MB, free: 416 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.3965, allocations: 0.6809 MB / 499.8 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.452e-05/0.3966, allocations: 7.984 kB / 499.8 MB, free: 15.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.128e-05/0.3966, allocations: 11.44 kB / 499.9 MB, free: 15.68 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3966, allocations: 0 / 499.9 MB, free: 15.68 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01379/0.4104, allocations: 1.593 MB / 0.4897 GB, free: 14.23 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002716/0.4107, allocations: 233.2 kB / 0.4899 GB, free: 13.98 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/2.205, allocations: 0 / 0.4899 GB, free: 13.98 MB / 378.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