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.001597/0.001597, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.18/2.18, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001143/0.001142, allocations: 87.77 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.046e-05/2.065e-05, allocations: 4 kB / 314.8 MB, free: 9.164 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3673, allocations: 47.57 MB / 362.3 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5822/0.9496, allocations: 189.4 MB / 0.5388 GB, free: 87.48 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.9499, allocations: 75.08 kB / 0.5388 GB, free: 87.46 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1441/1.094, allocations: 36.74 MB / 0.5747 GB, free: 60.03 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.433e-06/1.094, allocations: 1.5 kB / 0.5747 GB, free: 60.03 MB / 395.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/1.094, allocations: 4 kB / 0.5747 GB, free: 60.02 MB / 395.1 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.000907/1.095, allocations: 493 kB / 0.5752 GB, free: 59.5 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/1.095, allocations: 8.031 kB / 0.5752 GB, free: 59.5 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/1.095, allocations: 4 kB / 0.5752 GB, free: 59.49 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/1.095, allocations: 186.4 kB / 0.5754 GB, free: 59.28 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/1.095, allocations: 3.953 kB / 0.5754 GB, free: 59.27 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/1.095, allocations: 8 kB / 0.5754 GB, free: 59.27 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.135e-05/1.096, allocations: 8 kB / 0.5754 GB, free: 59.26 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.987e-05/1.096, allocations: 58.95 kB / 0.5755 GB, free: 59.19 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/1.096, allocations: 0 / 0.5755 GB, free: 59.19 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/1.096, allocations: 0 / 0.5755 GB, free: 59.19 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/1.096, allocations: 4 kB / 0.5755 GB, free: 59.19 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/1.096, allocations: 150.4 kB / 0.5756 GB, free: 59.01 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/1.096, allocations: 80.25 kB / 0.5757 GB, free: 58.92 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/1.096, allocations: 17.78 kB / 0.5757 GB, free: 58.89 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00121/1.097, allocations: 1.898 MB / 0.5775 GB, free: 56.6 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/1.097, allocations: 30.56 kB / 0.5776 GB, free: 56.56 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.745e-06/1.097, allocations: 4 kB / 0.5776 GB, free: 56.56 MB / 395.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009087/1.098, allocations: 132.7 kB / 0.5777 GB, free: 56.43 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/1.098, allocations: 77.11 kB / 0.5778 GB, free: 56.34 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.76e-05/1.099, allocations: 106 kB / 0.5779 GB, free: 56.23 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/1.099, allocations: 25.7 kB / 0.5779 GB, free: 56.2 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.776e-05/1.099, allocations: 154 kB / 0.5781 GB, free: 56.05 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/1.099, allocations: 18.97 kB / 0.5781 GB, free: 56.04 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/1.099, allocations: 0 / 0.5781 GB, free: 56.04 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 6.491e-05/1.099, allocations: 318.8 kB / 0.5784 GB, free: 55.71 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.16e-05/1.099, allocations: 11.31 kB / 0.5784 GB, free: 55.71 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.553e-05/1.099, allocations: 26.69 kB / 0.5784 GB, free: 55.67 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006114/1.099, allocations: 75.16 kB / 0.5785 GB, free: 55.6 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.1, allocations: 0 / 0.5785 GB, free: 55.6 MB / 395.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007186/1.1, allocations: 144 kB / 0.5786 GB, free: 55.46 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/1.1, allocations: 5.031 kB / 0.5786 GB, free: 55.46 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/1.1, allocations: 3.953 kB / 0.5786 GB, free: 55.46 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/1.1, allocations: 4 kB / 0.5786 GB, free: 55.45 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/1.1, allocations: 15.98 kB / 0.5786 GB, free: 55.44 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/1.1, allocations: 0 / 0.5786 GB, free: 55.44 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.977e-05/1.101, allocations: 11.88 kB / 0.5787 GB, free: 55.43 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/1.101, allocations: 8.922 kB / 0.5787 GB, free: 55.42 MB / 395.1 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 6.142e-05/1.101, allocations: 101 kB / 0.5788 GB, free: 55.31 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/1.101, allocations: 11.94 kB / 0.5788 GB, free: 55.3 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008939/1.102, allocations: 171.8 kB / 0.5789 GB, free: 55.14 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/1.102, allocations: 3.953 kB / 0.5789 GB, free: 55.14 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.102, allocations: 6.25 kB / 0.5789 GB, free: 55.13 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.102, allocations: 4 kB / 0.579 GB, free: 55.13 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/1.102, allocations: 145.2 kB / 0.5791 GB, free: 54.96 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/1.102, allocations: 3.984 kB / 0.5791 GB, free: 54.95 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/1.102, allocations: 16 kB / 0.5791 GB, free: 54.94 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/1.102, allocations: 0 / 0.5791 GB, free: 54.94 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/1.102, allocations: 7.5 kB / 0.5791 GB, free: 54.93 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/1.102, allocations: 0 / 0.5791 GB, free: 54.93 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.102, allocations: 0 / 0.5791 GB, free: 54.93 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008318/1.103, allocations: 201.5 kB / 0.5793 GB, free: 54.73 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.247e-05/1.103, allocations: 107.8 kB / 0.5794 GB, free: 54.61 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/1.103, allocations: 0 / 0.5794 GB, free: 54.61 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.89e-05/1.103, allocations: 4 kB / 0.5794 GB, free: 54.61 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/1.103, allocations: 7.938 kB / 0.5794 GB, free: 54.6 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/1.103, allocations: 4 kB / 0.5794 GB, free: 54.59 MB / 395.1 MB Notification: Performance of sorting global known variables: time 4.352e-05/1.103, allocations: 87.78 kB / 0.5795 GB, free: 54.51 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.21e-07/1.103, allocations: 0 / 0.5795 GB, free: 54.51 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0007895/1.104, allocations: 191.1 kB / 0.5797 GB, free: 54.33 MB / 395.1 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.001065/1.105, allocations: 394.2 kB / 0.5801 GB, free: 53.96 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001532/1.105, allocations: 39.78 kB / 0.5801 GB, free: 53.93 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/1.105, allocations: 0 / 0.5801 GB, free: 53.93 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.917e-05/1.105, allocations: 23.25 kB / 0.5801 GB, free: 53.91 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/1.106, allocations: 11.98 kB / 0.5801 GB, free: 53.9 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005128/1.106, allocations: 243.4 kB / 0.5804 GB, free: 53.63 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/1.106, allocations: 0.6962 MB / 0.5811 GB, free: 52.91 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.003e-05/1.106, allocations: 27.36 kB / 0.5811 GB, free: 52.89 MB / 395.1 MB Notification: Performance of SimCode: time 7.41e-07/1.106, allocations: 0 / 0.5811 GB, free: 52.89 MB / 395.1 MB Notification: Performance of Templates: time 0.009422/1.116, allocations: 3.823 MB / 0.5848 GB, free: 49.07 MB / 395.1 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