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.001112/0.001112, allocations: 107.3 kB / 17.06 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.001166/0.001166, allocations: 188 kB / 18 MB, free: 5.102 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.311/1.311, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 47.92 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2331, 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.03272/0.2659, allocations: 37.45 MB / 437.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00528/0.2712, allocations: 4.56 MB / 442.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002518/0.2715, allocations: 11.94 kB / 442.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007613/0.2723, allocations: 298.2 kB / 442.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007728/0.2731, allocations: 481.4 kB / 443 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004056/0.2771, allocations: 1.651 MB / 444.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001307/0.2785, allocations: 1.273 MB / 445.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002557/0.2787, allocations: 174.6 kB / 446.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005413/0.2793, allocations: 478.5 kB / 446.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000464/0.2798, allocations: 414.4 kB / 447 MB, free: 9.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.334e-05/0.2798, allocations: 44 kB / 447 MB, free: 9.867 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.2813, allocations: 0.761 MB / 447.8 MB, free: 9.105 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.2814, allocations: 127.6 kB / 447.9 MB, free: 8.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.2817, allocations: 282.9 kB / 448.2 MB, free: 8.703 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001252/0.2829, allocations: 1.048 MB / 449.2 MB, free: 7.652 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2829, allocations: 0 / 449.2 MB, free: 7.652 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.283, allocations: 4 kB / 449.2 MB, free: 7.648 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.283, allocations: 0 / 449.2 MB, free: 7.648 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.001023/0.284, allocations: 0.7905 MB / 450 MB, free: 6.809 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.2841, allocations: 15.89 kB / 450 MB, free: 6.793 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.884e-05/0.2841, allocations: 74.72 kB / 450.1 MB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000571/0.2847, allocations: 80.62 kB / 450.2 MB, free: 6.633 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004952/0.2852, allocations: 343.5 kB / 450.5 MB, free: 6.258 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.2853, allocations: 37.36 kB / 450.6 MB, free: 6.223 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.828e-05/0.2853, allocations: 40.38 kB / 450.6 MB, free: 6.184 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006781/0.286, allocations: 471.5 kB / 451.1 MB, free: 5.672 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.2861, allocations: 7.938 kB / 451.1 MB, free: 5.664 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.067e-05/0.2861, allocations: 16 kB / 451.1 MB, free: 5.648 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.2861, allocations: 8 kB / 451.1 MB, free: 5.641 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004594/0.2866, allocations: 307.7 kB / 451.4 MB, free: 5.344 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01311/0.2997, allocations: 6.735 MB / 458.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004618/0.3002, allocations: 270.5 kB / 458.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.3004, allocations: 152.7 kB / 458.6 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0102/0.3106, allocations: 3.893 MB / 462.4 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.3107, allocations: 38.42 kB / 462.5 MB, free: 9.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.043e-06/0.3107, allocations: 0 / 462.5 MB, free: 9.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01154/0.3222, allocations: 2.47 MB / 465 MB, free: 6.809 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.3223, allocations: 59.39 kB / 465 MB, free: 6.738 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.3226, allocations: 303.2 kB / 465.3 MB, free: 6.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.3227, allocations: 37.7 kB / 465.3 MB, free: 6.398 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.3228, allocations: 220.6 kB / 465.6 MB, free: 6.176 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.3229, allocations: 162.6 kB / 465.7 MB, free: 6.016 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.323, allocations: 106.2 kB / 465.8 MB, free: 5.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.3232, allocations: 346.8 kB / 466.2 MB, free: 5.559 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.3234, allocations: 149.1 kB / 466.3 MB, free: 5.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.3238, allocations: 287.6 kB / 466.6 MB, free: 5.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006087/0.3244, allocations: 472.3 kB / 467 MB, free: 4.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3244, allocations: 0 / 467 MB, free: 4.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001015/0.3254, allocations: 0.5957 MB / 467.6 MB, free: 3.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3254, allocations: 8 kB / 467.7 MB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.3255, allocations: 4 kB / 467.7 MB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007764/0.3332, allocations: 1.85 MB / 469.5 MB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/0.3337, allocations: 107.9 kB / 469.6 MB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/0.3358, allocations: 2.562 MB / 472.2 MB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.3361, allocations: 16 kB / 472.2 MB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.224e-05/0.3361, allocations: 20 kB / 472.2 MB, free: 15.22 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.0002486/0.3364, allocations: 177.7 kB / 472.4 MB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.867e-05/0.3365, allocations: 43.75 kB / 472.4 MB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.3377, allocations: 0.8513 MB / 473.3 MB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/0.3377, allocations: 7.984 kB / 473.3 MB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.3377, allocations: 0 / 473.3 MB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009844/0.3387, allocations: 0.9574 MB / 474.2 MB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.3407, allocations: 1.497 MB / 475.7 MB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.3407, allocations: 4 kB / 475.7 MB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.341, allocations: 71.91 kB / 475.8 MB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003293/0.3443, allocations: 0.6257 MB / 476.4 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-05/0.3444, allocations: 15.94 kB / 476.5 MB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/0.3454, allocations: 1.281 MB / 477.7 MB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.3454, allocations: 11.88 kB / 477.7 MB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.3469, allocations: 1.217 MB / 479 MB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.3471, allocations: 116.8 kB / 479.1 MB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.054e-05/0.3472, allocations: 8 kB / 479.1 MB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.3474, allocations: 16 kB / 479.1 MB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.3475, allocations: 35.89 kB / 479.1 MB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/0.3475, allocations: 19.98 kB / 479.2 MB, free: 8.004 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002147/0.3477, allocations: 209.9 kB / 479.4 MB, free: 7.801 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3478, allocations: 3.938 kB / 479.4 MB, free: 7.797 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007808/0.3485, allocations: 231.7 kB / 479.6 MB, free: 7.57 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.002359/0.3509, allocations: 1.939 MB / 481.5 MB, free: 5.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.3522, allocations: 0.6985 MB / 482.2 MB, free: 4.879 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3523, allocations: 0 / 482.2 MB, free: 4.879 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009129/0.3532, allocations: 436.5 kB / 482.7 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.001248/0.3544, allocations: 239.5 kB / 482.9 MB, free: 4.223 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005822/0.3603, allocations: 4.493 MB / 487.4 MB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.3607, allocations: 0.84 MB / 488.2 MB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002956/0.361, allocations: 72.33 kB / 488.3 MB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.3612, allocations: 159.4 kB / 488.4 MB, free: 14.44 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3612, allocations: 0 / 488.4 MB, free: 14.44 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04079/0.402, allocations: 17.38 MB / 0.494 GB, free: 13.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.29, allocations: 8.531 kB / 0.494 GB, free: 13.24 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