Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.ReferenceAir.DryAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir2",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.001286/0.001286, allocations: 110.2 kB / 17.07 MB, free: 6.016 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.001319/0.001319, allocations: 189.4 kB / 18 MB, free: 5.098 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.376/1.376, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 63.84 kB / 350.8 MB, free: 3.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2663, allocations: 49.42 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.04106/0.3074, allocations: 37.44 MB / 437.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006562/0.314, allocations: 4.568 MB / 442.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005768/0.3146, allocations: 4 kB / 442.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.3158, allocations: 298.2 kB / 442.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001381/0.3172, allocations: 485.3 kB / 443 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005374/0.3226, allocations: 1.645 MB / 444.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001966/0.3246, allocations: 1.269 MB / 445.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003604/0.325, allocations: 182.5 kB / 446.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009675/0.326, allocations: 466.4 kB / 446.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007859/0.3268, allocations: 410.4 kB / 447 MB, free: 9.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001621/0.3269, allocations: 48 kB / 447 MB, free: 9.863 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002121/0.3291, allocations: 0.7532 MB / 447.8 MB, free: 9.109 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002386/0.3293, allocations: 131.6 kB / 447.9 MB, free: 8.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004672/0.3298, allocations: 282.9 kB / 448.2 MB, free: 8.703 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00199/0.3318, allocations: 1.056 MB / 449.2 MB, free: 7.645 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3318, allocations: 0 / 449.2 MB, free: 7.645 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.3318, allocations: 0 / 449.2 MB, free: 7.645 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.049e-05/0.3319, allocations: 0 / 449.2 MB, free: 7.645 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001498/0.3334, allocations: 0.7866 MB / 450 MB, free: 6.809 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.3334, allocations: 15.89 kB / 450 MB, free: 6.793 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/0.3335, allocations: 78.72 kB / 450.1 MB, free: 6.707 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006317/0.3342, allocations: 76.62 kB / 450.2 MB, free: 6.633 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000623/0.3348, allocations: 355.5 kB / 450.5 MB, free: 6.246 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.375e-05/0.3348, allocations: 29.38 kB / 450.6 MB, free: 6.219 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.601e-05/0.3349, allocations: 40.36 kB / 450.6 MB, free: 6.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000786/0.3357, allocations: 471.5 kB / 451.1 MB, free: 5.668 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.3357, allocations: 0 / 451.1 MB, free: 5.668 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.724e-05/0.3358, allocations: 20 kB / 451.1 MB, free: 5.648 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.3358, allocations: 12 kB / 451.1 MB, free: 5.637 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000528/0.3364, allocations: 307.7 kB / 451.4 MB, free: 5.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01464/0.351, allocations: 6.739 MB / 458.1 MB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005538/0.3516, allocations: 270.5 kB / 458.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002657/0.3519, allocations: 152.8 kB / 458.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01233/0.3642, allocations: 3.881 MB / 462.4 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.413e-05/0.3643, allocations: 42.42 kB / 462.5 MB, free: 9.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 3.367e-06/0.3643, allocations: 0 / 462.5 MB, free: 9.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01246/0.3768, allocations: 2.472 MB / 464.9 MB, free: 6.809 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.3769, allocations: 63.33 kB / 465 MB, free: 6.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004078/0.3773, allocations: 303.2 kB / 465.3 MB, free: 6.438 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.03e-05/0.3773, allocations: 37.69 kB / 465.3 MB, free: 6.395 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.3776, allocations: 224.6 kB / 465.6 MB, free: 6.168 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.3777, allocations: 158.6 kB / 465.7 MB, free: 6.012 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.3779, allocations: 102.2 kB / 465.8 MB, free: 5.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.3781, allocations: 350.8 kB / 466.2 MB, free: 5.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.3784, allocations: 157.1 kB / 466.3 MB, free: 5.402 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003817/0.3787, allocations: 271.7 kB / 466.6 MB, free: 5.086 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007427/0.3795, allocations: 476.2 kB / 467 MB, free: 4.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3795, allocations: 4 kB / 467 MB, free: 4.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001155/0.3807, allocations: 0.5921 MB / 467.6 MB, free: 3.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.3807, allocations: 8 kB / 467.6 MB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.3807, allocations: 7.938 kB / 467.6 MB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007865/0.3886, allocations: 1.853 MB / 469.5 MB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004101/0.389, allocations: 107.8 kB / 469.6 MB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/0.3914, allocations: 2.562 MB / 472.2 MB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.3917, allocations: 12 kB / 472.2 MB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.034e-05/0.3918, allocations: 20 kB / 472.2 MB, free: 15.21 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002521/0.392, allocations: 175.2 kB / 472.4 MB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.3922, allocations: 43.81 kB / 472.4 MB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/0.3935, allocations: 0.8552 MB / 473.3 MB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/0.3935, allocations: 15.98 kB / 473.3 MB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.3935, allocations: 0 / 473.3 MB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001147/0.3947, allocations: 0.9496 MB / 474.2 MB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/0.397, allocations: 1.505 MB / 475.7 MB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.397, allocations: 0 / 475.7 MB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/0.3973, allocations: 71.91 kB / 475.8 MB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00341/0.4008, allocations: 0.6257 MB / 476.4 MB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/0.4008, allocations: 11.94 kB / 476.4 MB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.402, allocations: 1.288 MB / 477.7 MB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.402, allocations: 8.062 kB / 477.7 MB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.4038, allocations: 1.213 MB / 479 MB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.4039, allocations: 116.9 kB / 479.1 MB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.111e-05/0.404, allocations: 12 kB / 479.1 MB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.4043, allocations: 11.94 kB / 479.1 MB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.4043, allocations: 31.95 kB / 479.1 MB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.981e-05/0.4044, allocations: 19.98 kB / 479.1 MB, free: 8.004 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002591/0.4047, allocations: 209.9 kB / 479.3 MB, free: 7.801 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4047, allocations: 0 / 479.3 MB, free: 7.801 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008289/0.4055, allocations: 231.7 kB / 479.6 MB, free: 7.574 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * 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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002655/0.4082, allocations: 1.939 MB / 481.5 MB, free: 5.594 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001357/0.4095, allocations: 0.7064 MB / 482.2 MB, free: 4.875 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4095, allocations: 0 / 482.2 MB, free: 4.875 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009746/0.4105, allocations: 432.3 kB / 482.6 MB, free: 4.453 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.4118, allocations: 245 kB / 482.9 MB, free: 4.215 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006659/0.4185, allocations: 4.49 MB / 487.4 MB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005254/0.419, allocations: 0.8439 MB / 488.2 MB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003067/0.4193, allocations: 72.33 kB / 488.3 MB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.4196, allocations: 159.4 kB / 488.4 MB, free: 14.43 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4196, allocations: 0 / 488.4 MB, free: 14.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04889/0.4685, allocations: 17.36 MB / 0.4939 GB, free: 13.26 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.12, allocations: 8.594 kB / 0.494 GB, free: 13.25 MB / 430.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches