Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_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.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_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.001797/0.001797, allocations: 99.02 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.002064/0.002064, 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.689/2.689, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.002323/0.002323, allocations: 48.3 kB / 280.7 MB, free: 3.086 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.159, allocations: 46.64 MB / 327.4 MB, free: 4.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.005555/0.1646, allocations: 1.345 MB / 328.7 MB, free: 3.016 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.02429/0.189, allocations: 12.08 MB / 340.8 MB, free: 6.875 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.939e-05/0.1892, allocations: 3.938 kB / 340.8 MB, free: 6.871 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.033e-05/0.1893, allocations: 4 kB / 340.8 MB, free: 6.867 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006378/0.1957, allocations: 1.05 MB / 341.9 MB, free: 5.812 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003998/0.1997, allocations: 0.6256 MB / 342.5 MB, free: 5.184 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.2, allocations: 55.78 kB / 342.5 MB, free: 5.129 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.456e-05/0.2001, allocations: 11.92 kB / 342.6 MB, free: 5.117 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.2002, allocations: 27.86 kB / 342.6 MB, free: 5.09 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.2004, allocations: 39.89 kB / 342.6 MB, free: 5.051 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.2004, allocations: 0 / 342.6 MB, free: 5.051 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007303/0.2077, allocations: 1.573 MB / 344.2 MB, free: 3.477 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/0.2079, allocations: 19.86 kB / 344.2 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.749e-05/0.2079, allocations: 19.92 kB / 344.2 MB, free: 3.438 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004677/0.2126, allocations: 1.064 MB / 345.3 MB, free: 2.371 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.2127, allocations: 4 kB / 345.3 MB, free: 2.367 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.69e-06/0.2127, allocations: 4 kB / 345.3 MB, free: 2.363 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.2127, allocations: 0 / 345.3 MB, free: 2.363 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.001587/0.2143, allocations: 0.5379 MB / 345.8 MB, free: 1.777 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.645e-05/0.2144, allocations: 12.03 kB / 345.9 MB, free: 1.766 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.643e-05/0.2145, allocations: 38.69 kB / 345.9 MB, free: 1.719 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002374/0.2147, allocations: 16.92 kB / 345.9 MB, free: 1.703 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.215, allocations: 180.2 kB / 346.1 MB, free: 1.488 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.215, allocations: 384 / 346.1 MB, free: 1.488 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.2151, allocations: 8.359 kB / 346.1 MB, free: 1.48 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.2154, allocations: 75.27 kB / 346.2 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.2154, allocations: 0 / 346.2 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.2154, allocations: 0 / 346.2 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.2155, allocations: 4 kB / 346.2 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.2157, allocations: 23.97 kB / 346.2 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.216, allocations: 174.6 kB / 346.4 MB, free: 1.145 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004835/0.2165, allocations: 85.12 kB / 346.5 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.2167, allocations: 21.77 kB / 346.5 MB, free: 1.016 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01112/0.2278, allocations: 3.297 MB / 349.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.499e-05/0.2279, allocations: 38.48 kB / 349.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 3.466e-06/0.2279, allocations: 0 / 349.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.000525/0.2284, allocations: 81.58 kB / 349.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/0.2285, allocations: 81.05 kB / 350 MB, free: 13.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.2287, allocations: 117.8 kB / 350.1 MB, free: 12.92 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.2287, allocations: 25.7 kB / 350.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.2288, allocations: 88.12 kB / 350.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.265e-05/0.2289, allocations: 27.64 kB / 350.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.427e-05/0.2289, allocations: 13.72 kB / 350.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.2291, allocations: 322.8 kB / 350.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.822e-05/0.2292, allocations: 8 kB / 350.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.872e-05/0.2293, allocations: 29.64 kB / 350.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.2295, allocations: 37.7 kB / 350.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.2295, allocations: 0 / 350.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002882/0.2298, allocations: 77.92 kB / 350.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.2299, allocations: 4 kB / 350.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.2299, allocations: 4.094 kB / 350.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/0.2299, allocations: 3.984 kB / 350.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.2301, allocations: 15.98 kB / 350.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.2301, allocations: 3.938 kB / 350.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.472e-05/0.2302, allocations: 0 / 350.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.2302, allocations: 4 kB / 350.7 MB, free: 12.22 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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.000131/0.2303, allocations: 109.8 kB / 350.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/0.2304, allocations: 11.84 kB / 350.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004292/0.2309, allocations: 105.5 kB / 351 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.2309, allocations: 0 / 351 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.2309, allocations: 0 / 351 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/0.2309, allocations: 7.984 kB / 351 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.2312, allocations: 165.6 kB / 351.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.2312, allocations: 4.062 kB / 351.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.2313, allocations: 19.94 kB / 351.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.2313, allocations: 4 kB / 351.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.2313, allocations: 0 / 351.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.2313, allocations: 0 / 351.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2314, allocations: 0 / 351.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.2317, allocations: 101.9 kB / 351.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.2318, allocations: 96.97 kB / 351.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.2318, allocations: 4 kB / 351.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.232, allocations: 7.984 kB / 351.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.232, allocations: 0 / 351.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.2321, allocations: 4 kB / 351.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.341e-05/0.2322, allocations: 103.5 kB / 351.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.2322, allocations: 0 / 351.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001534/0.2337, allocations: 319.7 kB / 351.8 MB, free: 11.08 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.002807/0.2366, allocations: 1.116 MB / 352.9 MB, free: 9.926 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002972/0.2369, allocations: 47.91 kB / 352.9 MB, free: 9.879 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2369, allocations: 0 / 352.9 MB, free: 9.879 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.237, allocations: 23.92 kB / 353 MB, free: 9.855 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.2374, allocations: 8 kB / 353 MB, free: 9.848 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.2402, allocations: 1.446 MB / 354.4 MB, free: 8.309 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.2406, allocations: 0.6846 MB / 355.1 MB, free: 7.598 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001936/0.2408, allocations: 44.59 kB / 355.1 MB, free: 7.555 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.968e-05/0.2409, allocations: 23.42 kB / 355.2 MB, free: 7.531 MB / 302.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2409, allocations: 0 / 355.2 MB, free: 7.531 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05392/0.2949, allocations: 10.49 MB / 365.7 MB, free: 12.97 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.51, allocations: 11.7 kB / 365.7 MB, free: 12.96 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_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_ReferenceAir_Inverse_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches