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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 96.39 kB / 17.58 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002117/0.002117, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.636/2.636, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 52.25 kB / 280.7 MB, free: 3.094 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1385, allocations: 46.64 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.004716/0.1433, allocations: 1.345 MB / 328.7 MB, free: 3.023 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01814/0.1615, allocations: 7.145 MB / 335.9 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.636e-05/0.1617, allocations: 4 kB / 335.9 MB, free: 11.83 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.1618, allocations: 7.922 kB / 335.9 MB, free: 11.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001958/0.1638, allocations: 271 kB / 336.1 MB, free: 11.56 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003794/0.1676, allocations: 0.6894 MB / 336.8 MB, free: 10.87 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.1679, allocations: 55.73 kB / 336.9 MB, free: 10.81 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.168, allocations: 3.984 kB / 336.9 MB, free: 10.81 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.1682, allocations: 39.84 kB / 336.9 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001445/0.1697, allocations: 363.3 kB / 337.3 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.1697, allocations: 0 / 337.3 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002701/0.1725, allocations: 0.7175 MB / 338 MB, free: 9.695 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.484e-05/0.1725, allocations: 11.92 kB / 338 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.716e-05/0.1726, allocations: 11.94 kB / 338 MB, free: 9.672 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001988/0.1746, allocations: 0.5614 MB / 338.6 MB, free: 9.109 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.174e-05/0.1746, allocations: 3.984 kB / 338.6 MB, free: 9.105 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1747, allocations: 4 kB / 338.6 MB, free: 9.102 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.1747, allocations: 0 / 338.6 MB, free: 9.102 MB / 286.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.001061/0.1758, allocations: 463.1 kB / 339 MB, free: 8.602 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.367e-05/0.1758, allocations: 12.03 kB / 339.1 MB, free: 8.59 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.633e-05/0.1759, allocations: 34.75 kB / 339.1 MB, free: 8.547 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.527e-05/0.176, allocations: 8.938 kB / 339.1 MB, free: 8.539 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.1764, allocations: 188.2 kB / 339.3 MB, free: 8.316 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.1764, allocations: 384 / 339.3 MB, free: 8.316 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.1765, allocations: 4.375 kB / 339.3 MB, free: 8.312 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.1768, allocations: 71.27 kB / 339.4 MB, free: 8.23 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1768, allocations: 0 / 339.4 MB, free: 8.23 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.1768, allocations: 0 / 339.4 MB, free: 8.23 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.1768, allocations: 4 kB / 339.4 MB, free: 8.227 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.177, allocations: 19.92 kB / 339.4 MB, free: 8.207 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.1774, allocations: 178.5 kB / 339.6 MB, free: 7.98 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000753/0.1782, allocations: 77.12 kB / 339.6 MB, free: 7.887 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.1784, allocations: 25.77 kB / 339.7 MB, free: 7.855 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002465/0.1808, allocations: 1.548 MB / 341.2 MB, free: 5.957 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/0.1809, allocations: 38.56 kB / 341.2 MB, free: 5.91 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 2.004e-06/0.1809, allocations: 0 / 341.2 MB, free: 5.91 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004721/0.1814, allocations: 81.5 kB / 341.3 MB, free: 5.824 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001554/0.1816, allocations: 81.11 kB / 341.4 MB, free: 5.727 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.1818, allocations: 121.8 kB / 341.5 MB, free: 5.598 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.1818, allocations: 25.7 kB / 341.5 MB, free: 5.566 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.318e-05/0.1819, allocations: 80.14 kB / 341.6 MB, free: 5.484 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.332e-05/0.182, allocations: 23.66 kB / 341.6 MB, free: 5.461 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.368e-05/0.182, allocations: 25.7 kB / 341.7 MB, free: 5.43 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.1822, allocations: 318.8 kB / 342 MB, free: 5.109 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.474e-05/0.1824, allocations: 11.98 kB / 342 MB, free: 5.098 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.1825, allocations: 35.42 kB / 342 MB, free: 5.051 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.1827, allocations: 63.36 kB / 342.1 MB, free: 4.977 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1828, allocations: 0 / 342.1 MB, free: 4.977 MB / 286.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003515/0.1831, allocations: 85.53 kB / 342.2 MB, free: 4.887 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.772e-05/0.1832, allocations: 8 kB / 342.2 MB, free: 4.879 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.1832, allocations: 0 / 342.2 MB, free: 4.879 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/0.1832, allocations: 0 / 342.2 MB, free: 4.879 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.1834, allocations: 15.94 kB / 342.2 MB, free: 4.863 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-05/0.1834, allocations: 12.05 kB / 342.2 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.895e-05/0.1835, allocations: 3.906 kB / 342.2 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.1836, allocations: 8 kB / 342.2 MB, free: 4.84 MB / 286.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001933/0.1838, allocations: 109.8 kB / 342.3 MB, free: 4.723 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/0.1839, allocations: 7.938 kB / 342.3 MB, free: 4.715 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008117/0.1847, allocations: 121.4 kB / 342.5 MB, free: 4.594 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.1847, allocations: 0 / 342.5 MB, free: 4.594 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.768e-05/0.1848, allocations: 4 kB / 342.5 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.1848, allocations: 4.547 kB / 342.5 MB, free: 4.586 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003449/0.1851, allocations: 173.5 kB / 342.6 MB, free: 4.367 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/0.1852, allocations: 3.938 kB / 342.6 MB, free: 4.363 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.1853, allocations: 19.92 kB / 342.7 MB, free: 4.344 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.1854, allocations: 3.938 kB / 342.7 MB, free: 4.34 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.1854, allocations: 4 kB / 342.7 MB, free: 4.336 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1854, allocations: 0 / 342.7 MB, free: 4.336 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1854, allocations: 4 kB / 342.7 MB, free: 4.332 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006087/0.1861, allocations: 145.8 kB / 342.8 MB, free: 4.168 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003287/0.1864, allocations: 96.97 kB / 342.9 MB, free: 4.055 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.1865, allocations: 0 / 342.9 MB, free: 4.055 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.712e-05/0.1866, allocations: 0 / 342.9 MB, free: 4.055 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.1867, allocations: 19.98 kB / 342.9 MB, free: 4.035 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.1867, allocations: 4 kB / 342.9 MB, free: 4.031 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.1868, allocations: 91.81 kB / 343 MB, free: 3.941 MB / 286.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1868, allocations: 0 / 343 MB, free: 3.941 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.001251/0.1881, allocations: 167.9 kB / 343.2 MB, free: 3.777 MB / 286.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002311/0.1904, allocations: 0.9405 MB / 344.1 MB, free: 2.812 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003588/0.1908, allocations: 55.84 kB / 344.2 MB, free: 2.758 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1908, allocations: 0 / 344.2 MB, free: 2.758 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.191, allocations: 24.11 kB / 344.2 MB, free: 2.734 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.1914, allocations: 12 kB / 344.2 MB, free: 2.723 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/0.1949, allocations: 1.515 MB / 345.7 MB, free: 1.102 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.1953, allocations: 0.6846 MB / 346.4 MB, free: 400 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.1955, allocations: 39.62 kB / 346.5 MB, free: 360 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.934e-05/0.1956, allocations: 27.52 kB / 346.5 MB, free: 332 kB / 286.1 MB Notification: Performance of SimCode: time 1.323e-06/0.1956, allocations: 3.938 kB / 346.5 MB, free: 328 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04422/0.2399, allocations: 5.133 MB / 351.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.16, allocations: 4.391 kB / 351.6 MB, free: 11.12 MB / 302.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > 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.csv","/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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