Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.Inverse_sh_TX,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",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.001714/0.001714, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.424/1.424, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009357/0.0009356, allocations: 96.77 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002659/0.0002659, allocations: 8 kB / 351.2 MB, free: 15.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.2993, allocations: 50.41 MB / 401.6 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.648/1.948, allocations: 0.715 GB / 1.107 GB, free: 93.23 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/1.948, allocations: 79.58 kB / 1.107 GB, free: 93.18 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1338/2.082, allocations: 68.39 MB / 1.174 GB, free: 31.57 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.803e-06/2.082, allocations: 0 / 1.174 GB, free: 31.57 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.043e-05/2.082, allocations: 4 kB / 1.174 GB, free: 31.56 MB / 458.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.0008048/2.083, allocations: 466.8 kB / 1.174 GB, free: 31.06 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/2.083, allocations: 8.031 kB / 1.174 GB, free: 31.05 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.118e-05/2.083, allocations: 38.55 kB / 1.174 GB, free: 31 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003581/2.083, allocations: 55.78 kB / 1.175 GB, free: 30.95 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/2.083, allocations: 187 kB / 1.175 GB, free: 30.73 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/2.083, allocations: 0 / 1.175 GB, free: 30.73 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/2.083, allocations: 15.94 kB / 1.175 GB, free: 30.71 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/2.084, allocations: 71.38 kB / 1.175 GB, free: 30.63 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/2.084, allocations: 0 / 1.175 GB, free: 30.63 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/2.084, allocations: 3.984 kB / 1.175 GB, free: 30.62 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/2.084, allocations: 0 / 1.175 GB, free: 30.62 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/2.084, allocations: 47.94 kB / 1.175 GB, free: 30.58 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002107/2.084, allocations: 202.5 kB / 1.175 GB, free: 30.33 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000337/2.084, allocations: 113.2 kB / 1.175 GB, free: 30.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004703/2.085, allocations: 222.3 kB / 1.175 GB, free: 29.95 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/2.085, allocations: 38.5 kB / 1.175 GB, free: 29.9 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/2.085, allocations: 0 / 1.175 GB, free: 29.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004706/2.085, allocations: 141.4 kB / 1.176 GB, free: 29.75 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/2.085, allocations: 77.11 kB / 1.176 GB, free: 29.66 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.944e-05/2.085, allocations: 132.9 kB / 1.176 GB, free: 29.52 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/2.085, allocations: 29.7 kB / 1.176 GB, free: 29.49 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.407e-05/2.085, allocations: 88.14 kB / 1.176 GB, free: 29.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/2.085, allocations: 27.62 kB / 1.176 GB, free: 29.37 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-06/2.085, allocations: 0 / 1.176 GB, free: 29.37 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.139e-05/2.086, allocations: 322.8 kB / 1.176 GB, free: 29.05 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.542e-05/2.086, allocations: 23.97 kB / 1.176 GB, free: 29.02 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.845e-05/2.086, allocations: 55.41 kB / 1.176 GB, free: 28.96 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.852e-05/2.086, allocations: 27.97 kB / 1.176 GB, free: 28.93 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/2.086, allocations: 0 / 1.176 GB, free: 28.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002276/2.086, allocations: 121.4 kB / 1.176 GB, free: 28.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/2.086, allocations: 4 kB / 1.176 GB, free: 28.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/2.086, allocations: 0 / 1.176 GB, free: 28.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/2.086, allocations: 4 kB / 1.176 GB, free: 28.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.275e-05/2.086, allocations: 24.05 kB / 1.176 GB, free: 28.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/2.086, allocations: 4 kB / 1.176 GB, free: 28.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.948e-05/2.086, allocations: 0 / 1.176 GB, free: 28.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/2.086, allocations: 11.94 kB / 1.176 GB, free: 28.76 MB / 458.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 () * Number of clocked 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.54e-05/2.086, allocations: 129.7 kB / 1.177 GB, free: 28.62 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/2.086, allocations: 7.906 kB / 1.177 GB, free: 28.61 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/2.087, allocations: 126.3 kB / 1.177 GB, free: 28.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/2.087, allocations: 0 / 1.177 GB, free: 28.48 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/2.087, allocations: 4 kB / 1.177 GB, free: 28.48 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/2.087, allocations: 8.078 kB / 1.177 GB, free: 28.47 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/2.087, allocations: 181.6 kB / 1.177 GB, free: 28.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/2.087, allocations: 0 / 1.177 GB, free: 28.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.772e-05/2.087, allocations: 15.98 kB / 1.177 GB, free: 28.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/2.087, allocations: 0 / 1.177 GB, free: 28.23 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/2.087, allocations: 0 / 1.177 GB, free: 28.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/2.087, allocations: 4 kB / 1.177 GB, free: 28.23 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/2.087, allocations: 0 / 1.177 GB, free: 28.23 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/2.087, allocations: 191.4 kB / 1.177 GB, free: 28.01 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.69e-05/2.087, allocations: 96.98 kB / 1.177 GB, free: 27.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/2.087, allocations: 4 kB / 1.177 GB, free: 27.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.322e-05/2.087, allocations: 3.938 kB / 1.177 GB, free: 27.89 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/2.088, allocations: 7.984 kB / 1.177 GB, free: 27.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/2.088, allocations: 4 kB / 1.177 GB, free: 27.88 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.593e-05/2.088, allocations: 111.3 kB / 1.177 GB, free: 27.77 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/2.088, allocations: 0 / 1.177 GB, free: 27.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008757/2.088, allocations: 215.8 kB / 1.177 GB, free: 27.56 MB / 458.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 () * Number of clocked 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.001952/2.09, allocations: 1.492 MB / 1.179 GB, free: 26.05 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001763/2.091, allocations: 63.91 kB / 1.179 GB, free: 25.99 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/2.091, allocations: 0 / 1.179 GB, free: 25.99 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.219e-05/2.091, allocations: 35.97 kB / 1.179 GB, free: 25.95 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/2.091, allocations: 19.98 kB / 1.179 GB, free: 25.93 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/2.092, allocations: 1.357 MB / 1.18 GB, free: 24.51 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/2.092, allocations: 0.6887 MB / 1.181 GB, free: 23.79 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.61e-05/2.092, allocations: 23.88 kB / 1.181 GB, free: 23.77 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.238e-05/2.092, allocations: 23.44 kB / 1.181 GB, free: 23.75 MB / 458.7 MB Notification: Performance of SimCode: time 6.41e-07/2.092, allocations: 0 / 1.181 GB, free: 23.75 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/2.121, allocations: 14.83 MB / 1.196 GB, free: 9.074 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000141/2.121, allocations: 234.1 kB / 1.196 GB, free: 8.836 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.025/4.146, allocations: 3.938 kB / 1.196 GB, free: 8.832 MB / 458.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat does not exist to compare? outputFormat=mat