Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.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: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001518/0.001518, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.178/2.178, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001104/0.001104, allocations: 90.64 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.025e-05/3.041e-05, allocations: 0 / 321.5 MB, free: 17.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1001, allocations: 47.59 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8329/0.9331, allocations: 190 MB / 0.546 GB, free: 110 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/0.9335, allocations: 73.39 kB / 0.5461 GB, free: 110 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1436/1.077, allocations: 36.95 MB / 0.5822 GB, free: 98.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.775e-06/1.077, allocations: 3.875 kB / 0.5822 GB, free: 98.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.915e-06/1.077, allocations: 3.938 kB / 0.5822 GB, free: 98.09 MB / 410.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.000901/1.078, allocations: 492.5 kB / 0.5826 GB, free: 97.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/1.078, allocations: 19.8 kB / 0.5826 GB, free: 97.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/1.078, allocations: 0 / 0.5826 GB, free: 97.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/1.078, allocations: 177.9 kB / 0.5828 GB, free: 97.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/1.078, allocations: 11.55 kB / 0.5828 GB, free: 97.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/1.078, allocations: 3.984 kB / 0.5828 GB, free: 97.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/1.079, allocations: 55 kB / 0.5829 GB, free: 97.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/1.079, allocations: 0 / 0.5829 GB, free: 97.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/1.079, allocations: 3.125 kB / 0.5829 GB, free: 97.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/1.079, allocations: 4 kB / 0.5829 GB, free: 97.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.616e-05/1.079, allocations: 19.83 kB / 0.5829 GB, free: 97.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/1.079, allocations: 169.4 kB / 0.5831 GB, free: 97.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/1.079, allocations: 87.41 kB / 0.5832 GB, free: 97.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.273e-05/1.079, allocations: 25.16 kB / 0.5832 GB, free: 97.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/1.08, allocations: 1.895 MB / 0.585 GB, free: 94.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/1.08, allocations: 38.33 kB / 0.5851 GB, free: 94.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/1.08, allocations: 0 / 0.5851 GB, free: 94.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002/1.081, allocations: 64.03 kB / 0.5851 GB, free: 94.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/1.081, allocations: 81.02 kB / 0.5852 GB, free: 94.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.445e-05/1.081, allocations: 104 kB / 0.5853 GB, free: 94.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/1.081, allocations: 25.7 kB / 0.5853 GB, free: 94.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.496e-05/1.081, allocations: 154.5 kB / 0.5855 GB, free: 94.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/1.081, allocations: 15.34 kB / 0.5855 GB, free: 94.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-06/1.081, allocations: 3.75 kB / 0.5855 GB, free: 94.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.782e-05/1.081, allocations: 318.8 kB / 0.5858 GB, free: 94.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.831e-05/1.081, allocations: 11.47 kB / 0.5858 GB, free: 94.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.975e-05/1.081, allocations: 38.58 kB / 0.5858 GB, free: 94.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.723e-05/1.081, allocations: 15.67 kB / 0.5859 GB, free: 94.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.081, allocations: 0 / 0.5859 GB, free: 94.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001898/1.081, allocations: 80.33 kB / 0.5859 GB, free: 93.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/1.081, allocations: 7.781 kB / 0.5859 GB, free: 93.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/1.081, allocations: 0 / 0.5859 GB, free: 93.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/1.081, allocations: 3.719 kB / 0.5859 GB, free: 93.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/1.082, allocations: 23.11 kB / 0.586 GB, free: 93.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/1.082, allocations: 4.062 kB / 0.586 GB, free: 93.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.737e-05/1.082, allocations: 11.81 kB / 0.586 GB, free: 93.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/1.082, allocations: 3.75 kB / 0.586 GB, free: 93.95 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 () * 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.524e-05/1.082, allocations: 104.7 kB / 0.5861 GB, free: 93.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/1.082, allocations: 11.77 kB / 0.5861 GB, free: 93.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003101/1.082, allocations: 124 kB / 0.5862 GB, free: 93.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/1.082, allocations: 0 / 0.5862 GB, free: 93.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.082, allocations: 0 / 0.5862 GB, free: 93.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/1.082, allocations: 3.906 kB / 0.5862 GB, free: 93.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/1.082, allocations: 164.8 kB / 0.5864 GB, free: 93.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.082, allocations: 3.719 kB / 0.5864 GB, free: 93.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/1.082, allocations: 15.64 kB / 0.5864 GB, free: 93.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/1.083, allocations: 0 / 0.5864 GB, free: 93.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/1.083, allocations: 11.58 kB / 0.5864 GB, free: 93.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/1.083, allocations: 0 / 0.5864 GB, free: 93.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.083, allocations: 0 / 0.5864 GB, free: 93.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/1.083, allocations: 137.8 kB / 0.5865 GB, free: 93.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/1.083, allocations: 100.5 kB / 0.5866 GB, free: 93.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/1.083, allocations: 7.859 kB / 0.5866 GB, free: 93.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.74e-05/1.083, allocations: 0 / 0.5866 GB, free: 93.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/1.083, allocations: 15.52 kB / 0.5867 GB, free: 93.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/1.083, allocations: 4.062 kB / 0.5867 GB, free: 93.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.458e-05/1.083, allocations: 95.38 kB / 0.5868 GB, free: 93.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.083, allocations: 0 / 0.5868 GB, free: 93.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007893/1.084, allocations: 199.3 kB / 0.5869 GB, free: 93.12 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 () * 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.0009704/1.085, allocations: 369.5 kB / 0.5873 GB, free: 92.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001561/1.085, allocations: 43.52 kB / 0.5873 GB, free: 92.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.085, allocations: 3.938 kB / 0.5873 GB, free: 92.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.039e-05/1.085, allocations: 31.62 kB / 0.5874 GB, free: 92.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/1.085, allocations: 4 kB / 0.5874 GB, free: 92.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004884/1.086, allocations: 255 kB / 0.5876 GB, free: 92.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/1.086, allocations: 0.6926 MB / 0.5883 GB, free: 91.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.753e-05/1.086, allocations: 19.42 kB / 0.5883 GB, free: 91.68 MB / 410.7 MB Notification: Performance of SimCode: time 6.82e-07/1.086, allocations: 0 / 0.5883 GB, free: 91.68 MB / 410.7 MB Notification: Performance of Templates: time 0.009111/1.095, allocations: 3.74 MB / 0.592 GB, free: 87.93 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/InverseIncompressible_sh_T/InverseIncompressible_sh_T.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches