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.001514/0.001515, allocations: 181.3 kB / 17.02 MB, free: 5.125 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.9/1.9, allocations: 205.4 MB / 223.1 MB, free: 9.031 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.001067/0.001066, allocations: 88.16 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003055/0.0003055, allocations: 8 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3523, allocations: 47.57 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5555/0.9079, allocations: 190.1 MB / 0.5527 GB, free: 48.78 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004044/0.9084, allocations: 71.41 kB / 0.5527 GB, free: 48.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08806/0.9965, allocations: 37.02 MB / 0.5889 GB, free: 17.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.647e-06/0.9966, allocations: 0 / 0.5889 GB, free: 17.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.9966, allocations: 0 / 0.5889 GB, free: 17.18 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.001101/0.9977, allocations: 0.5011 MB / 0.5894 GB, free: 16.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.9978, allocations: 8.031 kB / 0.5894 GB, free: 16.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.9978, allocations: 4 kB / 0.5894 GB, free: 16.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.9981, allocations: 186.4 kB / 0.5896 GB, free: 16.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.9981, allocations: 7.938 kB / 0.5896 GB, free: 16.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.9981, allocations: 7.594 kB / 0.5896 GB, free: 16.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.9983, allocations: 55.03 kB / 0.5896 GB, free: 16.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.9983, allocations: 7.969 kB / 0.5896 GB, free: 16.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.9984, allocations: 4 kB / 0.5896 GB, free: 16.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.9984, allocations: 4 kB / 0.5896 GB, free: 16.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.465e-05/0.9985, allocations: 19.11 kB / 0.5897 GB, free: 16.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002172/0.9987, allocations: 169.7 kB / 0.5898 GB, free: 16.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.999, allocations: 88.19 kB / 0.5899 GB, free: 16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/1, allocations: 1.896 MB / 0.5918 GB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/1, allocations: 38.19 kB / 0.5918 GB, free: 13.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/1, allocations: 0 / 0.5918 GB, free: 13.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.000304/1, allocations: 76.59 kB / 0.5919 GB, free: 13.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/1.001, allocations: 85.05 kB / 0.5919 GB, free: 13.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.051e-05/1.001, allocations: 104.5 kB / 0.592 GB, free: 13.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/1.001, allocations: 25.7 kB / 0.5921 GB, free: 13.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.011e-05/1.001, allocations: 87.64 kB / 0.5921 GB, free: 13.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/1.001, allocations: 23.14 kB / 0.5922 GB, free: 13.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/1.001, allocations: 4 kB / 0.5922 GB, free: 13.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.247e-05/1.001, allocations: 314.5 kB / 0.5925 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.31e-05/1.001, allocations: 15.48 kB / 0.5925 GB, free: 12.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.607e-05/1.001, allocations: 39.17 kB / 0.5925 GB, free: 12.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.991e-05/1.001, allocations: 23.61 kB / 0.5925 GB, free: 12.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/1.001, allocations: 0 / 0.5925 GB, free: 12.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001609/1.001, allocations: 81.08 kB / 0.5926 GB, free: 12.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/1.001, allocations: 11.89 kB / 0.5926 GB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/1.001, allocations: 0 / 0.5926 GB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/1.001, allocations: 8.062 kB / 0.5926 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.445e-05/1.001, allocations: 15.98 kB / 0.5927 GB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/1.001, allocations: 480 / 0.5927 GB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.195e-05/1.001, allocations: 11.81 kB / 0.5927 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/1.001, allocations: 7.938 kB / 0.5927 GB, free: 12.72 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 6.63e-05/1.001, allocations: 109.8 kB / 0.5928 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/1.002, allocations: 11.41 kB / 0.5928 GB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003173/1.002, allocations: 120.7 kB / 0.5929 GB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/1.002, allocations: 8.078 kB / 0.5929 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.002, allocations: 0 / 0.5929 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/1.002, allocations: 0 / 0.5929 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/1.002, allocations: 180.5 kB / 0.5931 GB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/1.002, allocations: 0 / 0.5931 GB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.745e-05/1.002, allocations: 15.98 kB / 0.5931 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/1.002, allocations: 3.938 kB / 0.5931 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/1.002, allocations: 4 kB / 0.5931 GB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/1.002, allocations: 3.953 kB / 0.5931 GB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.002, allocations: 4 kB / 0.5931 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/1.002, allocations: 146.1 kB / 0.5933 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/1.003, allocations: 96.2 kB / 0.5934 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/1.003, allocations: 8.016 kB / 0.5934 GB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.976e-05/1.003, allocations: 4 kB / 0.5934 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/1.003, allocations: 15.8 kB / 0.5934 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/1.003, allocations: 0 / 0.5934 GB, free: 11.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.465e-05/1.003, allocations: 90.89 kB / 0.5935 GB, free: 11.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.003, allocations: 3.938 kB / 0.5935 GB, free: 11.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007108/1.003, allocations: 194.2 kB / 0.5937 GB, free: 11.68 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.001197/1.005, allocations: 386.5 kB / 0.594 GB, free: 11.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001964/1.005, allocations: 54.34 kB / 0.5941 GB, free: 11.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.005, allocations: 0 / 0.5941 GB, free: 11.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.939e-05/1.005, allocations: 23.8 kB / 0.5941 GB, free: 11.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/1.005, allocations: 11.62 kB / 0.5941 GB, free: 11.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006065/1.006, allocations: 356.9 kB / 0.5944 GB, free: 10.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/1.006, allocations: 0.6926 MB / 0.5951 GB, free: 10.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.676e-05/1.006, allocations: 27.91 kB / 0.5952 GB, free: 10.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/1.006, allocations: 23.36 kB / 0.5952 GB, free: 10.09 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/1.006, allocations: 0 / 0.5952 GB, free: 10.09 MB / 378.7 MB Notification: Performance of Templates: time 0.007649/1.014, allocations: 3.581 MB / 0.5987 GB, free: 6.527 MB / 378.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