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.002413/0.002413, allocations: 177.7 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.203/2.203, allocations: 205.3 MB / 214.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001273/0.001274, allocations: 94.22 kB / 262.5 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.082e-05/2.085e-05, allocations: 0 / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1244, allocations: 47.6 MB / 363.2 MB, free: 6.969 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.771/1.896, allocations: 0.5812 GB / 0.9358 GB, free: 102.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/1.896, allocations: 79.95 kB / 0.9359 GB, free: 102.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0891/1.985, allocations: 41.07 MB / 0.976 GB, free: 61.53 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.875e-06/1.986, allocations: 0 / 0.976 GB, free: 61.53 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.064e-05/1.986, allocations: 0 / 0.976 GB, free: 61.53 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.0008942/1.986, allocations: 454.8 kB / 0.9764 GB, free: 61.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/1.987, allocations: 12.03 kB / 0.9765 GB, free: 61.03 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009407/1.987, allocations: 95.86 kB / 0.9766 GB, free: 60.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/1.988, allocations: 183 kB / 0.9767 GB, free: 60.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/1.988, allocations: 4 kB / 0.9767 GB, free: 60.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/1.988, allocations: 11.8 kB / 0.9767 GB, free: 60.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.69e-05/1.988, allocations: 31.92 kB / 0.9768 GB, free: 60.67 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/1.988, allocations: 71.31 kB / 0.9768 GB, free: 60.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/1.988, allocations: 0 / 0.9768 GB, free: 60.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/1.988, allocations: 0 / 0.9768 GB, free: 60.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/1.988, allocations: 0 / 0.9768 GB, free: 60.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002468/1.988, allocations: 163.1 kB / 0.977 GB, free: 60.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/1.989, allocations: 97.2 kB / 0.9771 GB, free: 60.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.213e-05/1.989, allocations: 25.78 kB / 0.9771 GB, free: 60.24 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007553/1.989, allocations: 1.38 MB / 0.9785 GB, free: 58.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/1.989, allocations: 38.56 kB / 0.9785 GB, free: 58.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/1.989, allocations: 0 / 0.9785 GB, free: 58.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006398/1.99, allocations: 141.5 kB / 0.9786 GB, free: 58.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/1.99, allocations: 81.09 kB / 0.9787 GB, free: 58.28 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/1.99, allocations: 125 kB / 0.9788 GB, free: 58.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/1.99, allocations: 25.7 kB / 0.9789 GB, free: 58.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.901e-05/1.99, allocations: 88.14 kB / 0.9789 GB, free: 58.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/1.99, allocations: 15.66 kB / 0.979 GB, free: 58.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/1.99, allocations: 0 / 0.979 GB, free: 58.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.431e-05/1.99, allocations: 322.8 kB / 0.9793 GB, free: 57.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.004e-05/1.991, allocations: 12 kB / 0.9793 GB, free: 57.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.085e-05/1.991, allocations: 51.42 kB / 0.9793 GB, free: 57.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004148/1.991, allocations: 91.97 kB / 0.9794 GB, free: 57.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.991, allocations: 7.953 kB / 0.9794 GB, free: 57.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004784/1.991, allocations: 169.3 kB / 0.9796 GB, free: 57.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/1.992, allocations: 4 kB / 0.9796 GB, free: 57.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/1.992, allocations: 0 / 0.9796 GB, free: 57.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/1.992, allocations: 4 kB / 0.9796 GB, free: 57.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/1.992, allocations: 20.05 kB / 0.9796 GB, free: 57.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/1.992, allocations: 0 / 0.9796 GB, free: 57.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/1.992, allocations: 4 kB / 0.9796 GB, free: 57.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/1.992, allocations: 7.984 kB / 0.9796 GB, free: 57.3 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 7.07e-05/1.992, allocations: 101 kB / 0.9797 GB, free: 57.2 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004971/1.992, allocations: 157.4 kB / 0.9799 GB, free: 57.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/1.992, allocations: 7.984 kB / 0.9799 GB, free: 57.03 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005836/1.993, allocations: 189.6 kB / 0.9801 GB, free: 56.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/1.993, allocations: 7.922 kB / 0.9801 GB, free: 56.83 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.993, allocations: 0 / 0.9801 GB, free: 56.83 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/1.993, allocations: 0 / 0.9801 GB, free: 56.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/1.993, allocations: 154.1 kB / 0.9802 GB, free: 56.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/1.993, allocations: 8 kB / 0.9802 GB, free: 56.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/1.993, allocations: 15.92 kB / 0.9802 GB, free: 56.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/1.993, allocations: 7.922 kB / 0.9802 GB, free: 56.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/1.993, allocations: 4 kB / 0.9802 GB, free: 56.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/1.993, allocations: 4 kB / 0.9802 GB, free: 56.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/1.993, allocations: 0 / 0.9802 GB, free: 56.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005328/1.994, allocations: 215.4 kB / 0.9804 GB, free: 56.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.601e-05/1.994, allocations: 85.12 kB / 0.9805 GB, free: 56.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/1.994, allocations: 3.984 kB / 0.9805 GB, free: 56.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/1.994, allocations: 4 kB / 0.9805 GB, free: 56.26 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/1.994, allocations: 12.33 kB / 0.9805 GB, free: 56.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/1.994, allocations: 4 kB / 0.9806 GB, free: 56.24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.327e-05/1.994, allocations: 111.2 kB / 0.9807 GB, free: 56.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.994, allocations: 0 / 0.9807 GB, free: 56.13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009185/1.995, allocations: 203.7 kB / 0.9809 GB, free: 55.93 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.003113/1.999, allocations: 1.634 MB / 0.9824 GB, free: 54.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001672/1.999, allocations: 43.92 kB / 0.9825 GB, free: 54.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.999, allocations: 288 / 0.9825 GB, free: 54.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.721e-05/1.999, allocations: 20 kB / 0.9825 GB, free: 54.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/1.999, allocations: 15.92 kB / 0.9825 GB, free: 54.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/2, allocations: 346.8 kB / 0.9829 GB, free: 53.81 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/2, allocations: 0.6885 MB / 0.9835 GB, free: 53.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002163/2.001, allocations: 51.83 kB / 0.9836 GB, free: 53.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/2.001, allocations: 31.41 kB / 0.9836 GB, free: 53.01 MB / 426.7 MB Notification: Performance of SimCode: time 5.81e-07/2.001, allocations: 4 kB / 0.9836 GB, free: 53.01 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4723/2.473, allocations: 9.142 MB / 0.9925 GB, free: 43.85 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/2.473, allocations: 181.6 kB / 0.9927 GB, free: 43.66 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.134/4.607, allocations: 0 / 0.9927 GB, free: 43.66 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