Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.00161/0.00161, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001972/0.001972, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 59.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2293, allocations: 50.54 MB / 408.7 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002376/0.2317, allocations: 1.384 MB / 410.1 MB, free: 184 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005465/0.2372, allocations: 4.031 MB / 414.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/0.2372, allocations: 0 / 414.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.456e-05/0.2373, allocations: 3.984 kB / 414.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008917/0.2382, allocations: 274.9 kB / 414.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.2392, allocations: 498.3 kB / 414.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.47e-05/0.2393, allocations: 59.66 kB / 415 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.2394, allocations: 4 kB / 415 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.2395, allocations: 39.84 kB / 415 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006789/0.2402, allocations: 359.3 kB / 415.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.2402, allocations: 4 kB / 415.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009498/0.2411, allocations: 0.5977 MB / 416 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.2412, allocations: 8 kB / 416 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.2412, allocations: 15.88 kB / 416 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006845/0.2419, allocations: 469.9 kB / 416.5 MB, free: 9.828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2419, allocations: 0 / 416.5 MB, free: 9.828 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2419, allocations: 0 / 416.5 MB, free: 9.828 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.2419, allocations: 0 / 416.5 MB, free: 9.828 MB / 334.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.0005723/0.2425, allocations: 450.3 kB / 416.9 MB, free: 9.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.2425, allocations: 8.031 kB / 416.9 MB, free: 9.332 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.689e-05/0.2426, allocations: 38.73 kB / 416.9 MB, free: 9.285 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.2426, allocations: 4.938 kB / 416.9 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.2429, allocations: 184.3 kB / 417.1 MB, free: 9.062 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.2429, allocations: 8.125 kB / 417.1 MB, free: 9.055 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.2429, allocations: 4 kB / 417.1 MB, free: 9.051 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.2431, allocations: 63.33 kB / 417.2 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.2431, allocations: 0 / 417.2 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.2431, allocations: 4 kB / 417.2 MB, free: 8.973 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.2431, allocations: 0 / 417.2 MB, free: 8.973 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.328e-05/0.2432, allocations: 19.98 kB / 417.2 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/0.2434, allocations: 170.6 kB / 417.4 MB, free: 8.734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.2437, allocations: 81.06 kB / 417.5 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.429e-05/0.2438, allocations: 25.77 kB / 417.5 MB, free: 8.605 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001175/0.2449, allocations: 1.544 MB / 419 MB, free: 6.711 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.245, allocations: 38.5 kB / 419.1 MB, free: 6.664 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 3.056e-06/0.245, allocations: 0 / 419.1 MB, free: 6.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002819/0.2453, allocations: 81.92 kB / 419.2 MB, free: 6.578 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.2454, allocations: 85.05 kB / 419.2 MB, free: 6.477 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.2455, allocations: 109.8 kB / 419.3 MB, free: 6.359 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.2455, allocations: 29.7 kB / 419.4 MB, free: 6.324 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.091e-05/0.2455, allocations: 88.12 kB / 419.5 MB, free: 6.234 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.257e-05/0.2456, allocations: 23.8 kB / 419.5 MB, free: 6.211 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.2456, allocations: 21.7 kB / 419.5 MB, free: 6.184 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.2458, allocations: 318.8 kB / 419.8 MB, free: 5.863 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.687e-05/0.2458, allocations: 11.98 kB / 419.8 MB, free: 5.852 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.59e-05/0.2459, allocations: 43.7 kB / 419.9 MB, free: 5.797 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.2461, allocations: 59.36 kB / 419.9 MB, free: 5.727 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2461, allocations: 3.938 kB / 419.9 MB, free: 5.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001857/0.2463, allocations: 85.56 kB / 420 MB, free: 5.633 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.2463, allocations: 8 kB / 420 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2463, allocations: 7.922 kB / 420 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.2463, allocations: 4.062 kB / 420 MB, free: 5.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.846e-05/0.2464, allocations: 19.94 kB / 420.1 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2464, allocations: 0 / 420.1 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.648e-05/0.2465, allocations: 7.984 kB / 420.1 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.2465, allocations: 4 kB / 420.1 MB, free: 5.582 MB / 334.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 8.856e-05/0.2466, allocations: 117.8 kB / 420.2 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.2466, allocations: 7.953 kB / 420.2 MB, free: 5.449 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003438/0.2469, allocations: 124.7 kB / 420.3 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.247, allocations: 0 / 420.3 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.247, allocations: 4 kB / 420.3 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.247, allocations: 3.938 kB / 420.3 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.2471, allocations: 177.6 kB / 420.5 MB, free: 5.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2472, allocations: 0 / 420.5 MB, free: 5.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.835e-05/0.2472, allocations: 15.98 kB / 420.5 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.2473, allocations: 4 kB / 420.5 MB, free: 5.066 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.2473, allocations: 4 kB / 420.5 MB, free: 5.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2473, allocations: 0 / 420.5 MB, free: 5.062 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2473, allocations: 0 / 420.5 MB, free: 5.062 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.2476, allocations: 145.8 kB / 420.7 MB, free: 4.898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.375e-05/0.2477, allocations: 93.08 kB / 420.7 MB, free: 4.789 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.2477, allocations: 0 / 420.7 MB, free: 4.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.191e-05/0.2477, allocations: 8.062 kB / 420.8 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.2478, allocations: 3.984 kB / 420.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.2478, allocations: 7.938 kB / 420.8 MB, free: 4.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.35e-05/0.2478, allocations: 87.28 kB / 420.9 MB, free: 4.684 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2479, allocations: 0 / 420.9 MB, free: 4.684 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004149/0.2483, allocations: 139.5 kB / 421 MB, free: 4.547 MB / 334.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.001091/0.2494, allocations: 0.8693 MB / 421.9 MB, free: 3.652 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.2496, allocations: 43.91 kB / 421.9 MB, free: 3.609 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2496, allocations: 4 kB / 421.9 MB, free: 3.605 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.237e-05/0.2497, allocations: 24.27 kB / 421.9 MB, free: 3.582 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.2499, allocations: 20.12 kB / 421.9 MB, free: 3.562 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.2516, allocations: 1.51 MB / 423.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.252, allocations: 0.6846 MB / 424.1 MB, free: 1.234 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.153e-05/0.252, allocations: 31.09 kB / 424.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/0.2521, allocations: 31.45 kB / 424.2 MB, free: 1.18 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2521, allocations: 3.938 kB / 424.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.28, allocations: 4.432 MB / 428.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.932/8.212, allocations: 11.09 kB / 428.6 MB, free: 12.89 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/InverseIncompressible_sh_T/InverseIncompressible_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches