Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_0_0_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.001746/0.001753, allocations: 107.7 kB / 17.06 MB, free: 6.098 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.001964/0.001964, allocations: 197.4 kB / 18 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 47.92 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2289, allocations: 49.45 MB / 400.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002275/0.2312, allocations: 1.347 MB / 401.6 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005435/0.2367, allocations: 3.986 MB / 405.6 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.501e-05/0.2367, allocations: 0 / 405.6 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.129e-05/0.2367, allocations: 7.922 kB / 405.6 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009277/0.2377, allocations: 271 kB / 405.8 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.2388, allocations: 493 kB / 406.3 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.769e-05/0.2389, allocations: 67.58 kB / 406.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.35e-05/0.2389, allocations: 8 kB / 406.4 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.239, allocations: 43.84 kB / 406.4 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006925/0.2397, allocations: 351.3 kB / 406.8 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.2398, allocations: 4 kB / 406.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.2408, allocations: 0.5927 MB / 407.4 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.2408, allocations: 7.984 kB / 407.4 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.823e-05/0.2408, allocations: 27.86 kB / 407.4 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007531/0.2416, allocations: 450 kB / 407.9 MB, free: 1.164 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2416, allocations: 0 / 407.9 MB, free: 1.164 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2416, allocations: 0 / 407.9 MB, free: 1.164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.2416, allocations: 0 / 407.9 MB, free: 1.164 MB / 318.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.0005673/0.2422, allocations: 450.4 kB / 408.3 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.2423, allocations: 8.031 kB / 408.3 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.2423, allocations: 30.75 kB / 408.3 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.2423, allocations: 16.89 kB / 408.4 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.2426, allocations: 188.2 kB / 408.5 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.2426, allocations: 8.109 kB / 408.5 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.2426, allocations: 11.95 kB / 408.6 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.2428, allocations: 51.41 kB / 408.6 MB, free: 316 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.2428, allocations: 7.984 kB / 408.6 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.2428, allocations: 0 / 408.6 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2428, allocations: 0 / 408.6 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.447e-05/0.2429, allocations: 27.92 kB / 408.6 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.2431, allocations: 170.5 kB / 408.8 MB, free: 56 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.2434, allocations: 85.14 kB / 408.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.611e-05/0.2435, allocations: 29.7 kB / 408.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/0.2447, allocations: 1.54 MB / 410.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.2448, allocations: 34.56 kB / 410.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.2448, allocations: 0 / 410.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002913/0.2451, allocations: 81.59 kB / 410.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.2451, allocations: 77.11 kB / 410.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.2452, allocations: 117.8 kB / 410.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.2453, allocations: 25.7 kB / 410.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.2453, allocations: 84.14 kB / 410.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.2454, allocations: 27.73 kB / 410.9 MB, free: 13.53 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.2454, allocations: 17.72 kB / 410.9 MB, free: 13.51 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.2455, allocations: 322.8 kB / 411.2 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.241e-05/0.2456, allocations: 15.98 kB / 411.2 MB, free: 13.17 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.747e-05/0.2457, allocations: 39.42 kB / 411.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.2458, allocations: 55.36 kB / 411.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.2459, allocations: 11.88 kB / 411.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000195/0.2461, allocations: 81.58 kB / 411.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2461, allocations: 10.66 kB / 411.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2461, allocations: 0 / 411.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.2461, allocations: 0 / 411.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.757e-05/0.2462, allocations: 19.98 kB / 411.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.2462, allocations: 0 / 411.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.679e-05/0.2462, allocations: 11.95 kB / 411.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.2463, allocations: 0 / 411.5 MB, free: 12.91 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 9.312e-05/0.2464, allocations: 121.7 kB / 411.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.763e-05/0.2464, allocations: 8.031 kB / 411.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003528/0.2467, allocations: 121.5 kB / 411.7 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.2468, allocations: 4 kB / 411.7 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2468, allocations: 0.5625 kB / 411.7 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2468, allocations: 0 / 411.7 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.247, allocations: 185.5 kB / 411.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.247, allocations: 0 / 411.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.163e-05/0.2471, allocations: 19.98 kB / 411.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.289e-06/0.2471, allocations: 4 kB / 411.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.2471, allocations: 0 / 411.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2471, allocations: 0 / 411.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2471, allocations: 0 / 411.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.2474, allocations: 149.8 kB / 412.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-05/0.2475, allocations: 89.19 kB / 412.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.2475, allocations: 3.984 kB / 412.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.199e-05/0.2475, allocations: 11.94 kB / 412.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.2476, allocations: 0 / 412.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.2476, allocations: 7.984 kB / 412.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.57e-05/0.2477, allocations: 87.83 kB / 412.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2477, allocations: 0 / 412.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003998/0.2481, allocations: 135.5 kB / 412.4 MB, free: 11.88 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.001115/0.2492, allocations: 0.8743 MB / 413.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.2494, allocations: 47.91 kB / 413.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2494, allocations: 128 / 413.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.796e-05/0.2495, allocations: 31.92 kB / 413.4 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.2497, allocations: 13.48 kB / 413.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.2514, allocations: 1.503 MB / 414.9 MB, free: 9.281 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.2517, allocations: 0.6846 MB / 415.6 MB, free: 8.57 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.246e-05/0.2518, allocations: 39.73 kB / 415.6 MB, free: 8.535 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.288e-05/0.2518, allocations: 27.42 kB / 415.6 MB, free: 8.508 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2518, allocations: 0 / 415.6 MB, free: 8.508 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02763/0.2795, allocations: 4.372 MB / 420 MB, free: 4.293 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.993/8.272, allocations: 6.688 kB / 420 MB, free: 4.293 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches