Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 181.8 kB / 17.02 MB, free: 5.121 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.521/1.521, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.001054/0.001054, allocations: 95.81 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002674/0.0002676, allocations: 8 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2841, allocations: 47.57 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.556/1.84, allocations: 0.7479 GB / 1.115 GB, free: 20.29 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/1.84, allocations: 79.91 kB / 1.115 GB, free: 20.21 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3776/2.218, allocations: 78.14 MB / 1.191 GB, free: 114.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.603e-06/2.218, allocations: 0 / 1.191 GB, free: 114.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.648e-06/2.218, allocations: 0 / 1.191 GB, free: 114.7 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.001138/2.219, allocations: 494.6 kB / 1.192 GB, free: 114.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.208e-05/2.219, allocations: 12.03 kB / 1.192 GB, free: 114.1 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.393e-05/2.219, allocations: 38.56 kB / 1.192 GB, free: 114.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000319/2.22, allocations: 40.53 kB / 1.192 GB, free: 114.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/2.22, allocations: 194.9 kB / 1.192 GB, free: 113.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/2.22, allocations: 4 kB / 1.192 GB, free: 113.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/2.22, allocations: 4 kB / 1.192 GB, free: 113.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/2.22, allocations: 75.36 kB / 1.192 GB, free: 113.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/2.22, allocations: 0 / 1.192 GB, free: 113.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/2.22, allocations: 0 / 1.192 GB, free: 113.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/2.22, allocations: 4 kB / 1.192 GB, free: 113.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/2.22, allocations: 51.89 kB / 1.192 GB, free: 113.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/2.221, allocations: 198.5 kB / 1.192 GB, free: 113.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/2.221, allocations: 117.2 kB / 1.193 GB, free: 113.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003701/2.221, allocations: 137.2 kB / 1.193 GB, free: 113.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/2.221, allocations: 38.53 kB / 1.193 GB, free: 113.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/2.221, allocations: 0 / 1.193 GB, free: 113.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003523/2.222, allocations: 129.5 kB / 1.193 GB, free: 113 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/2.222, allocations: 77.11 kB / 1.193 GB, free: 112.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.051e-05/2.222, allocations: 128.9 kB / 1.193 GB, free: 112.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/2.222, allocations: 29.7 kB / 1.193 GB, free: 112.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.568e-05/2.222, allocations: 96.12 kB / 1.193 GB, free: 112.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/2.222, allocations: 11.72 kB / 1.193 GB, free: 112.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/2.222, allocations: 8 kB / 1.193 GB, free: 112.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.93e-05/2.222, allocations: 318.8 kB / 1.194 GB, free: 112.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.604e-05/2.222, allocations: 27.98 kB / 1.194 GB, free: 112.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.474e-05/2.222, allocations: 63.31 kB / 1.194 GB, free: 112.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.962e-05/2.222, allocations: 23.98 kB / 1.194 GB, free: 112.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/2.222, allocations: 0 / 1.194 GB, free: 112.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002282/2.222, allocations: 113.5 kB / 1.194 GB, free: 112 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/2.222, allocations: 8 kB / 1.194 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/2.222, allocations: 4 kB / 1.194 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/2.223, allocations: 0 / 1.194 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.084e-05/2.223, allocations: 19.92 kB / 1.194 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/2.223, allocations: 4 kB / 1.194 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.151e-05/2.223, allocations: 3.938 kB / 1.194 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/2.223, allocations: 15.98 kB / 1.194 GB, free: 112 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 () * 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.451e-05/2.223, allocations: 113.8 kB / 1.194 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.818e-05/2.223, allocations: 11.91 kB / 1.194 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002687/2.223, allocations: 125.8 kB / 1.194 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/2.223, allocations: 4 kB / 1.194 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/2.223, allocations: 3.984 kB / 1.194 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/2.223, allocations: 0 / 1.194 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/2.223, allocations: 185.6 kB / 1.194 GB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/2.223, allocations: 0 / 1.194 GB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.88e-05/2.223, allocations: 12 kB / 1.194 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/2.223, allocations: 3.938 kB / 1.194 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/2.223, allocations: 16.55 kB / 1.194 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/2.223, allocations: 3.938 kB / 1.194 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/2.223, allocations: 0 / 1.194 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/2.224, allocations: 179.5 kB / 1.194 GB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.086e-05/2.224, allocations: 97.03 kB / 1.195 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/2.224, allocations: 8.031 kB / 1.195 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.38e-05/2.224, allocations: 12 kB / 1.195 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/2.224, allocations: 4 kB / 1.195 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/2.224, allocations: 11.92 kB / 1.195 GB, free: 111.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.324e-05/2.224, allocations: 103.3 kB / 1.195 GB, free: 111 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/2.224, allocations: 0 / 1.195 GB, free: 111 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001004/2.225, allocations: 271.6 kB / 1.195 GB, free: 110.7 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 () * 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.00264/2.228, allocations: 1.632 MB / 1.197 GB, free: 109.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001887/2.228, allocations: 63.84 kB / 1.197 GB, free: 109 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/2.228, allocations: 0 / 1.197 GB, free: 109 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.096e-05/2.228, allocations: 35.91 kB / 1.197 GB, free: 109 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/2.228, allocations: 28.27 kB / 1.197 GB, free: 108.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/2.23, allocations: 1.383 MB / 1.198 GB, free: 107.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/2.23, allocations: 0.6965 MB / 1.199 GB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.078e-05/2.23, allocations: 11.94 kB / 1.199 GB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.283e-05/2.23, allocations: 27.42 kB / 1.199 GB, free: 106.7 MB / 426.7 MB Notification: Performance of SimCode: time 4.51e-07/2.23, allocations: 0 / 1.199 GB, free: 106.7 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03119/2.261, allocations: 16.2 MB / 1.215 GB, free: 90.52 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/2.261, allocations: 225.4 kB / 1.215 GB, free: 90.29 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.151/4.413, allocations: 0 / 1.215 GB, free: 90.29 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat does not exist to compare? outputFormat=mat