Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.DryAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_3_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.001465/0.001465, allocations: 110.6 kB / 17.73 MB, free: 5.312 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.001449/0.001449, allocations: 190.9 kB / 18.67 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.299/1.299, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001573/0.001573, allocations: 55.92 kB / 328.1 MB, free: 3.789 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08086/0.08244, allocations: 46.62 MB / 374.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1797/0.2622, allocations: 37.44 MB / 412.1 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005599/0.2678, allocations: 4.585 MB / 416.7 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.2681, allocations: 9.562 kB / 416.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000795/0.2689, allocations: 293.5 kB / 417 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008284/0.2698, allocations: 483.6 kB / 417.5 MB, free: 456 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00448/0.2743, allocations: 1.65 MB / 419.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001381/0.2756, allocations: 1.267 MB / 420.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002758/0.2759, allocations: 163.2 kB / 420.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005589/0.2765, allocations: 471.3 kB / 421 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004998/0.277, allocations: 414.5 kB / 421.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.543e-05/0.2771, allocations: 46.16 kB / 421.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.2785, allocations: 0.7493 MB / 422.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.2787, allocations: 132.9 kB / 422.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002821/0.279, allocations: 282.8 kB / 422.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.2803, allocations: 1.053 MB / 423.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2803, allocations: 5.094 kB / 423.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2803, allocations: 0 / 423.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.2804, allocations: 0 / 423.7 MB, free: 12.63 MB / 350.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.001121/0.2815, allocations: 0.7875 MB / 424.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.2815, allocations: 13.55 kB / 424.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.445e-05/0.2816, allocations: 76.06 kB / 424.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005473/0.2822, allocations: 81.94 kB / 424.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004937/0.2827, allocations: 353.6 kB / 425 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.2827, allocations: 29.09 kB / 425 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.965e-05/0.2828, allocations: 41.52 kB / 425 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007043/0.2835, allocations: 480 kB / 425.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.2835, allocations: 1.062 kB / 425.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.435e-05/0.2836, allocations: 22.06 kB / 425.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.2836, allocations: 9.875 kB / 425.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/0.2841, allocations: 302.1 kB / 425.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0131/0.2972, allocations: 6.735 MB / 432.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004722/0.2977, allocations: 278.4 kB / 432.8 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.2979, allocations: 152.8 kB / 433 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01031/0.3082, allocations: 3.885 MB / 436.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.3083, allocations: 38.56 kB / 436.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 3.697e-06/0.3083, allocations: 3.984 kB / 436.9 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.01148/0.3198, allocations: 2.465 MB / 439.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.3198, allocations: 55.41 kB / 439.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/0.3202, allocations: 307.2 kB / 439.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.3202, allocations: 33.7 kB / 439.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.3204, allocations: 228.5 kB / 440 MB, free: 13.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.3205, allocations: 174.5 kB / 440.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.3207, allocations: 98.2 kB / 440.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3208, allocations: 346.8 kB / 440.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/0.3211, allocations: 149.1 kB / 440.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/0.3215, allocations: 279.6 kB / 441 MB, free: 12.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006661/0.3222, allocations: 472.3 kB / 441.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3222, allocations: 4 kB / 441.5 MB, free: 11.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001055/0.3232, allocations: 0.5918 MB / 442.1 MB, free: 11.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3233, allocations: 7.938 kB / 442.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.3233, allocations: 7.938 kB / 442.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007553/0.3308, allocations: 1.852 MB / 443.9 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/0.3312, allocations: 107.8 kB / 444 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/0.3334, allocations: 2.559 MB / 446.6 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/0.3337, allocations: 12.12 kB / 446.6 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.384e-05/0.3338, allocations: 24 kB / 446.6 MB, free: 6.492 MB / 366.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.0002164/0.334, allocations: 185.6 kB / 446.8 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.851e-05/0.3341, allocations: 39.77 kB / 446.9 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.3353, allocations: 0.8513 MB / 447.7 MB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.3354, allocations: 12 kB / 447.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.3354, allocations: 4.875 kB / 447.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001078/0.3365, allocations: 0.9535 MB / 448.7 MB, free: 4.355 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/0.3385, allocations: 1.494 MB / 450.2 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3385, allocations: 0 / 450.2 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/0.3388, allocations: 75.91 kB / 450.2 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003226/0.342, allocations: 0.6218 MB / 450.9 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-05/0.3421, allocations: 23.92 kB / 450.9 MB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.3431, allocations: 1.28 MB / 452.2 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3432, allocations: 0 / 452.2 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.3447, allocations: 1.225 MB / 453.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.3449, allocations: 116.8 kB / 453.5 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.504e-05/0.3449, allocations: 12 kB / 453.5 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.3452, allocations: 15.94 kB / 453.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.3452, allocations: 24 kB / 453.6 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/0.3453, allocations: 23.92 kB / 453.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002276/0.3455, allocations: 213.9 kB / 453.8 MB, free: 15.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3455, allocations: 0 / 453.8 MB, free: 15.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007609/0.3463, allocations: 227.8 kB / 454 MB, free: 14.84 MB / 382.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.00237/0.3487, allocations: 1.94 MB / 455.9 MB, free: 12.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.3499, allocations: 0.7064 MB / 456.7 MB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3499, allocations: 0 / 456.7 MB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000899/0.3508, allocations: 425.1 kB / 457.1 MB, free: 11.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.352, allocations: 248.5 kB / 457.3 MB, free: 11.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006055/0.3581, allocations: 4.493 MB / 461.8 MB, free: 6.801 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004681/0.3586, allocations: 0.8323 MB / 462.6 MB, free: 5.945 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002723/0.3589, allocations: 72.33 kB / 462.7 MB, free: 5.875 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.3591, allocations: 159.4 kB / 462.9 MB, free: 5.719 MB / 382.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3591, allocations: 0 / 462.9 MB, free: 5.719 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04546/0.4045, allocations: 17.36 MB / 480.2 MB, free: 4.281 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.51, allocations: 12.25 kB / 480.2 MB, free: 4.27 MB / 398.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches