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.002381/0.002381, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.679/1.679, allocations: 225.4 MB / 240.1 MB, free: 15.06 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001086/0.001086, allocations: 96.95 kB / 292.1 MB, free: 5.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.382e-05/4.409e-05, allocations: 0 / 350.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.132, allocations: 51.48 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.403/2.535, allocations: 0.7157 GB / 1.108 GB, free: 131.8 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/2.535, allocations: 76.64 kB / 1.108 GB, free: 131.8 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1583/2.693, allocations: 68.76 MB / 1.176 GB, free: 104.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.553e-06/2.693, allocations: 0 / 1.176 GB, free: 104.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.175e-05/2.693, allocations: 0.75 kB / 1.176 GB, free: 104.7 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.0008714/2.694, allocations: 457.4 kB / 1.176 GB, free: 104.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/2.694, allocations: 12.02 kB / 1.176 GB, free: 104.2 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.191e-05/2.694, allocations: 34.56 kB / 1.176 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003877/2.695, allocations: 51.22 kB / 1.176 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/2.695, allocations: 191 kB / 1.176 GB, free: 103.9 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/2.695, allocations: 7.938 kB / 1.176 GB, free: 103.9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/2.695, allocations: 0 / 1.176 GB, free: 103.9 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/2.695, allocations: 73.06 kB / 1.176 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/2.695, allocations: 7.891 kB / 1.176 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/2.695, allocations: 8 kB / 1.176 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/2.695, allocations: 0 / 1.176 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.13e-05/2.695, allocations: 39.95 kB / 1.176 GB, free: 103.7 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002915/2.696, allocations: 191.3 kB / 1.177 GB, free: 103.5 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/2.696, allocations: 113.2 kB / 1.177 GB, free: 103.4 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.654e-05/2.696, allocations: 41.8 kB / 1.177 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004311/2.697, allocations: 218.1 kB / 1.177 GB, free: 103.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/2.697, allocations: 42.55 kB / 1.177 GB, free: 103 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/2.697, allocations: 4 kB / 1.177 GB, free: 103 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003945/2.697, allocations: 113.5 kB / 1.177 GB, free: 102.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/2.697, allocations: 85.11 kB / 1.177 GB, free: 102.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/2.697, allocations: 121 kB / 1.177 GB, free: 102.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/2.697, allocations: 25.7 kB / 1.177 GB, free: 102.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.25e-05/2.697, allocations: 92.11 kB / 1.177 GB, free: 102.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/2.697, allocations: 23.66 kB / 1.177 GB, free: 102.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-06/2.697, allocations: 0 / 1.177 GB, free: 102.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.53e-05/2.697, allocations: 327.5 kB / 1.178 GB, free: 102.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-05/2.697, allocations: 19.98 kB / 1.178 GB, free: 102.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.829e-05/2.697, allocations: 47.41 kB / 1.178 GB, free: 102.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.142e-05/2.698, allocations: 23.98 kB / 1.178 GB, free: 102.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/2.698, allocations: 4 kB / 1.178 GB, free: 102.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002021/2.698, allocations: 113.5 kB / 1.178 GB, free: 102 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/2.698, allocations: 9.391 kB / 1.178 GB, free: 102 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/2.698, allocations: 2.344 kB / 1.178 GB, free: 102 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/2.698, allocations: 4 kB / 1.178 GB, free: 101.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.252e-05/2.698, allocations: 12 kB / 1.178 GB, free: 101.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/2.698, allocations: 3.953 kB / 1.178 GB, free: 101.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.44e-05/2.698, allocations: 7.984 kB / 1.178 GB, free: 101.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/2.698, allocations: 8 kB / 1.178 GB, free: 101.9 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 () * 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 6.426e-05/2.698, allocations: 108.9 kB / 1.178 GB, free: 101.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/2.698, allocations: 11.94 kB / 1.178 GB, free: 101.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/2.698, allocations: 126 kB / 1.178 GB, free: 101.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/2.698, allocations: 3.938 kB / 1.178 GB, free: 101.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/2.698, allocations: 0 / 1.178 GB, free: 101.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/2.698, allocations: 3.953 kB / 1.178 GB, free: 101.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/2.699, allocations: 185.5 kB / 1.178 GB, free: 101.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/2.699, allocations: 0 / 1.178 GB, free: 101.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.909e-05/2.699, allocations: 15.98 kB / 1.178 GB, free: 101.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/2.699, allocations: 0 / 1.178 GB, free: 101.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/2.699, allocations: 4 kB / 1.178 GB, free: 101.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/2.699, allocations: 4 kB / 1.178 GB, free: 101.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/2.699, allocations: 0 / 1.178 GB, free: 101.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/2.699, allocations: 171.5 kB / 1.179 GB, free: 101.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.489e-05/2.699, allocations: 97.03 kB / 1.179 GB, free: 101.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/2.699, allocations: 4 kB / 1.179 GB, free: 101.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.465e-05/2.699, allocations: 7.984 kB / 1.179 GB, free: 101.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/2.699, allocations: 12.25 kB / 1.179 GB, free: 101.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/2.699, allocations: 7.984 kB / 1.179 GB, free: 101.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.396e-05/2.699, allocations: 105.6 kB / 1.179 GB, free: 101 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.51e-07/2.699, allocations: 0 / 1.179 GB, free: 101 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001056/2.7, allocations: 215.8 kB / 1.179 GB, free: 100.7 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 () * 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.002531/2.703, allocations: 1.478 MB / 1.18 GB, free: 99.24 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001574/2.703, allocations: 55.92 kB / 1.181 GB, free: 99.19 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/2.703, allocations: 5.688 kB / 1.181 GB, free: 99.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.236e-05/2.703, allocations: 31.92 kB / 1.181 GB, free: 99.15 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/2.703, allocations: 23.94 kB / 1.181 GB, free: 99.13 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/2.704, allocations: 362.9 kB / 1.181 GB, free: 98.73 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/2.705, allocations: 0.6926 MB / 1.182 GB, free: 98.02 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001011/2.705, allocations: 21.72 kB / 1.182 GB, free: 98 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.49e-05/2.705, allocations: 19.44 kB / 1.182 GB, free: 97.98 MB / 458.7 MB Notification: Performance of SimCode: time 7.22e-07/2.705, allocations: 0 / 1.182 GB, free: 97.98 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03203/2.737, allocations: 16.6 MB / 1.198 GB, free: 81.52 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/2.737, allocations: 211.8 kB / 1.198 GB, free: 81.29 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.347/5.084, allocations: 1.547 kB / 1.198 GB, free: 81.29 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