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.001231/0.001231, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001283/0.001283, allocations: 199.9 kB / 18.73 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.29/1.29, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 55.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2346, allocations: 50.54 MB / 408.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002045/0.2367, allocations: 1.374 MB / 410.1 MB, free: 164 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004416/0.2411, allocations: 4.027 MB / 414.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.709e-05/0.2411, allocations: 0 / 414.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.003e-05/0.2412, allocations: 7.922 kB / 414.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008554/0.2421, allocations: 279 kB / 414.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009242/0.243, allocations: 0.5018 MB / 414.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.887e-05/0.2431, allocations: 55.66 kB / 415 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.14e-05/0.2431, allocations: 4 kB / 415 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.903e-05/0.2432, allocations: 43.84 kB / 415 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005788/0.2438, allocations: 355.3 kB / 415.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.2438, allocations: 4 kB / 415.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008327/0.2447, allocations: 0.5966 MB / 416 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.2447, allocations: 7.984 kB / 416 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.2447, allocations: 23.88 kB / 416 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006233/0.2454, allocations: 458 kB / 416.5 MB, free: 9.801 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.2454, allocations: 0 / 416.5 MB, free: 9.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2454, allocations: 0 / 416.5 MB, free: 9.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.2454, allocations: 0 / 416.5 MB, free: 9.801 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.0004705/0.2459, allocations: 454.3 kB / 416.9 MB, free: 9.309 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.2459, allocations: 8.031 kB / 416.9 MB, free: 9.301 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.841e-05/0.2459, allocations: 38.67 kB / 416.9 MB, free: 9.254 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.823e-05/0.246, allocations: 4.938 kB / 417 MB, free: 9.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.2462, allocations: 192.3 kB / 417.1 MB, free: 9.023 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.2462, allocations: 4.125 kB / 417.1 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.2462, allocations: 4 kB / 417.1 MB, free: 9.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.2463, allocations: 55.39 kB / 417.2 MB, free: 8.949 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.2464, allocations: 4 kB / 417.2 MB, free: 8.945 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.2464, allocations: 4 kB / 417.2 MB, free: 8.941 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.2464, allocations: 0 / 417.2 MB, free: 8.941 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.688e-05/0.2465, allocations: 19.92 kB / 417.2 MB, free: 8.922 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.2466, allocations: 174.6 kB / 417.4 MB, free: 8.699 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.2469, allocations: 81.06 kB / 417.5 MB, free: 8.602 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.981e-05/0.247, allocations: 21.78 kB / 417.5 MB, free: 8.574 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008237/0.2478, allocations: 1.544 MB / 419 MB, free: 6.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.2478, allocations: 42.5 kB / 419.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.2478, allocations: 0 / 419.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002706/0.2481, allocations: 85.55 kB / 419.2 MB, free: 6.539 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.2482, allocations: 77.11 kB / 419.2 MB, free: 6.445 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.635e-05/0.2482, allocations: 109.8 kB / 419.4 MB, free: 6.328 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.2483, allocations: 29.7 kB / 419.4 MB, free: 6.293 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.623e-05/0.2483, allocations: 88.12 kB / 419.5 MB, free: 6.203 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.2483, allocations: 23.8 kB / 419.5 MB, free: 6.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.2484, allocations: 17.72 kB / 419.5 MB, free: 6.156 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.371e-05/0.2485, allocations: 318.8 kB / 419.8 MB, free: 5.836 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.934e-05/0.2485, allocations: 19.98 kB / 419.8 MB, free: 5.816 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.794e-05/0.2486, allocations: 43.36 kB / 419.9 MB, free: 5.762 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.2487, allocations: 55.73 kB / 419.9 MB, free: 5.695 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2487, allocations: 7.938 kB / 419.9 MB, free: 5.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001792/0.2489, allocations: 85.55 kB / 420 MB, free: 5.598 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.2489, allocations: 8.062 kB / 420 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.249, allocations: 0 / 420 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.249, allocations: 7.938 kB / 420 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.893e-05/0.249, allocations: 19.98 kB / 420.1 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2491, allocations: 0 / 420.1 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.32e-05/0.2491, allocations: 4 kB / 420.1 MB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.2491, allocations: 3.984 kB / 420.1 MB, free: 5.555 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 6.966e-05/0.2492, allocations: 125.7 kB / 420.2 MB, free: 5.422 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.2492, allocations: 7.953 kB / 420.2 MB, free: 5.414 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000329/0.2496, allocations: 120.9 kB / 420.3 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.2496, allocations: 4 kB / 420.3 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.2496, allocations: 0 / 420.3 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.2496, allocations: 0 / 420.3 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.2497, allocations: 177.6 kB / 420.5 MB, free: 5.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2497, allocations: 0 / 420.5 MB, free: 5.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.478e-05/0.2498, allocations: 11.98 kB / 420.5 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2498, allocations: 8 kB / 420.5 MB, free: 5.039 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.2498, allocations: 4 kB / 420.5 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2499, allocations: 3.938 kB / 420.5 MB, free: 5.031 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2499, allocations: 0 / 420.5 MB, free: 5.031 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.2501, allocations: 142.3 kB / 420.7 MB, free: 4.871 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.2502, allocations: 89.08 kB / 420.7 MB, free: 4.766 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.2502, allocations: 8.062 kB / 420.8 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.097e-05/0.2503, allocations: 4 kB / 420.8 MB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.2503, allocations: 7.984 kB / 420.8 MB, free: 4.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.2503, allocations: 7.938 kB / 420.8 MB, free: 4.738 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.193e-05/0.2504, allocations: 91.34 kB / 420.9 MB, free: 4.648 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2504, allocations: 0 / 420.9 MB, free: 4.648 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003655/0.2507, allocations: 139.5 kB / 421 MB, free: 4.512 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.0009235/0.2517, allocations: 0.8691 MB / 421.9 MB, free: 3.617 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001749/0.2518, allocations: 47.91 kB / 421.9 MB, free: 3.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2519, allocations: 0 / 421.9 MB, free: 3.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.273e-05/0.2519, allocations: 40.05 kB / 422 MB, free: 3.531 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.2521, allocations: 7.375 kB / 422 MB, free: 3.527 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.2536, allocations: 1.52 MB / 423.5 MB, free: 1.906 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.2538, allocations: 0.6846 MB / 424.2 MB, free: 1.195 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.931e-05/0.2539, allocations: 27.59 kB / 424.2 MB, free: 1.172 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.535e-05/0.254, allocations: 23.52 kB / 424.2 MB, free: 1.148 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.254, allocations: 3.938 kB / 424.2 MB, free: 1.145 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.2782, allocations: 4.428 MB / 428.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.446/7.725, allocations: 7.797 kB / 428.7 MB, free: 12.86 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.0.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