Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.00196/0.00196, allocations: 171.9 kB / 14.1 MB, free: 1.223 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.889/1.889, allocations: 205.2 MB / 219.8 MB, free: 14.29 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.0008744/0.0008742, allocations: 86.66 kB / 268 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.557e-05/3.559e-05, allocations: 4 kB / 322.4 MB, free: 17.37 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.15, allocations: 47.58 MB / 370 MB, free: 1.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8317/0.9818, allocations: 190 MB / 0.5469 GB, free: 110.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.9821, allocations: 79.44 kB / 0.547 GB, free: 110.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08755/1.07, allocations: 36.95 MB / 0.5831 GB, free: 98.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/1.07, allocations: 3.969 kB / 0.5831 GB, free: 98.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/1.07, allocations: 0 / 0.5831 GB, free: 98.19 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.0007491/1.071, allocations: 495.8 kB / 0.5835 GB, free: 97.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/1.071, allocations: 15.62 kB / 0.5836 GB, free: 97.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/1.071, allocations: 0 / 0.5836 GB, free: 97.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/1.071, allocations: 186.1 kB / 0.5837 GB, free: 97.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/1.071, allocations: 7.828 kB / 0.5837 GB, free: 97.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/1.071, allocations: 3.438 kB / 0.5837 GB, free: 97.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/1.071, allocations: 58.7 kB / 0.5838 GB, free: 97.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/1.071, allocations: 0 / 0.5838 GB, free: 97.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/1.071, allocations: 0 / 0.5838 GB, free: 97.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/1.071, allocations: 0 / 0.5838 GB, free: 97.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.891e-05/1.071, allocations: 27.42 kB / 0.5838 GB, free: 97.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001877/1.071, allocations: 173.3 kB / 0.584 GB, free: 97.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/1.071, allocations: 83.31 kB / 0.5841 GB, free: 97.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.423e-05/1.072, allocations: 25.58 kB / 0.5841 GB, free: 97.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009083/1.072, allocations: 1.902 MB / 0.5859 GB, free: 94.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/1.072, allocations: 30.56 kB / 0.586 GB, free: 94.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/1.072, allocations: 0 / 0.586 GB, free: 94.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001672/1.073, allocations: 66.17 kB / 0.586 GB, free: 94.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/1.073, allocations: 77.11 kB / 0.5861 GB, free: 94.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.447e-05/1.073, allocations: 108.3 kB / 0.5862 GB, free: 94.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/1.073, allocations: 29.7 kB / 0.5862 GB, free: 94.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.903e-05/1.073, allocations: 80.14 kB / 0.5863 GB, free: 94.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/1.073, allocations: 19.16 kB / 0.5863 GB, free: 94.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/1.073, allocations: 3.625 kB / 0.5863 GB, free: 94.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.829e-05/1.073, allocations: 314.8 kB / 0.5866 GB, free: 94.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.302e-05/1.073, allocations: 11.38 kB / 0.5867 GB, free: 94.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.933e-05/1.073, allocations: 35.42 kB / 0.5867 GB, free: 94.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.187e-05/1.073, allocations: 23.3 kB / 0.5867 GB, free: 94.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.073, allocations: 0 / 0.5867 GB, free: 94.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001037/1.073, allocations: 76.31 kB / 0.5868 GB, free: 94.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/1.073, allocations: 7.938 kB / 0.5868 GB, free: 94.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.073, allocations: 8 kB / 0.5868 GB, free: 94.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/1.073, allocations: 0 / 0.5868 GB, free: 94.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.908e-05/1.073, allocations: 15.98 kB / 0.5868 GB, free: 94.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/1.073, allocations: 3.938 kB / 0.5868 GB, free: 94.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/1.073, allocations: 19.38 kB / 0.5868 GB, free: 94.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/1.073, allocations: 4 kB / 0.5868 GB, free: 94 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 4.997e-05/1.073, allocations: 101 kB / 0.5869 GB, free: 93.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/1.073, allocations: 11.86 kB / 0.5869 GB, free: 93.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/1.074, allocations: 115 kB / 0.5871 GB, free: 93.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.074, allocations: 4.281 kB / 0.5871 GB, free: 93.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.074, allocations: 0 / 0.5871 GB, free: 93.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/1.074, allocations: 4 kB / 0.5871 GB, free: 93.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/1.074, allocations: 176.4 kB / 0.5872 GB, free: 93.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/1.074, allocations: 4 kB / 0.5872 GB, free: 93.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.413e-05/1.074, allocations: 19.73 kB / 0.5873 GB, free: 93.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/1.074, allocations: 0 / 0.5873 GB, free: 93.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/1.074, allocations: 7.953 kB / 0.5873 GB, free: 93.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.074, allocations: 0 / 0.5873 GB, free: 93.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.074, allocations: 480 / 0.5873 GB, free: 93.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/1.074, allocations: 144.4 kB / 0.5874 GB, free: 93.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/1.074, allocations: 96.67 kB / 0.5875 GB, free: 93.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/1.074, allocations: 3.953 kB / 0.5875 GB, free: 93.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.066e-05/1.074, allocations: 4 kB / 0.5875 GB, free: 93.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/1.074, allocations: 3.984 kB / 0.5875 GB, free: 93.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/1.074, allocations: 11.19 kB / 0.5875 GB, free: 93.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.299e-05/1.074, allocations: 91.03 kB / 0.5876 GB, free: 93.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.074, allocations: 0 / 0.5876 GB, free: 93.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000593/1.075, allocations: 194.3 kB / 0.5878 GB, free: 92.99 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.0007024/1.076, allocations: 383.9 kB / 0.5882 GB, free: 92.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001104/1.076, allocations: 39.67 kB / 0.5882 GB, free: 92.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/1.076, allocations: 4.125 kB / 0.5882 GB, free: 92.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.867e-05/1.076, allocations: 30.8 kB / 0.5882 GB, free: 92.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/1.076, allocations: 11.38 kB / 0.5882 GB, free: 92.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000359/1.076, allocations: 217.1 kB / 0.5884 GB, free: 92.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/1.077, allocations: 0.6965 MB / 0.5891 GB, free: 91.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.679e-05/1.077, allocations: 31.95 kB / 0.5892 GB, free: 91.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/1.077, allocations: 18.94 kB / 0.5892 GB, free: 91.55 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/1.077, allocations: 0 / 0.5892 GB, free: 91.55 MB / 410.7 MB Notification: Performance of Templates: time 0.006535/1.083, allocations: 3.593 MB / 0.5927 GB, free: 87.96 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins/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_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches