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.001514/0.001514, allocations: 181.2 kB / 17.41 MB, free: 4.402 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.675/1.675, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0008266/0.0008268, allocations: 92.94 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003203, allocations: 16 kB / 328.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.305, allocations: 47.58 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4566/0.7617, allocations: 190.2 MB / 0.5526 GB, free: 50.35 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.762, allocations: 80.7 kB / 0.5527 GB, free: 50.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07376/0.8358, allocations: 34.84 MB / 0.5867 GB, free: 20.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.8359, allocations: 0 / 0.5867 GB, free: 20.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.8359, allocations: 0 / 0.5867 GB, free: 20.66 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.0008325/0.8367, allocations: 0.5009 MB / 0.5872 GB, free: 20.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.8368, allocations: 8.031 kB / 0.5872 GB, free: 20.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.8368, allocations: 8.844 kB / 0.5872 GB, free: 20.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.837, allocations: 176 kB / 0.5874 GB, free: 19.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.8371, allocations: 19.73 kB / 0.5874 GB, free: 19.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.8371, allocations: 4.281 kB / 0.5874 GB, free: 19.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.8372, allocations: 63.7 kB / 0.5875 GB, free: 19.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.8372, allocations: 192 / 0.5875 GB, free: 19.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.8373, allocations: 7.438 kB / 0.5875 GB, free: 19.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.8373, allocations: 4 kB / 0.5875 GB, free: 19.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.11e-05/0.8374, allocations: 11.98 kB / 0.5875 GB, free: 19.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.8375, allocations: 177.6 kB / 0.5877 GB, free: 19.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.8378, allocations: 80.38 kB / 0.5878 GB, free: 19.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.854e-05/0.8379, allocations: 25.14 kB / 0.5878 GB, free: 19.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008817/0.8388, allocations: 1.901 MB / 0.5896 GB, free: 17.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.8388, allocations: 38.5 kB / 0.5897 GB, free: 17.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.8388, allocations: 0 / 0.5897 GB, free: 17.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002657/0.8391, allocations: 80.28 kB / 0.5898 GB, free: 17.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.8391, allocations: 85.05 kB / 0.5898 GB, free: 16.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.823e-05/0.8392, allocations: 109.2 kB / 0.5899 GB, free: 16.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.8392, allocations: 25.7 kB / 0.59 GB, free: 16.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.449e-05/0.8392, allocations: 91.69 kB / 0.5901 GB, free: 16.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.8393, allocations: 19.34 kB / 0.5901 GB, free: 16.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.8393, allocations: 0 / 0.5901 GB, free: 16.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.339e-05/0.8393, allocations: 318.2 kB / 0.5904 GB, free: 16.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.744e-05/0.8394, allocations: 11.62 kB / 0.5904 GB, free: 16.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.898e-05/0.8395, allocations: 38.92 kB / 0.5904 GB, free: 16.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.8396, allocations: 62.53 kB / 0.5905 GB, free: 16.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8396, allocations: 0 / 0.5905 GB, free: 16.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001478/0.8398, allocations: 84.42 kB / 0.5906 GB, free: 16.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.8398, allocations: 6.969 kB / 0.5906 GB, free: 16.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.8398, allocations: 7.922 kB / 0.5906 GB, free: 16.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.8398, allocations: 8.062 kB / 0.5906 GB, free: 16.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.276e-05/0.8399, allocations: 19.92 kB / 0.5906 GB, free: 16.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.8399, allocations: 0 / 0.5906 GB, free: 16.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.082e-05/0.8399, allocations: 7.938 kB / 0.5906 GB, free: 16.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.84, allocations: 3.938 kB / 0.5906 GB, free: 16.12 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 5.572e-05/0.84, allocations: 113.8 kB / 0.5907 GB, free: 16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.84, allocations: 7.906 kB / 0.5907 GB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.8403, allocations: 135.4 kB / 0.5909 GB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.8403, allocations: 7.938 kB / 0.5909 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8404, allocations: 0 / 0.5909 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.8404, allocations: 0 / 0.5909 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.806e-05/0.8405, allocations: 172.3 kB / 0.591 GB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.8405, allocations: 0 / 0.591 GB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.364e-05/0.8406, allocations: 15.56 kB / 0.5911 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.8406, allocations: 7.984 kB / 0.5911 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.8406, allocations: 7.938 kB / 0.5911 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.8406, allocations: 0 / 0.5911 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8406, allocations: 0 / 0.5911 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.8408, allocations: 139.4 kB / 0.5912 GB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-05/0.8409, allocations: 96.64 kB / 0.5913 GB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.8409, allocations: 3.938 kB / 0.5913 GB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.82e-05/0.841, allocations: 8.062 kB / 0.5913 GB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.841, allocations: 3.984 kB / 0.5913 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.841, allocations: 7.812 kB / 0.5913 GB, free: 15.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.021e-05/0.8411, allocations: 86.91 kB / 0.5914 GB, free: 15.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.8411, allocations: 0 / 0.5914 GB, free: 15.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005764/0.8416, allocations: 194.5 kB / 0.5916 GB, free: 15.1 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.0007091/0.8424, allocations: 380 kB / 0.5919 GB, free: 14.72 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.8425, allocations: 47.41 kB / 0.592 GB, free: 14.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8426, allocations: 0 / 0.592 GB, free: 14.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.827e-05/0.8426, allocations: 34.98 kB / 0.592 GB, free: 14.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.8429, allocations: 9.234 kB / 0.592 GB, free: 14.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005454/0.8434, allocations: 386.1 kB / 0.5924 GB, free: 14.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.8436, allocations: 0.6857 MB / 0.5931 GB, free: 13.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.505e-05/0.8437, allocations: 23.42 kB / 0.5931 GB, free: 13.52 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.8437, allocations: 0 / 0.5931 GB, free: 13.52 MB / 378.7 MB Notification: Performance of Templates: time 0.00558/0.8493, allocations: 3.488 MB / 0.5965 GB, free: 10.02 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