Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.635/1.635, allocations: 221.3 MB / 235.5 MB, free: 2.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 85.17 kB / 286.5 MB, free: 240 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.191e-05/3.193e-05, allocations: 0 / 343.9 MB, free: 4.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1471, allocations: 50.41 MB / 394.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8988/1.046, allocations: 186.5 MB / 0.5673 GB, free: 106.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003454/1.046, allocations: 73.66 kB / 0.5673 GB, free: 106.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06515/1.112, allocations: 27.37 MB / 0.5941 GB, free: 98.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.894e-06/1.112, allocations: 3.906 kB / 0.5941 GB, free: 98.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.814e-06/1.112, allocations: 0 / 0.5941 GB, free: 98.62 MB / 426.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.0007468/1.112, allocations: 471.3 kB / 0.5945 GB, free: 98.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/1.112, allocations: 11.72 kB / 0.5945 GB, free: 98.16 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.711e-05/1.113, allocations: 41.92 kB / 0.5946 GB, free: 98.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.877e-05/1.113, allocations: 3.906 kB / 0.5946 GB, free: 98.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/1.113, allocations: 182.4 kB / 0.5947 GB, free: 97.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/1.113, allocations: 0 / 0.5947 GB, free: 97.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/1.113, allocations: 11.02 kB / 0.5948 GB, free: 97.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/1.113, allocations: 54.55 kB / 0.5948 GB, free: 97.85 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/1.113, allocations: 4 kB / 0.5948 GB, free: 97.85 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/1.113, allocations: 7.281 kB / 0.5948 GB, free: 97.85 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/1.113, allocations: 4 kB / 0.5948 GB, free: 97.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.145e-05/1.113, allocations: 15.73 kB / 0.5948 GB, free: 97.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/1.113, allocations: 169.4 kB / 0.595 GB, free: 97.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/1.113, allocations: 75.02 kB / 0.5951 GB, free: 97.58 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.309e-05/1.113, allocations: 25.03 kB / 0.5951 GB, free: 97.56 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/1.115, allocations: 2.192 MB / 0.5972 GB, free: 94.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/1.115, allocations: 30.56 kB / 0.5973 GB, free: 94.94 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/1.115, allocations: 0 / 0.5973 GB, free: 94.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001743/1.115, allocations: 75.84 kB / 0.5973 GB, free: 94.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/1.115, allocations: 81.02 kB / 0.5974 GB, free: 94.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.869e-05/1.115, allocations: 108.7 kB / 0.5975 GB, free: 94.69 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/1.115, allocations: 33.61 kB / 0.5976 GB, free: 94.65 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.735e-05/1.115, allocations: 87.58 kB / 0.5976 GB, free: 94.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/1.115, allocations: 22.91 kB / 0.5977 GB, free: 94.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/1.115, allocations: 0 / 0.5977 GB, free: 94.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.266e-05/1.115, allocations: 318 kB / 0.598 GB, free: 94.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.289e-05/1.115, allocations: 10.44 kB / 0.598 GB, free: 94.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.091e-05/1.115, allocations: 30.44 kB / 0.598 GB, free: 94.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.484e-05/1.115, allocations: 22.61 kB / 0.598 GB, free: 94.19 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.115, allocations: 3.906 kB / 0.598 GB, free: 94.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001066/1.115, allocations: 71.7 kB / 0.5981 GB, free: 94.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/1.115, allocations: 3.906 kB / 0.5981 GB, free: 94.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.115, allocations: 3.906 kB / 0.5981 GB, free: 94.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/1.115, allocations: 0 / 0.5981 GB, free: 94.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.26e-05/1.115, allocations: 19.66 kB / 0.5981 GB, free: 94.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/1.115, allocations: 7.969 kB / 0.5981 GB, free: 94.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.748e-05/1.115, allocations: 3.25 kB / 0.5981 GB, free: 94.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/1.116, allocations: 7.844 kB / 0.5981 GB, free: 94.13 MB / 426.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 5.948e-05/1.116, allocations: 108.1 kB / 0.5982 GB, free: 94.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/1.116, allocations: 3.906 kB / 0.5982 GB, free: 94.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/1.116, allocations: 120.1 kB / 0.5984 GB, free: 93.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/1.116, allocations: 3.906 kB / 0.5984 GB, free: 93.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.116, allocations: 3.953 kB / 0.5984 GB, free: 93.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.116, allocations: 0 / 0.5984 GB, free: 93.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/1.116, allocations: 176 kB / 0.5985 GB, free: 93.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.116, allocations: 0 / 0.5985 GB, free: 93.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.677e-05/1.116, allocations: 15.7 kB / 0.5985 GB, free: 93.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/1.116, allocations: 3.938 kB / 0.5986 GB, free: 93.74 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/1.116, allocations: 3.125 kB / 0.5986 GB, free: 93.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/1.116, allocations: 0 / 0.5986 GB, free: 93.74 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.116, allocations: 3.906 kB / 0.5986 GB, free: 93.74 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/1.116, allocations: 137.4 kB / 0.5987 GB, free: 93.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.386e-05/1.116, allocations: 96.02 kB / 0.5988 GB, free: 93.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/1.116, allocations: 3.125 kB / 0.5988 GB, free: 93.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.105e-05/1.116, allocations: 0 / 0.5988 GB, free: 93.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/1.117, allocations: 15.81 kB / 0.5988 GB, free: 93.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/1.117, allocations: 7.906 kB / 0.5988 GB, free: 93.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.573e-05/1.117, allocations: 90.41 kB / 0.5989 GB, free: 93.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.117, allocations: 3.938 kB / 0.5989 GB, free: 93.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004827/1.117, allocations: 142.9 kB / 0.599 GB, free: 93.39 MB / 426.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.0008526/1.118, allocations: 0.9359 MB / 0.5999 GB, free: 92.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001241/1.118, allocations: 45.11 kB / 0.6 GB, free: 92.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.118, allocations: 0 / 0.6 GB, free: 92.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.894e-05/1.118, allocations: 19.31 kB / 0.6 GB, free: 92.61 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/1.118, allocations: 20.23 kB / 0.6 GB, free: 92.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005539/1.119, allocations: 330.2 kB / 0.6003 GB, free: 92.31 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/1.119, allocations: 0.6923 MB / 0.601 GB, free: 91.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.092e-05/1.119, allocations: 39.53 kB / 0.6011 GB, free: 91.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/1.119, allocations: 18.42 kB / 0.6011 GB, free: 91.57 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/1.119, allocations: 3.969 kB / 0.6011 GB, free: 91.57 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/1.136, allocations: 3.978 MB / 0.605 GB, free: 89.54 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003185/1.136, allocations: 220.7 kB / 0.6052 GB, free: 89.32 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/2.991, allocations: 1.688 kB / 0.6052 GB, free: 89.32 MB / 426.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat does not exist to compare? outputFormat=mat