Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.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.InverseIncompressible_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001197/0.001196, 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.531/1.531, 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.0009728/0.0009729, allocations: 95 kB / 292.1 MB, free: 6.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.646e-05/3.649e-05, allocations: 0 / 350.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1494, allocations: 51.49 MB / 402.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.851/1.001, allocations: 187.4 MB / 0.5757 GB, free: 136.7 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/1.001, allocations: 73 kB / 0.5757 GB, free: 136.7 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07067/1.072, allocations: 27.71 MB / 0.6028 GB, free: 134.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.236e-06/1.072, allocations: 0 / 0.6028 GB, free: 134.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.393e-05/1.072, allocations: 0 / 0.6028 GB, free: 134.7 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0009939/1.073, allocations: 483.7 kB / 0.6032 GB, free: 134.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.284e-05/1.073, allocations: 9.5 kB / 0.6033 GB, free: 134.2 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.865e-05/1.073, allocations: 34.56 kB / 0.6033 GB, free: 134.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/1.073, allocations: 3.906 kB / 0.6033 GB, free: 134.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/1.073, allocations: 189.5 kB / 0.6035 GB, free: 134 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/1.073, allocations: 3.312 kB / 0.6035 GB, free: 134 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/1.073, allocations: 3.375 kB / 0.6035 GB, free: 134 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/1.073, allocations: 63.86 kB / 0.6035 GB, free: 133.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/1.073, allocations: 4 kB / 0.6035 GB, free: 133.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/1.073, allocations: 0 / 0.6035 GB, free: 133.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.932e-05/1.073, allocations: 0 / 0.6035 GB, free: 133.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.761e-05/1.074, allocations: 15.67 kB / 0.6036 GB, free: 133.9 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002395/1.074, allocations: 177.4 kB / 0.6037 GB, free: 133.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/1.074, allocations: 77.44 kB / 0.6038 GB, free: 133.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.786e-05/1.074, allocations: 23.66 kB / 0.6038 GB, free: 133.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001546/1.076, allocations: 2.194 MB / 0.606 GB, free: 131.1 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/1.076, allocations: 34.5 kB / 0.606 GB, free: 131 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/1.076, allocations: 3.938 kB / 0.606 GB, free: 131 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002457/1.076, allocations: 61.81 kB / 0.6061 GB, free: 131 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/1.076, allocations: 81.11 kB / 0.6061 GB, free: 130.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/1.076, allocations: 103.8 kB / 0.6062 GB, free: 130.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/1.076, allocations: 26.98 kB / 0.6063 GB, free: 130.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/1.076, allocations: 88.62 kB / 0.6063 GB, free: 130.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.57e-05/1.076, allocations: 19.41 kB / 0.6064 GB, free: 130.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/1.076, allocations: 0 / 0.6064 GB, free: 130.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/1.076, allocations: 319.8 kB / 0.6067 GB, free: 130.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.142e-05/1.077, allocations: 8.25 kB / 0.6067 GB, free: 130.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.782e-05/1.077, allocations: 35.66 kB / 0.6067 GB, free: 130.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.796e-05/1.077, allocations: 20.66 kB / 0.6067 GB, free: 130.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/1.077, allocations: 0 / 0.6067 GB, free: 130.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001648/1.077, allocations: 82.17 kB / 0.6068 GB, free: 130.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/1.077, allocations: 5 kB / 0.6068 GB, free: 130.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/1.077, allocations: 1.062 kB / 0.6068 GB, free: 130.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/1.077, allocations: 2.5 kB / 0.6068 GB, free: 130.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.011e-05/1.077, allocations: 19.44 kB / 0.6068 GB, free: 130.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/1.077, allocations: 2.188 kB / 0.6068 GB, free: 130.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.05e-05/1.077, allocations: 15.41 kB / 0.6069 GB, free: 130.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/1.077, allocations: 3.094 kB / 0.6069 GB, free: 130.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.534e-05/1.077, allocations: 109.5 kB / 0.607 GB, free: 130.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/1.077, allocations: 6.328 kB / 0.607 GB, free: 130.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003685/1.078, allocations: 119.4 kB / 0.6071 GB, free: 130 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/1.078, allocations: 1.438 kB / 0.6071 GB, free: 130 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/1.078, allocations: 1.531 kB / 0.6071 GB, free: 130 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/1.078, allocations: 0 / 0.6071 GB, free: 130 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/1.078, allocations: 173.9 kB / 0.6072 GB, free: 129.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/1.078, allocations: 0 / 0.6072 GB, free: 129.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.08e-05/1.078, allocations: 13.47 kB / 0.6073 GB, free: 129.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/1.078, allocations: 5.391 kB / 0.6073 GB, free: 129.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/1.078, allocations: 1.25 kB / 0.6073 GB, free: 129.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/1.078, allocations: 6.125 kB / 0.6073 GB, free: 129.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/1.078, allocations: 1.188 kB / 0.6073 GB, free: 129.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/1.078, allocations: 146.5 kB / 0.6074 GB, free: 129.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.95e-05/1.078, allocations: 96.53 kB / 0.6075 GB, free: 129.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/1.078, allocations: 9 kB / 0.6075 GB, free: 129.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.525e-05/1.078, allocations: 4.953 kB / 0.6075 GB, free: 129.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/1.079, allocations: 8.219 kB / 0.6075 GB, free: 129.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/1.079, allocations: 1.469 kB / 0.6075 GB, free: 129.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.852e-05/1.079, allocations: 93.08 kB / 0.6076 GB, free: 129.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.9e-07/1.079, allocations: 0 / 0.6076 GB, free: 129.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007572/1.079, allocations: 142.8 kB / 0.6078 GB, free: 129.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001372/1.081, allocations: 0.9569 MB / 0.6087 GB, free: 128.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001654/1.081, allocations: 45.59 kB / 0.6087 GB, free: 128.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.081, allocations: 1.156 kB / 0.6087 GB, free: 128.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.264e-05/1.081, allocations: 28.11 kB / 0.6088 GB, free: 128.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/1.081, allocations: 9.5 kB / 0.6088 GB, free: 128.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009285/1.082, allocations: 327.3 kB / 0.6091 GB, free: 128.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/1.082, allocations: 0.6929 MB / 0.6098 GB, free: 127.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001105/1.083, allocations: 32.16 kB / 0.6098 GB, free: 127.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/1.083, allocations: 26.34 kB / 0.6098 GB, free: 127.7 MB / 442.7 MB Notification: Performance of SimCode: time 4.31e-07/1.083, allocations: 7.938 kB / 0.6098 GB, free: 127.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02408/1.107, allocations: 4.015 MB / 0.6137 GB, free: 126.4 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/1.107, allocations: 219 kB / 0.614 GB, free: 126.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/2.915, allocations: 3.281 kB / 0.614 GB, free: 126.1 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat does not exist to compare? outputFormat=mat