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.001272/0.001272, allocations: 113.4 kB / 17.73 MB, free: 5.34 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.001349/0.001349, allocations: 188.2 kB / 18.66 MB, free: 4.414 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.268/1.268, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001333/0.001333, allocations: 52.3 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08561/0.08695, allocations: 46.62 MB / 374.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.196/0.283, allocations: 37.45 MB / 412.1 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005402/0.2884, allocations: 4.582 MB / 416.7 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004113/0.2889, allocations: 4.625 kB / 416.7 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008229/0.2897, allocations: 298.6 kB / 417 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009504/0.2907, allocations: 478.1 kB / 417.4 MB, free: 476 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005021/0.2957, allocations: 1.646 MB / 419.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001705/0.2974, allocations: 1.27 MB / 420.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002877/0.2978, allocations: 166.3 kB / 420.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007664/0.2985, allocations: 484.8 kB / 421 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005576/0.2991, allocations: 410.3 kB / 421.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.366e-05/0.2992, allocations: 45.97 kB / 421.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001927/0.3011, allocations: 0.7542 MB / 422.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.3013, allocations: 133.7 kB / 422.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000317/0.3016, allocations: 282 kB / 422.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.3031, allocations: 1.054 MB / 423.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.3031, allocations: 0 / 423.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3032, allocations: 0 / 423.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.3032, 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.00111/0.3043, allocations: 0.7696 MB / 424.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.3043, allocations: 13.23 kB / 424.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.85e-05/0.3044, allocations: 80.44 kB / 424.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005734/0.305, allocations: 78.16 kB / 424.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005518/0.3056, allocations: 344.6 kB / 424.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.3056, allocations: 32.81 kB / 425 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.833e-05/0.3057, allocations: 38.69 kB / 425 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006523/0.3063, allocations: 479.8 kB / 425.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.3064, allocations: 14.06 kB / 425.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-05/0.3064, allocations: 17.69 kB / 425.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.3064, allocations: 10.62 kB / 425.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004194/0.3069, allocations: 301.8 kB / 425.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01301/0.3199, allocations: 6.731 MB / 432.5 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004343/0.3203, allocations: 274.4 kB / 432.8 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.3205, allocations: 148.8 kB / 433 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01049/0.3311, allocations: 3.897 MB / 436.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.3311, allocations: 30.56 kB / 436.9 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.204e-06/0.3311, allocations: 0 / 436.9 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.0119/0.343, allocations: 2.467 MB / 439.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.3431, allocations: 55.41 kB / 439.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.3434, allocations: 299.2 kB / 439.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.3435, allocations: 33.7 kB / 439.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.3436, allocations: 224 kB / 439.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.3438, allocations: 161.7 kB / 440.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.3439, allocations: 98.23 kB / 440.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3441, allocations: 346.8 kB / 440.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.3443, allocations: 149.1 kB / 440.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/0.3447, allocations: 283.6 kB / 441 MB, free: 12.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006249/0.3453, allocations: 472.3 kB / 441.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3453, allocations: 0 / 441.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001067/0.3464, allocations: 0.5918 MB / 442 MB, free: 11.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.3464, allocations: 11.92 kB / 442 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.3464, allocations: 4 kB / 442 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008263/0.3547, allocations: 1.855 MB / 443.9 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004291/0.3552, allocations: 107.8 kB / 444 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.3572, allocations: 2.552 MB / 446.5 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003455/0.3576, allocations: 19.98 kB / 446.6 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.3576, allocations: 20 kB / 446.6 MB, free: 6.551 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.0002489/0.3579, allocations: 185.6 kB / 446.8 MB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.766e-05/0.358, allocations: 43.59 kB / 446.8 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.3591, allocations: 0.8474 MB / 447.7 MB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.3592, allocations: 11.98 kB / 447.7 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3592, allocations: 4 kB / 447.7 MB, free: 5.445 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009588/0.3601, allocations: 0.9574 MB / 448.6 MB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/0.3621, allocations: 1.486 MB / 450.1 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.3621, allocations: 7.984 kB / 450.1 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.3624, allocations: 71.91 kB / 450.2 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00347/0.3659, allocations: 0.6218 MB / 450.8 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.431e-05/0.366, allocations: 15.94 kB / 450.8 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001035/0.367, allocations: 1.28 MB / 452.1 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3671, allocations: 8.156 kB / 452.1 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.3687, allocations: 1.213 MB / 453.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.3689, allocations: 120.5 kB / 453.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.057e-05/0.369, allocations: 12 kB / 453.5 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.3692, allocations: 11.94 kB / 453.5 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.3693, allocations: 31.95 kB / 453.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.569e-05/0.3693, allocations: 23.92 kB / 453.5 MB, free: 15.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002259/0.3696, allocations: 210 kB / 453.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3696, allocations: 0 / 453.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008508/0.3704, allocations: 227.9 kB / 454 MB, free: 14.91 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.002468/0.3729, allocations: 1.94 MB / 455.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.3742, allocations: 0.6948 MB / 456.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.3743, allocations: 4 kB / 456.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009412/0.3752, allocations: 433.1 kB / 457 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.3765, allocations: 239.7 kB / 457.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006382/0.3829, allocations: 4.471 MB / 461.7 MB, free: 6.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.3834, allocations: 0.8363 MB / 462.6 MB, free: 6.043 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003214/0.3837, allocations: 72.33 kB / 462.6 MB, free: 5.973 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.3839, allocations: 155.4 kB / 462.8 MB, free: 5.82 MB / 382.1 MB Notification: Performance of SimCode: time 1.025e-05/0.3839, allocations: 0 / 462.8 MB, free: 5.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04385/0.4278, allocations: 17.57 MB / 480.4 MB, free: 4.168 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.34, allocations: 16.31 kB / 480.4 MB, free: 4.152 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