Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",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.001196/0.001196, allocations: 171.9 kB / 14.1 MB, free: 1.223 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.515/1.515, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0009964/0.0009963, allocations: 90.69 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.873e-05/2.89e-05, allocations: 4 kB / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09089/0.09094, allocations: 47.57 MB / 370.1 MB, free: 1.625 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.528/1.619, allocations: 0.5816 GB / 0.943 GB, free: 76.85 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/1.62, allocations: 83.62 kB / 0.9431 GB, free: 76.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08709/1.707, allocations: 41.67 MB / 0.9838 GB, free: 38.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.843e-06/1.707, allocations: 0 / 0.9838 GB, free: 38.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.675e-06/1.707, allocations: 0 / 0.9838 GB, free: 38.2 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.0006448/1.708, allocations: 446.8 kB / 0.9842 GB, free: 37.72 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/1.708, allocations: 8.031 kB / 0.9842 GB, free: 37.71 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.144e-05/1.708, allocations: 38.56 kB / 0.9843 GB, free: 37.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008116/1.709, allocations: 95.86 kB / 0.9843 GB, free: 37.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/1.709, allocations: 187 kB / 0.9845 GB, free: 37.35 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/1.709, allocations: 3.953 kB / 0.9845 GB, free: 37.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/1.709, allocations: 11.78 kB / 0.9845 GB, free: 37.33 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/1.709, allocations: 71.38 kB / 0.9846 GB, free: 37.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/1.709, allocations: 0 / 0.9846 GB, free: 37.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/1.709, allocations: 4 kB / 0.9846 GB, free: 37.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/1.709, allocations: 0 / 0.9846 GB, free: 37.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.416e-05/1.709, allocations: 27.98 kB / 0.9846 GB, free: 37.22 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002195/1.709, allocations: 198.4 kB / 0.9848 GB, free: 36.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/1.71, allocations: 93.23 kB / 0.9849 GB, free: 36.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.562e-05/1.71, allocations: 25.78 kB / 0.9849 GB, free: 36.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007756/1.71, allocations: 1.391 MB / 0.9863 GB, free: 35.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/1.71, allocations: 30.56 kB / 0.9863 GB, free: 35.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/1.71, allocations: 0 / 0.9863 GB, free: 35.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002135/1.711, allocations: 81.59 kB / 0.9864 GB, free: 35.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/1.711, allocations: 77.11 kB / 0.9865 GB, free: 34.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/1.711, allocations: 117 kB / 0.9866 GB, free: 34.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/1.711, allocations: 33.7 kB / 0.9866 GB, free: 34.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/1.711, allocations: 84.14 kB / 0.9867 GB, free: 34.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/1.711, allocations: 23.66 kB / 0.9867 GB, free: 34.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-06/1.711, allocations: 0 / 0.9867 GB, free: 34.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.393e-05/1.711, allocations: 322.8 kB / 0.987 GB, free: 34.33 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.494e-05/1.711, allocations: 16 kB / 0.987 GB, free: 34.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.125e-05/1.711, allocations: 43.42 kB / 0.9871 GB, free: 34.26 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.624e-05/1.711, allocations: 24.06 kB / 0.9871 GB, free: 34.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.711, allocations: 4 kB / 0.9871 GB, free: 34.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001376/1.711, allocations: 89.45 kB / 0.9872 GB, free: 34.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/1.711, allocations: 8 kB / 0.9872 GB, free: 34.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/1.711, allocations: 0 / 0.9872 GB, free: 34.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/1.711, allocations: 3.984 kB / 0.9872 GB, free: 34.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/1.712, allocations: 19.98 kB / 0.9872 GB, free: 34.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/1.712, allocations: 480 / 0.9872 GB, free: 34.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/1.712, allocations: 4 kB / 0.9872 GB, free: 34.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/1.712, allocations: 16.06 kB / 0.9873 GB, free: 34.09 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 6.948e-05/1.712, allocations: 112.9 kB / 0.9874 GB, free: 33.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/1.712, allocations: 7.906 kB / 0.9874 GB, free: 33.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/1.712, allocations: 109.5 kB / 0.9875 GB, free: 33.85 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/1.712, allocations: 7.922 kB / 0.9875 GB, free: 33.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/1.712, allocations: 4 kB / 0.9875 GB, free: 33.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/1.712, allocations: 4 kB / 0.9875 GB, free: 33.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/1.712, allocations: 181.5 kB / 0.9877 GB, free: 33.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/1.712, allocations: 0 / 0.9877 GB, free: 33.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/1.712, allocations: 15.98 kB / 0.9877 GB, free: 33.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.712, allocations: 0 / 0.9877 GB, free: 33.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/1.712, allocations: 0 / 0.9877 GB, free: 33.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/1.712, allocations: 4 kB / 0.9877 GB, free: 33.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/1.712, allocations: 0 / 0.9877 GB, free: 33.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/1.713, allocations: 151.5 kB / 0.9878 GB, free: 33.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.51e-05/1.713, allocations: 93.02 kB / 0.9879 GB, free: 33.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/1.713, allocations: 4 kB / 0.9879 GB, free: 33.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/1.713, allocations: 4 kB / 0.9879 GB, free: 33.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/1.713, allocations: 7.984 kB / 0.9879 GB, free: 33.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/1.713, allocations: 4 kB / 0.9879 GB, free: 33.28 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.803e-05/1.713, allocations: 111.2 kB / 0.988 GB, free: 33.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.713, allocations: 4.062 kB / 0.988 GB, free: 33.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008296/1.714, allocations: 215.7 kB / 0.9882 GB, free: 32.96 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 (6): * Single equations (assignments): 6 * 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.001722/1.716, allocations: 1.472 MB / 0.9897 GB, free: 31.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001663/1.716, allocations: 52 kB / 0.9897 GB, free: 31.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.716, allocations: 0 / 0.9897 GB, free: 31.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.818e-05/1.716, allocations: 20.12 kB / 0.9898 GB, free: 31.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/1.716, allocations: 15.98 kB / 0.9898 GB, free: 31.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007788/1.717, allocations: 355.6 kB / 0.9901 GB, free: 30.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/1.717, allocations: 0.6887 MB / 0.9908 GB, free: 30.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001949/1.717, allocations: 47.88 kB / 0.9908 GB, free: 30.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/1.717, allocations: 39.34 kB / 0.9909 GB, free: 30.18 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/1.717, allocations: 0 / 0.9909 GB, free: 30.18 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/1.747, allocations: 15.71 MB / 1.006 GB, free: 14.44 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/1.747, allocations: 198.5 kB / 1.006 GB, free: 14.22 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.041/3.788, allocations: 0 / 1.006 GB, free: 14.22 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat