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.001188/0.001188, allocations: 178.4 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 1.85/1.85, allocations: 205.3 MB / 214.4 MB, free: 1.734 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.001069/0.001069, allocations: 86.72 kB / 262.5 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2e-05/2e-05, allocations: 4 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1086, allocations: 47.59 MB / 363.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.323/2.432, allocations: 0.7474 GB / 1.102 GB, free: 110.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/2.432, allocations: 72.67 kB / 1.102 GB, free: 110.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.152/2.584, allocations: 76.98 MB / 1.177 GB, free: 32.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.294e-06/2.584, allocations: 3.938 kB / 1.177 GB, free: 32.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/2.584, allocations: 0 / 1.177 GB, free: 32.65 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.0009782/2.585, allocations: 470.8 kB / 1.178 GB, free: 32.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.474e-05/2.585, allocations: 19.95 kB / 1.178 GB, free: 32.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003142/2.586, allocations: 35.86 kB / 1.178 GB, free: 32.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/2.586, allocations: 187 kB / 1.178 GB, free: 31.87 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/2.586, allocations: 4 kB / 1.178 GB, free: 31.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/2.586, allocations: 4 kB / 1.178 GB, free: 31.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001028/2.586, allocations: 47.89 kB / 1.178 GB, free: 31.81 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/2.586, allocations: 67.38 kB / 1.178 GB, free: 31.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/2.586, allocations: 7.984 kB / 1.178 GB, free: 31.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/2.586, allocations: 0 / 1.178 GB, free: 31.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/2.586, allocations: 4 kB / 1.178 GB, free: 31.72 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002083/2.586, allocations: 171 kB / 1.178 GB, free: 31.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/2.587, allocations: 113.2 kB / 1.178 GB, free: 31.39 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.614e-05/2.587, allocations: 33.86 kB / 1.178 GB, free: 31.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003754/2.587, allocations: 137 kB / 1.179 GB, free: 31.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/2.587, allocations: 30.56 kB / 1.179 GB, free: 31.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/2.587, allocations: 0 / 1.179 GB, free: 31.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.000796/2.588, allocations: 189.4 kB / 1.179 GB, free: 30.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/2.588, allocations: 77.11 kB / 1.179 GB, free: 30.87 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/2.588, allocations: 125 kB / 1.179 GB, free: 30.74 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/2.588, allocations: 25.7 kB / 1.179 GB, free: 30.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/2.588, allocations: 88.14 kB / 1.179 GB, free: 30.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/2.588, allocations: 23.64 kB / 1.179 GB, free: 30.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-06/2.588, allocations: 0 / 1.179 GB, free: 30.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.874e-05/2.588, allocations: 314.8 kB / 1.179 GB, free: 30.28 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.072e-05/2.588, allocations: 31.97 kB / 1.179 GB, free: 30.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.05e-05/2.588, allocations: 43.42 kB / 1.179 GB, free: 30.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005132/2.589, allocations: 115.8 kB / 1.18 GB, free: 30.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/2.589, allocations: 3.938 kB / 1.18 GB, free: 30.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006292/2.59, allocations: 201.3 kB / 1.18 GB, free: 29.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/2.59, allocations: 4.062 kB / 1.18 GB, free: 29.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/2.59, allocations: 8 kB / 1.18 GB, free: 29.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/2.59, allocations: 0 / 1.18 GB, free: 29.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.866e-05/2.59, allocations: 15.98 kB / 1.18 GB, free: 29.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/2.59, allocations: 4 kB / 1.18 GB, free: 29.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.673e-05/2.59, allocations: 3.938 kB / 1.18 GB, free: 29.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/2.59, allocations: 8 kB / 1.18 GB, free: 29.83 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.61e-05/2.59, allocations: 101 kB / 1.18 GB, free: 29.73 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006572/2.591, allocations: 189.3 kB / 1.18 GB, free: 29.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.284e-05/2.591, allocations: 12.19 kB / 1.18 GB, free: 29.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000675/2.591, allocations: 218.1 kB / 1.18 GB, free: 29.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/2.591, allocations: 4 kB / 1.18 GB, free: 29.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/2.591, allocations: 0 / 1.18 GB, free: 29.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/2.591, allocations: 3.938 kB / 1.18 GB, free: 29.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/2.592, allocations: 154.2 kB / 1.18 GB, free: 29.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/2.592, allocations: 0 / 1.18 GB, free: 29.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.849e-05/2.592, allocations: 23.94 kB / 1.181 GB, free: 29.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/2.592, allocations: 0 / 1.181 GB, free: 29.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/2.592, allocations: 0 / 1.181 GB, free: 29.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/2.592, allocations: 8 kB / 1.181 GB, free: 29.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/2.592, allocations: 160 / 1.181 GB, free: 29.08 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000727/2.592, allocations: 271.3 kB / 1.181 GB, free: 28.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.4e-05/2.593, allocations: 101 kB / 1.181 GB, free: 28.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/2.593, allocations: 3.984 kB / 1.181 GB, free: 28.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.419e-05/2.593, allocations: 0 / 1.181 GB, free: 28.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/2.593, allocations: 8.062 kB / 1.181 GB, free: 28.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/2.593, allocations: 7.984 kB / 1.181 GB, free: 28.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.122e-05/2.593, allocations: 111.2 kB / 1.181 GB, free: 28.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/2.593, allocations: 0 / 1.181 GB, free: 28.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009947/2.594, allocations: 255.6 kB / 1.181 GB, free: 28.29 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.003158/2.597, allocations: 1.81 MB / 1.183 GB, free: 26.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001606/2.597, allocations: 51.98 kB / 1.183 GB, free: 26.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/2.597, allocations: 0 / 1.183 GB, free: 26.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.641e-05/2.597, allocations: 35.92 kB / 1.183 GB, free: 26.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/2.597, allocations: 19.92 kB / 1.183 GB, free: 26.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008881/2.598, allocations: 374.8 kB / 1.183 GB, free: 25.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/2.599, allocations: 0.6924 MB / 1.184 GB, free: 25.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.359e-05/2.599, allocations: 15.94 kB / 1.184 GB, free: 25.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.739e-05/2.599, allocations: 27.42 kB / 1.184 GB, free: 25.17 MB / 426.7 MB Notification: Performance of SimCode: time 1.022e-06/2.599, allocations: 0 / 1.184 GB, free: 25.17 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05977/2.659, allocations: 10.75 MB / 1.195 GB, free: 14.41 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002736/2.659, allocations: 178.7 kB / 1.195 GB, free: 14.22 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/4.972, allocations: 0 / 1.195 GB, free: 14.22 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