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.001053/0.001053, allocations: 114 kB / 17.06 MB, free: 5.973 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.001263/0.001263, allocations: 198.9 kB / 18.01 MB, free: 5.059 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.274/1.274, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 47.92 kB / 350.8 MB, free: 3.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2337, allocations: 49.44 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03607/0.2698, allocations: 37.44 MB / 437.7 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005597/0.2755, allocations: 4.572 MB / 442.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005556/0.2761, allocations: 7.938 kB / 442.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.2771, allocations: 294.2 kB / 442.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001211/0.2784, allocations: 481.3 kB / 443 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004634/0.283, allocations: 1.641 MB / 444.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001606/0.2847, allocations: 1.269 MB / 445.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002979/0.285, allocations: 174.5 kB / 446.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008211/0.2858, allocations: 478.5 kB / 446.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006473/0.2865, allocations: 406.4 kB / 447 MB, free: 9.918 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.2866, allocations: 52 kB / 447 MB, free: 9.867 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/0.2881, allocations: 0.7532 MB / 447.8 MB, free: 9.113 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.2883, allocations: 139.6 kB / 447.9 MB, free: 8.977 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003489/0.2886, allocations: 278.9 kB / 448.2 MB, free: 8.703 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.2901, allocations: 1.044 MB / 449.2 MB, free: 7.656 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2902, allocations: 0 / 449.2 MB, free: 7.656 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2902, allocations: 0 / 449.2 MB, free: 7.656 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.064e-05/0.2902, allocations: 0 / 449.2 MB, free: 7.656 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.001366/0.2916, allocations: 0.7789 MB / 450 MB, free: 6.832 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.2916, allocations: 15.89 kB / 450 MB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.868e-05/0.2917, allocations: 78.7 kB / 450.1 MB, free: 6.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006461/0.2924, allocations: 80.42 kB / 450.2 MB, free: 6.652 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005625/0.2929, allocations: 339.4 kB / 450.5 MB, free: 6.281 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.293, allocations: 33.38 kB / 450.5 MB, free: 6.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.314e-05/0.293, allocations: 40.28 kB / 450.6 MB, free: 6.211 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007147/0.2938, allocations: 471.5 kB / 451 MB, free: 5.699 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.2938, allocations: 7.938 kB / 451 MB, free: 5.691 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.253e-05/0.2938, allocations: 20 kB / 451.1 MB, free: 5.672 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.2939, allocations: 12 kB / 451.1 MB, free: 5.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004944/0.2944, allocations: 307.6 kB / 451.4 MB, free: 5.363 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01335/0.3077, allocations: 6.731 MB / 458.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004768/0.3082, allocations: 266.5 kB / 458.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.3085, allocations: 160.7 kB / 458.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01027/0.3188, allocations: 3.886 MB / 462.4 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.537e-05/0.3188, allocations: 42.41 kB / 462.4 MB, free: 9.379 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.354e-06/0.3189, allocations: 0 / 462.4 MB, free: 9.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01183/0.3307, allocations: 2.465 MB / 464.9 MB, free: 6.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.3308, allocations: 59.41 kB / 465 MB, free: 6.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003837/0.3312, allocations: 299.2 kB / 465.3 MB, free: 6.477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.911e-05/0.3312, allocations: 33.7 kB / 465.3 MB, free: 6.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.3314, allocations: 228 kB / 465.5 MB, free: 6.207 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.3316, allocations: 165.6 kB / 465.7 MB, free: 6.043 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.3317, allocations: 90.25 kB / 465.8 MB, free: 5.949 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3319, allocations: 342.8 kB / 466.1 MB, free: 5.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.3321, allocations: 157.1 kB / 466.3 MB, free: 5.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/0.3325, allocations: 275.7 kB / 466.5 MB, free: 5.133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006397/0.3331, allocations: 468.3 kB / 467 MB, free: 4.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3331, allocations: 4 kB / 467 MB, free: 4.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001064/0.3342, allocations: 0.5954 MB / 467.6 MB, free: 4.008 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.3342, allocations: 8 kB / 467.6 MB, free: 4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.3342, allocations: 7.984 kB / 467.6 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007392/0.3416, allocations: 1.85 MB / 469.4 MB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.3421, allocations: 111.8 kB / 469.6 MB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.3443, allocations: 2.554 MB / 472.1 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/0.3446, allocations: 12 kB / 472.1 MB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.437e-05/0.3446, allocations: 23.94 kB / 472.1 MB, free: 15.27 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.000246/0.3449, allocations: 187.1 kB / 472.3 MB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.345, allocations: 39.53 kB / 472.4 MB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.3461, allocations: 0.8473 MB / 473.2 MB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.3462, allocations: 15.98 kB / 473.2 MB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.3462, allocations: 0 / 473.2 MB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001017/0.3472, allocations: 0.9535 MB / 474.2 MB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/0.3493, allocations: 1.493 MB / 475.7 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.3493, allocations: 0 / 475.7 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/0.3496, allocations: 79.89 kB / 475.8 MB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003255/0.3529, allocations: 0.6217 MB / 476.4 MB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.318e-05/0.353, allocations: 19.92 kB / 476.4 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.3541, allocations: 1.277 MB / 477.7 MB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.525e-06/0.3541, allocations: 11.86 kB / 477.7 MB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.3558, allocations: 1.205 MB / 478.9 MB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001799/0.356, allocations: 128.5 kB / 479 MB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.757e-05/0.356, allocations: 12 kB / 479 MB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.3563, allocations: 15.94 kB / 479 MB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/0.3564, allocations: 23.91 kB / 479.1 MB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.3564, allocations: 19.98 kB / 479.1 MB, free: 8.059 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002555/0.3567, allocations: 209.9 kB / 479.3 MB, free: 7.855 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3567, allocations: 0 / 479.3 MB, free: 7.855 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008577/0.3576, allocations: 231.9 kB / 479.5 MB, free: 7.629 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.002562/0.3601, allocations: 1.939 MB / 481.5 MB, free: 5.648 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.3615, allocations: 0.7026 MB / 482.2 MB, free: 4.934 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.3615, allocations: 4 kB / 482.2 MB, free: 4.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009734/0.3625, allocations: 428.2 kB / 482.6 MB, free: 4.512 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.3638, allocations: 240.8 kB / 482.8 MB, free: 4.277 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006548/0.3704, allocations: 4.475 MB / 487.3 MB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/0.3709, allocations: 0.84 MB / 488.1 MB, free: 14.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003266/0.3712, allocations: 72.34 kB / 488.2 MB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.3715, allocations: 159.4 kB / 488.4 MB, free: 14.52 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3715, allocations: 0 / 488.4 MB, free: 14.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05532/0.4268, allocations: 17.59 MB / 0.4941 GB, free: 13.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.56, allocations: 3.828 kB / 0.4941 GB, free: 13.11 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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