Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.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.InverseIncompressible_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001566/0.001566, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.2 MB / 245 MB, free: 7.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009118/0.0009118, allocations: 105.4 kB / 297.3 MB, free: 6.172 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002631/0.000263, allocations: 8 kB / 358 MB, free: 9.434 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2807, allocations: 51.48 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4877/0.7685, allocations: 187.4 MB / 0.5829 GB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.7688, allocations: 77.61 kB / 0.583 GB, free: 10.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06725/0.8361, allocations: 27.79 MB / 0.6101 GB, free: 3.121 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.8361, allocations: 0 / 0.6101 GB, free: 3.121 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.8362, allocations: 3.5 kB / 0.6101 GB, free: 3.121 MB / 394.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.0009576/0.8371, allocations: 485.6 kB / 0.6106 GB, free: 2.605 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.8372, allocations: 8.031 kB / 0.6106 GB, free: 2.598 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.306e-05/0.8373, allocations: 38 kB / 0.6106 GB, free: 2.555 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.8373, allocations: 0 / 0.6106 GB, free: 2.555 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.8376, allocations: 190.4 kB / 0.6108 GB, free: 2.332 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.8376, allocations: 8 kB / 0.6108 GB, free: 2.324 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.8377, allocations: 7.531 kB / 0.6108 GB, free: 2.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.8378, allocations: 66.69 kB / 0.6109 GB, free: 2.246 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.8379, allocations: 0 / 0.6109 GB, free: 2.246 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.8379, allocations: 0 / 0.6109 GB, free: 2.246 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.8379, allocations: 0 / 0.6109 GB, free: 2.246 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.69e-05/0.838, allocations: 23.41 kB / 0.6109 GB, free: 2.227 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002371/0.8382, allocations: 173.7 kB / 0.6111 GB, free: 2.012 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.8385, allocations: 80.16 kB / 0.6112 GB, free: 1.922 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001799/0.8403, allocations: 2.194 MB / 0.6133 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.8404, allocations: 38.5 kB / 0.6133 GB, free: 15.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.764e-06/0.8404, allocations: 0 / 0.6133 GB, free: 15.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003046/0.8407, allocations: 80.03 kB / 0.6134 GB, free: 15.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.8408, allocations: 84.98 kB / 0.6135 GB, free: 15.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.8409, allocations: 104.4 kB / 0.6136 GB, free: 14.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.8409, allocations: 25.7 kB / 0.6136 GB, free: 14.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.197e-05/0.841, allocations: 83.77 kB / 0.6137 GB, free: 14.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/0.8411, allocations: 31.08 kB / 0.6137 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.8411, allocations: 0 / 0.6137 GB, free: 14.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.8412, allocations: 318.3 kB / 0.614 GB, free: 14.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.334e-05/0.8413, allocations: 11.98 kB / 0.614 GB, free: 14.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.889e-05/0.8413, allocations: 39.05 kB / 0.6141 GB, free: 14.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.679e-05/0.8414, allocations: 19 kB / 0.6141 GB, free: 14.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.8414, allocations: 0 / 0.6141 GB, free: 14.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002256/0.8417, allocations: 92.02 kB / 0.6142 GB, free: 14.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.8417, allocations: 4 kB / 0.6142 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.8417, allocations: 4 kB / 0.6142 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.8417, allocations: 0 / 0.6142 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.8418, allocations: 15.98 kB / 0.6142 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.8418, allocations: 4 kB / 0.6142 GB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.943e-05/0.8419, allocations: 3.375 kB / 0.6142 GB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.8419, allocations: 8.062 kB / 0.6142 GB, free: 14.27 MB / 410.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 0.0001023/0.842, allocations: 117.4 kB / 0.6143 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.842, allocations: 8.328 kB / 0.6144 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/0.8424, allocations: 122.7 kB / 0.6145 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.946e-06/0.8424, allocations: 11.92 kB / 0.6145 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.8424, allocations: 0 / 0.6145 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.8424, allocations: 0 / 0.6145 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.8426, allocations: 172.8 kB / 0.6146 GB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.8426, allocations: 0 / 0.6146 GB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.776e-05/0.8427, allocations: 12 kB / 0.6147 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.8427, allocations: 0 / 0.6147 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.8427, allocations: 15.39 kB / 0.6147 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.8428, allocations: 0 / 0.6147 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.8428, allocations: 3.984 kB / 0.6147 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.8431, allocations: 153.8 kB / 0.6148 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.365e-05/0.8432, allocations: 92.39 kB / 0.6149 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.8432, allocations: 7.984 kB / 0.6149 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.97e-05/0.8433, allocations: 0 / 0.6149 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/0.8433, allocations: 4 kB / 0.6149 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.8433, allocations: 11.42 kB / 0.6149 GB, free: 13.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.148e-05/0.8434, allocations: 99.14 kB / 0.615 GB, free: 13.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8434, allocations: 0 / 0.615 GB, free: 13.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006085/0.844, allocations: 146.8 kB / 0.6152 GB, free: 13.27 MB / 410.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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.00134/0.8454, allocations: 0.9501 MB / 0.6161 GB, free: 12.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002026/0.8456, allocations: 46.72 kB / 0.6161 GB, free: 12.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.8456, allocations: 0 / 0.6161 GB, free: 12.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.972e-05/0.8457, allocations: 34.59 kB / 0.6162 GB, free: 12.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001718/0.8459, allocations: 16.98 kB / 0.6162 GB, free: 12.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.8475, allocations: 1.18 MB / 0.6173 GB, free: 11.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.8478, allocations: 0.6888 MB / 0.618 GB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.784e-05/0.8479, allocations: 38.91 kB / 0.618 GB, free: 10.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.766e-05/0.848, allocations: 26.73 kB / 0.6181 GB, free: 10.27 MB / 410.7 MB Notification: Performance of SimCode: time 4.217e-06/0.848, allocations: 0 / 0.6181 GB, free: 10.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02093/0.8689, allocations: 4.03 MB / 0.622 GB, free: 6.426 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003039/0.8693, allocations: 246.5 kB / 0.6222 GB, free: 6.137 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/2.671, allocations: 2.812 kB / 0.6222 GB, free: 6.137 MB / 410.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat does not exist to compare? outputFormat=mat