Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001382/0.001382, allocations: 115.7 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001872/0.001872, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 246.4 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 60.88 kB / 306.6 MB, free: 0.8438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09/0.09143, allocations: 50.53 MB / 357.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1738/0.2652, allocations: 37.39 MB / 394.5 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004851/0.2701, allocations: 4.556 MB / 399 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003372/0.2705, allocations: 4.688 kB / 399 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007396/0.2713, allocations: 254.2 kB / 399.3 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008312/0.2721, allocations: 456.7 kB / 399.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003676/0.2758, allocations: 1.466 MB / 401.2 MB, free: 11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.2772, allocations: 1.279 MB / 402.5 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002781/0.2775, allocations: 171.1 kB / 402.6 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008066/0.2783, allocations: 470.9 kB / 403.1 MB, free: 10 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000475/0.2788, allocations: 420.2 kB / 403.5 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.559e-05/0.2789, allocations: 45.38 kB / 403.6 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001304/0.2802, allocations: 0.7678 MB / 404.3 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.2804, allocations: 133.3 kB / 404.5 MB, free: 9.305 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002602/0.2806, allocations: 281.5 kB / 404.7 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.2817, allocations: 1.052 MB / 405.8 MB, free: 8.453 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2817, allocations: 0 / 405.8 MB, free: 8.453 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2817, allocations: 0 / 405.8 MB, free: 8.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.2818, allocations: 0 / 405.8 MB, free: 8.453 MB / 318.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.0009777/0.2827, allocations: 0.776 MB / 406.6 MB, free: 7.809 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.2828, allocations: 9.625 kB / 406.6 MB, free: 7.809 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.347e-05/0.2829, allocations: 75.09 kB / 406.6 MB, free: 7.738 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005167/0.2834, allocations: 85.98 kB / 406.7 MB, free: 7.699 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.2838, allocations: 337.2 kB / 407 MB, free: 7.379 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.2838, allocations: 28.38 kB / 407.1 MB, free: 7.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.412e-05/0.2839, allocations: 38.31 kB / 407.1 MB, free: 7.352 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006383/0.2845, allocations: 474.5 kB / 407.6 MB, free: 7.008 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.2845, allocations: 5.047 kB / 407.6 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.09e-05/0.2846, allocations: 18.47 kB / 407.6 MB, free: 6.992 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.2846, allocations: 9.812 kB / 407.6 MB, free: 6.992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004413/0.285, allocations: 309.4 kB / 407.9 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01313/0.2982, allocations: 6.725 MB / 414.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004865/0.2987, allocations: 284.4 kB / 414.9 MB, free: 1.117 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.2989, allocations: 149.6 kB / 415.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01048/0.3094, allocations: 3.886 MB / 418.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.3095, allocations: 38.56 kB / 419 MB, free: 13.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 2.074e-06/0.3095, allocations: 3.938 kB / 419 MB, free: 13.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.01184/0.3213, allocations: 2.455 MB / 421.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.3214, allocations: 59.41 kB / 421.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.3217, allocations: 307.2 kB / 421.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.3218, allocations: 33.7 kB / 421.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.3219, allocations: 228 kB / 422.1 MB, free: 9.977 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.322, allocations: 157.7 kB / 422.2 MB, free: 9.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.3221, allocations: 94.16 kB / 422.3 MB, free: 9.723 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.3223, allocations: 346.8 kB / 422.6 MB, free: 9.375 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.3225, allocations: 157.1 kB / 422.8 MB, free: 9.223 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/0.3228, allocations: 279.7 kB / 423.1 MB, free: 8.902 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005732/0.3234, allocations: 464.8 kB / 423.5 MB, free: 8.398 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3234, allocations: 4 kB / 423.5 MB, free: 8.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009677/0.3244, allocations: 0.5916 MB / 424.1 MB, free: 7.789 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3244, allocations: 11.94 kB / 424.1 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3244, allocations: 4.469 kB / 424.1 MB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008208/0.3326, allocations: 1.856 MB / 426 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/0.333, allocations: 112.5 kB / 426.1 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/0.3348, allocations: 2.569 MB / 428.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003512/0.3352, allocations: 39.95 kB / 428.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.3352, allocations: 20 kB / 428.7 MB, free: 3.008 MB / 334.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.0001849/0.3354, allocations: 181.5 kB / 428.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.144e-05/0.3355, allocations: 35.72 kB / 428.9 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.3366, allocations: 0.8591 MB / 429.8 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.3366, allocations: 11.98 kB / 429.8 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3366, allocations: 0 / 429.8 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000879/0.3375, allocations: 0.9535 MB / 430.8 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.3393, allocations: 1.496 MB / 432.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3393, allocations: 3.938 kB / 432.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/0.3396, allocations: 71.91 kB / 432.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00339/0.343, allocations: 0.6216 MB / 433 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/0.343, allocations: 23.92 kB / 433 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008271/0.3439, allocations: 1.277 MB / 434.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3439, allocations: 0 / 434.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.3452, allocations: 1.227 MB / 435.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.3454, allocations: 116.5 kB / 435.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.41e-05/0.3454, allocations: 16.03 kB / 435.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002823/0.3457, allocations: 23.88 kB / 435.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.3458, allocations: 27.95 kB / 435.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/0.3458, allocations: 23.98 kB / 435.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001831/0.346, allocations: 209.9 kB / 435.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.346, allocations: 0 / 435.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007222/0.3467, allocations: 231.9 kB / 436.1 MB, free: 11.34 MB / 350.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.002091/0.3488, allocations: 1.933 MB / 438.1 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.3501, allocations: 0.7187 MB / 438.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3502, allocations: 0 / 438.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008878/0.351, allocations: 440 kB / 439.2 MB, free: 8.211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.3522, allocations: 246.3 kB / 439.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005601/0.3578, allocations: 4.694 MB / 444.1 MB, free: 3.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.3582, allocations: 0.8479 MB / 445 MB, free: 2.215 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003137/0.3585, allocations: 76.27 kB / 445.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.3587, allocations: 155.4 kB / 445.2 MB, free: 1.984 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3587, allocations: 3.938 kB / 445.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07503/0.4337, allocations: 17.04 MB / 462.3 MB, free: 1.105 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002239/0.434, allocations: 224.6 kB / 462.5 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.571/3.005, allocations: 0 / 462.5 MB, free: 0.8516 MB / 366.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches