Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001269/0.001269, allocations: 199 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.2 MB / 245 MB, free: 5.762 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009995/0.0009994, allocations: 111.2 kB / 297.3 MB, free: 5.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003059/0.000306, allocations: 4 kB / 358 MB, free: 9.207 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2597, allocations: 51.48 MB / 409.5 MB, free: 26.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.575/1.835, allocations: 0.7158 GB / 1.116 GB, free: 82.95 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/1.835, allocations: 72.56 kB / 1.116 GB, free: 82.88 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1238/1.959, allocations: 68.82 MB / 1.183 GB, free: 13.09 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.663e-06/1.959, allocations: 0 / 1.183 GB, free: 13.09 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/1.959, allocations: 0 / 1.183 GB, free: 13.09 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.0006269/1.96, allocations: 470.8 kB / 1.183 GB, free: 12.58 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/1.96, allocations: 8.031 kB / 1.183 GB, free: 12.57 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.208e-05/1.96, allocations: 34.5 kB / 1.183 GB, free: 12.53 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003096/1.96, allocations: 55.83 kB / 1.183 GB, free: 12.47 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/1.96, allocations: 179.1 kB / 1.184 GB, free: 12.26 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/1.96, allocations: 8 kB / 1.184 GB, free: 12.25 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/1.96, allocations: 7.984 kB / 1.184 GB, free: 12.24 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/1.96, allocations: 71.38 kB / 1.184 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/1.96, allocations: 7.938 kB / 1.184 GB, free: 12.15 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/1.96, allocations: 4 kB / 1.184 GB, free: 12.15 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/1.96, allocations: 0 / 1.184 GB, free: 12.15 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.999e-05/1.96, allocations: 51.88 kB / 1.184 GB, free: 12.1 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/1.961, allocations: 194.5 kB / 1.184 GB, free: 11.86 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/1.961, allocations: 121.2 kB / 1.184 GB, free: 11.72 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003641/1.961, allocations: 226.3 kB / 1.184 GB, free: 11.46 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/1.961, allocations: 30.56 kB / 1.184 GB, free: 11.42 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/1.961, allocations: 4 kB / 1.184 GB, free: 11.42 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004438/1.962, allocations: 145.4 kB / 1.184 GB, free: 11.27 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/1.962, allocations: 77.11 kB / 1.185 GB, free: 11.18 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.083e-05/1.962, allocations: 136.9 kB / 1.185 GB, free: 11.04 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/1.962, allocations: 25.7 kB / 1.185 GB, free: 11 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.61e-05/1.962, allocations: 84.14 kB / 1.185 GB, free: 10.92 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/1.962, allocations: 19.72 kB / 1.185 GB, free: 10.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/1.962, allocations: 0 / 1.185 GB, free: 10.9 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.023e-05/1.962, allocations: 322.8 kB / 1.185 GB, free: 10.57 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.349e-05/1.962, allocations: 23.97 kB / 1.185 GB, free: 10.55 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-05/1.962, allocations: 55.34 kB / 1.185 GB, free: 10.48 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.832e-05/1.962, allocations: 31.97 kB / 1.185 GB, free: 10.45 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.962, allocations: 0 / 1.185 GB, free: 10.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002189/1.963, allocations: 109.5 kB / 1.185 GB, free: 10.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/1.963, allocations: 7.984 kB / 1.185 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/1.963, allocations: 3.938 kB / 1.185 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/1.963, allocations: 8.062 kB / 1.185 GB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.714e-05/1.963, allocations: 19.94 kB / 1.185 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/1.963, allocations: 3.953 kB / 1.185 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.708e-05/1.963, allocations: 15.92 kB / 1.185 GB, free: 10.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/1.963, allocations: 4 kB / 1.185 GB, free: 10.28 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 5.366e-05/1.963, allocations: 113.8 kB / 1.185 GB, free: 10.16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/1.963, allocations: 7.906 kB / 1.185 GB, free: 10.15 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/1.963, allocations: 142.3 kB / 1.186 GB, free: 10 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/1.963, allocations: 0 / 1.186 GB, free: 10 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.963, allocations: 0 / 1.186 GB, free: 10 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.963, allocations: 3.953 kB / 1.186 GB, free: 10 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.791e-05/1.963, allocations: 177.6 kB / 1.186 GB, free: 9.777 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/1.963, allocations: 4 kB / 1.186 GB, free: 9.773 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.423e-05/1.963, allocations: 11.98 kB / 1.186 GB, free: 9.762 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/1.963, allocations: 4 kB / 1.186 GB, free: 9.758 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/1.963, allocations: 0 / 1.186 GB, free: 9.758 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.963, allocations: 0 / 1.186 GB, free: 9.758 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/1.963, allocations: 4 kB / 1.186 GB, free: 9.754 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/1.964, allocations: 187.4 kB / 1.186 GB, free: 9.543 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.468e-05/1.964, allocations: 97.03 kB / 1.186 GB, free: 9.43 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/1.964, allocations: 7.938 kB / 1.186 GB, free: 9.422 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.272e-05/1.964, allocations: 3.984 kB / 1.186 GB, free: 9.418 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/1.964, allocations: 12.02 kB / 1.186 GB, free: 9.406 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/1.964, allocations: 4 kB / 1.186 GB, free: 9.402 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.083e-05/1.964, allocations: 111.2 kB / 1.186 GB, free: 9.293 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.964, allocations: 0 / 1.186 GB, free: 9.293 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007532/1.965, allocations: 223.7 kB / 1.186 GB, free: 9.074 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.00158/1.966, allocations: 1.485 MB / 1.188 GB, free: 7.57 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001918/1.966, allocations: 63.91 kB / 1.188 GB, free: 7.508 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.967, allocations: 3.938 kB / 1.188 GB, free: 7.504 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.935e-05/1.967, allocations: 35.91 kB / 1.188 GB, free: 7.469 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/1.967, allocations: 22.17 kB / 1.188 GB, free: 7.449 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/1.968, allocations: 1.355 MB / 1.189 GB, free: 6.023 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/1.968, allocations: 0.6965 MB / 1.19 GB, free: 5.301 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.695e-05/1.968, allocations: 23.86 kB / 1.19 GB, free: 5.277 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/1.968, allocations: 19.44 kB / 1.19 GB, free: 5.258 MB / 458.7 MB Notification: Performance of SimCode: time 3.71e-07/1.968, allocations: 0 / 1.19 GB, free: 5.258 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.243/2.211, allocations: 14.81 MB / 1.205 GB, free: 139.9 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/2.211, allocations: 229.7 kB / 1.205 GB, free: 139.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.089/4.3, allocations: 0 / 1.205 GB, free: 139.6 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat does not exist to compare? outputFormat=mat