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: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_3_cpp_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_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.0008146/0.0008146, allocations: 174.5 kB / 16.72 MB, free: 5.051 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.146/1.146, allocations: 205.4 MB / 222.9 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.0006877/0.0006877, allocations: 96.91 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002875/0.0002875, allocations: 8 kB / 327.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1844, allocations: 47.57 MB / 375.2 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.0009719/0.1855, allocations: 1.068 MB / 376.2 MB, free: 44.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00544/0.1909, allocations: 6.633 MB / 382.9 MB, free: 39.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.988e-05/0.191, allocations: 0 / 382.9 MB, free: 39.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.191, allocations: 7.922 kB / 382.9 MB, free: 39.28 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008005/0.1918, allocations: 241.4 kB / 383.1 MB, free: 39.13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.1929, allocations: 0.5666 MB / 383.7 MB, free: 38.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.583e-05/0.193, allocations: 58.25 kB / 383.7 MB, free: 38.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.569e-05/0.1931, allocations: 2.219 kB / 383.7 MB, free: 38.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.18e-05/0.1932, allocations: 40.34 kB / 383.8 MB, free: 38.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006705/0.1938, allocations: 387.2 kB / 384.2 MB, free: 38.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.1939, allocations: 1.219 kB / 384.2 MB, free: 38.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009629/0.1948, allocations: 0.679 MB / 384.8 MB, free: 38.22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.1949, allocations: 10.36 kB / 384.9 MB, free: 38.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.539e-05/0.1949, allocations: 46.94 kB / 384.9 MB, free: 38.17 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000527/0.1954, allocations: 393 kB / 385.3 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.1954, allocations: 5.438 kB / 385.3 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1955, allocations: 0 / 385.3 MB, free: 37.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.1955, allocations: 0 / 385.3 MB, free: 37.98 MB / 298.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.0004206/0.1959, allocations: 450.7 kB / 385.7 MB, free: 37.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1959, allocations: 10.28 kB / 385.7 MB, free: 37.54 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.783e-05/0.196, allocations: 34.69 kB / 385.8 MB, free: 37.49 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.36e-05/0.196, allocations: 12.12 kB / 385.8 MB, free: 37.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.1962, allocations: 183.3 kB / 386 MB, free: 37.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1962, allocations: 9.547 kB / 386 MB, free: 37.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.1962, allocations: 2.625 kB / 386 MB, free: 37.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.1963, allocations: 70.36 kB / 386 MB, free: 37.2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1964, allocations: 0.8438 kB / 386 MB, free: 37.2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.1964, allocations: 0 / 386 MB, free: 37.2 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.1964, allocations: 1.031 kB / 386 MB, free: 37.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.065e-05/0.1964, allocations: 19.62 kB / 386.1 MB, free: 37.19 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001235/0.1966, allocations: 175 kB / 386.2 MB, free: 36.97 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.1968, allocations: 78.55 kB / 386.3 MB, free: 36.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.553e-05/0.1969, allocations: 30.17 kB / 386.3 MB, free: 36.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005706/0.1975, allocations: 1.544 MB / 387.9 MB, free: 35.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.25e-05/0.1975, allocations: 39.66 kB / 387.9 MB, free: 34.99 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1975, allocations: 0 / 387.9 MB, free: 34.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002384/0.1977, allocations: 80.44 kB / 388 MB, free: 34.94 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.1978, allocations: 78.17 kB / 388.1 MB, free: 34.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.022e-05/0.1978, allocations: 117 kB / 388.2 MB, free: 34.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.255e-06/0.1978, allocations: 29.7 kB / 388.2 MB, free: 34.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.808e-05/0.1979, allocations: 86.23 kB / 388.3 MB, free: 34.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.1979, allocations: 22.14 kB / 388.3 MB, free: 34.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-06/0.1979, allocations: 0 / 388.3 MB, free: 34.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.737e-05/0.198, allocations: 317.2 kB / 388.6 MB, free: 34.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.065e-05/0.198, allocations: 11.58 kB / 388.7 MB, free: 34.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.958e-05/0.1981, allocations: 37.2 kB / 388.7 MB, free: 34.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.1982, allocations: 63.98 kB / 388.8 MB, free: 34.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1982, allocations: 0 / 388.8 MB, free: 34.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001545/0.1983, allocations: 96.75 kB / 388.8 MB, free: 34.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1984, allocations: 5.312 kB / 388.9 MB, free: 34.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1984, allocations: 1.188 kB / 388.9 MB, free: 34.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1984, allocations: 2.219 kB / 388.9 MB, free: 34.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.985e-05/0.1985, allocations: 19.62 kB / 388.9 MB, free: 34.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1985, allocations: 6.109 kB / 388.9 MB, free: 34.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.142e-05/0.1985, allocations: 6.219 kB / 388.9 MB, free: 34.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.1986, allocations: 3.156 kB / 388.9 MB, free: 34.09 MB / 298.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 4.729e-05/0.1986, allocations: 115.8 kB / 389 MB, free: 33.97 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.1986, allocations: 10.88 kB / 389 MB, free: 33.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002845/0.1989, allocations: 124.7 kB / 389.1 MB, free: 33.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.1989, allocations: 1.844 kB / 389.1 MB, free: 33.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1989, allocations: 0 / 389.1 MB, free: 33.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.199, allocations: 5.484 kB / 389.1 MB, free: 33.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.403e-05/0.199, allocations: 169.1 kB / 389.3 MB, free: 33.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1991, allocations: 3.938 kB / 389.3 MB, free: 33.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.576e-05/0.1991, allocations: 17.61 kB / 389.3 MB, free: 33.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1991, allocations: 1.062 kB / 389.3 MB, free: 33.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.1992, allocations: 6.469 kB / 389.3 MB, free: 33.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1992, allocations: 0 / 389.3 MB, free: 33.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1992, allocations: 1.156 kB / 389.3 MB, free: 33.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.1994, allocations: 144.4 kB / 389.5 MB, free: 33.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.434e-05/0.1994, allocations: 100.4 kB / 389.6 MB, free: 33.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.1995, allocations: 1.031 kB / 389.6 MB, free: 33.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.91e-05/0.1995, allocations: 13.05 kB / 389.6 MB, free: 33.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.1996, allocations: 4.125 kB / 389.6 MB, free: 33.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.1996, allocations: 2.219 kB / 389.6 MB, free: 33.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.842e-05/0.1996, allocations: 90.11 kB / 389.7 MB, free: 33.33 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1996, allocations: 0 / 389.7 MB, free: 33.33 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004053/0.2, allocations: 168.5 kB / 389.8 MB, free: 33.29 MB / 298.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.0008485/0.2009, allocations: 0.9327 MB / 390.8 MB, free: 32.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.201, allocations: 48 kB / 390.8 MB, free: 32.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.201, allocations: 4.125 kB / 390.8 MB, free: 32.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.893e-05/0.2011, allocations: 36.14 kB / 390.9 MB, free: 32.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.2013, allocations: 8 kB / 390.9 MB, free: 32.24 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008461/0.2021, allocations: 0.7722 MB / 391.6 MB, free: 31.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.2023, allocations: 0.6857 MB / 392.3 MB, free: 30.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/0.2023, allocations: 27.42 kB / 392.4 MB, free: 30.67 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2023, allocations: 0 / 392.4 MB, free: 30.67 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.758/2.96, allocations: 3.695 MB / 396.1 MB, free: 26.97 MB / 298.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > 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