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.001475/0.001475, allocations: 186.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.913/1.913, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001112/0.001112, allocations: 95.55 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003941/0.0003942, allocations: 8 kB / 327 MB, free: 224 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3281, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.558/0.8862, allocations: 190.1 MB / 0.5514 GB, free: 48.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.8865, allocations: 77.7 kB / 0.5515 GB, free: 48.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1409/1.027, allocations: 37.02 MB / 0.5876 GB, free: 17.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.034e-06/1.027, allocations: 4 kB / 0.5876 GB, free: 17.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.594e-06/1.028, allocations: 0 / 0.5876 GB, free: 17.34 MB / 378.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.0008767/1.028, allocations: 0.4977 MB / 0.5881 GB, free: 16.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/1.028, allocations: 8.031 kB / 0.5881 GB, free: 16.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/1.029, allocations: 4 kB / 0.5881 GB, free: 16.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/1.029, allocations: 189.9 kB / 0.5883 GB, free: 16.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/1.029, allocations: 3.953 kB / 0.5883 GB, free: 16.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/1.029, allocations: 3.906 kB / 0.5883 GB, free: 16.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/1.029, allocations: 66.27 kB / 0.5884 GB, free: 16.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/1.029, allocations: 0 / 0.5884 GB, free: 16.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/1.029, allocations: 0 / 0.5884 GB, free: 16.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/1.029, allocations: 4 kB / 0.5884 GB, free: 16.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/1.029, allocations: 19.73 kB / 0.5884 GB, free: 16.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/1.029, allocations: 170.4 kB / 0.5886 GB, free: 16.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/1.03, allocations: 84.55 kB / 0.5886 GB, free: 16.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001272/1.031, allocations: 1.9 MB / 0.5905 GB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/1.031, allocations: 34.56 kB / 0.5905 GB, free: 13.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.968e-06/1.031, allocations: 3.938 kB / 0.5905 GB, free: 13.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005037/1.032, allocations: 81.55 kB / 0.5906 GB, free: 13.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/1.032, allocations: 89.03 kB / 0.5907 GB, free: 13.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.67e-05/1.032, allocations: 100.5 kB / 0.5908 GB, free: 13.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/1.032, allocations: 25.7 kB / 0.5908 GB, free: 13.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/1.032, allocations: 154.2 kB / 0.591 GB, free: 13.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/1.032, allocations: 27.27 kB / 0.591 GB, free: 13.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-06/1.032, allocations: 0 / 0.591 GB, free: 13.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.685e-05/1.032, allocations: 314.8 kB / 0.5913 GB, free: 13.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.7e-05/1.032, allocations: 15.61 kB / 0.5913 GB, free: 13.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.83e-05/1.032, allocations: 38.92 kB / 0.5913 GB, free: 12.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.805e-05/1.032, allocations: 23.58 kB / 0.5914 GB, free: 12.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.032, allocations: 4 kB / 0.5914 GB, free: 12.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002731/1.033, allocations: 84.14 kB / 0.5915 GB, free: 12.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/1.033, allocations: 7.953 kB / 0.5915 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/1.033, allocations: 4 kB / 0.5915 GB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/1.033, allocations: 0 / 0.5915 GB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/1.033, allocations: 15.98 kB / 0.5915 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/1.033, allocations: 4 kB / 0.5915 GB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/1.033, allocations: 0 / 0.5915 GB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/1.033, allocations: 4 kB / 0.5915 GB, free: 12.83 MB / 378.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 8.704e-05/1.033, allocations: 125.3 kB / 0.5916 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/1.033, allocations: 4 kB / 0.5916 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004527/1.034, allocations: 127.1 kB / 0.5917 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/1.034, allocations: 0 / 0.5917 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.034, allocations: 0 / 0.5917 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.034, allocations: 0 / 0.5917 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/1.034, allocations: 177 kB / 0.5919 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/1.034, allocations: 4 kB / 0.5919 GB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/1.034, allocations: 19.36 kB / 0.5919 GB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-06/1.034, allocations: 0 / 0.5919 GB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/1.034, allocations: 4 kB / 0.5919 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/1.034, allocations: 7.891 kB / 0.5919 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.034, allocations: 0 / 0.5919 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/1.034, allocations: 149.3 kB / 0.5921 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/1.035, allocations: 92.73 kB / 0.5922 GB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/1.035, allocations: 7.953 kB / 0.5922 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.696e-05/1.035, allocations: 3.5 kB / 0.5922 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/1.035, allocations: 11.92 kB / 0.5922 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/1.035, allocations: 4 kB / 0.5922 GB, free: 12.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.571e-05/1.035, allocations: 90.95 kB / 0.5923 GB, free: 11.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.035, allocations: 4 kB / 0.5923 GB, free: 11.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008222/1.036, allocations: 198.6 kB / 0.5925 GB, free: 11.78 MB / 378.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.001024/1.037, allocations: 389.6 kB / 0.5928 GB, free: 11.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002779/1.037, allocations: 43.72 kB / 0.5929 GB, free: 11.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.037, allocations: 3.375 kB / 0.5929 GB, free: 11.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/1.037, allocations: 27.55 kB / 0.5929 GB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/1.037, allocations: 11.5 kB / 0.5929 GB, free: 11.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006296/1.038, allocations: 382 kB / 0.5933 GB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/1.038, allocations: 0.6926 MB / 0.594 GB, free: 10.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.781e-05/1.038, allocations: 23.36 kB / 0.594 GB, free: 10.19 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/1.038, allocations: 0 / 0.594 GB, free: 10.19 MB / 378.7 MB Notification: Performance of Templates: time 0.008205/1.046, allocations: 3.761 MB / 0.5977 GB, free: 6.43 MB / 378.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