Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",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.001098/0.001098, allocations: 106.6 kB / 17.73 MB, free: 5.348 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.001129/0.001129, allocations: 191 kB / 18.67 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.318/1.318, 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.001338/0.001338, allocations: 48.14 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08443/0.08578, allocations: 46.61 MB / 374.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.2015/0.2873, allocations: 27.05 MB / 401.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005756/0.2931, allocations: 4.156 MB / 405.9 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005053/0.2937, allocations: 4.531 kB / 405.9 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009133/0.2947, allocations: 214.9 kB / 406.1 MB, free: 9.031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.2958, allocations: 340 kB / 406.4 MB, free: 8.824 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005801/0.3016, allocations: 1.475 MB / 407.9 MB, free: 8.066 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001424/0.303, allocations: 0.8849 MB / 408.8 MB, free: 7.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002648/0.3033, allocations: 109.4 kB / 408.9 MB, free: 7.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007936/0.3113, allocations: 4.053 MB / 412.9 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007299/0.312, allocations: 275.2 kB / 413.2 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.3122, allocations: 31.25 kB / 413.2 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/0.3143, allocations: 0.7251 MB / 413.9 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.3145, allocations: 96.67 kB / 414 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004092/0.315, allocations: 198 kB / 414.2 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001907/0.3169, allocations: 0.8481 MB / 415.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3169, allocations: 0 / 415.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3169, allocations: 1.125 kB / 415.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.3169, allocations: 0 / 415.1 MB, free: 4.723 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001354/0.3183, allocations: 0.6445 MB / 415.7 MB, free: 4.156 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.3183, allocations: 9.125 kB / 415.7 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.38e-05/0.3184, allocations: 64.62 kB / 415.8 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005704/0.319, allocations: 53.64 kB / 415.9 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005986/0.3196, allocations: 294.1 kB / 416.1 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.3197, allocations: 23.5 kB / 416.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.706e-05/0.3197, allocations: 26.25 kB / 416.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005968/0.3203, allocations: 337.6 kB / 416.5 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.3204, allocations: 5 kB / 416.5 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.903e-05/0.3204, allocations: 11.59 kB / 416.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.3204, allocations: 7.031 kB / 416.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003809/0.3208, allocations: 216.4 kB / 416.8 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01341/0.3343, allocations: 5.913 MB / 422.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003482/0.3346, allocations: 174.8 kB / 422.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.3348, allocations: 88.36 kB / 422.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01049/0.3453, allocations: 3.896 MB / 426.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.957e-05/0.3454, allocations: 30.56 kB / 426.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.134e-06/0.3454, allocations: 0 / 426.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.006374/0.3518, allocations: 1.412 MB / 428.3 MB, free: 9.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.3519, allocations: 59.34 kB / 428.3 MB, free: 9.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/0.3522, allocations: 254.6 kB / 428.6 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.3522, allocations: 29.7 kB / 428.6 MB, free: 9.004 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.3524, allocations: 195.9 kB / 428.8 MB, free: 8.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.49e-05/0.3524, allocations: 102.6 kB / 428.9 MB, free: 8.703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.965e-05/0.3525, allocations: 65.7 kB / 429 MB, free: 8.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3527, allocations: 330.8 kB / 429.3 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.3529, allocations: 99.73 kB / 429.4 MB, free: 8.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.3531, allocations: 194.6 kB / 429.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004105/0.3535, allocations: 295 kB / 429.9 MB, free: 7.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3535, allocations: 0 / 429.9 MB, free: 7.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007125/0.3542, allocations: 402.6 kB / 430.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.3543, allocations: 7.938 kB / 430.3 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.3543, allocations: 4 kB / 430.3 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003909/0.3582, allocations: 0.9303 MB / 431.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/0.3585, allocations: 71.91 kB / 431.3 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001634/0.3602, allocations: 1.978 MB / 433.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.3605, allocations: 8.031 kB / 433.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.3605, allocations: 19.98 kB / 433.3 MB, free: 4.055 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001869/0.3607, allocations: 153.9 kB / 433.4 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.415e-05/0.3608, allocations: 31.56 kB / 433.4 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007395/0.3616, allocations: 0.4947 MB / 433.9 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.3616, allocations: 0 / 433.9 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.3616, allocations: 4 kB / 433.9 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006488/0.3622, allocations: 0.7167 MB / 434.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.3636, allocations: 0.9457 MB / 435.6 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.3636, allocations: 0 / 435.6 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.3638, allocations: 43.97 kB / 435.6 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001722/0.3656, allocations: 316.3 kB / 436 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.3656, allocations: 8 kB / 436 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004994/0.3661, allocations: 0.6482 MB / 436.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3661, allocations: 0 / 436.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009327/0.3671, allocations: 0.7222 MB / 437.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.3672, allocations: 112.7 kB / 437.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.405e-05/0.3673, allocations: 4 kB / 437.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.3675, allocations: 4 kB / 437.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.3675, allocations: 19.97 kB / 437.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.3675, allocations: 11.98 kB / 437.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001824/0.3677, allocations: 182 kB / 437.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3677, allocations: 0 / 437.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008119/0.3686, allocations: 183.9 kB / 437.8 MB, free: 15.24 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001899/0.3705, allocations: 1.436 MB / 439.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008751/0.3714, allocations: 459 kB / 439.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3714, allocations: 0 / 439.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005481/0.3719, allocations: 224.2 kB / 439.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.373, allocations: 176.8 kB / 440.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004961/0.378, allocations: 3.316 MB / 443.4 MB, free: 9.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.3784, allocations: 0.7763 MB / 444.2 MB, free: 8.625 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002751/0.3787, allocations: 50.94 kB / 444.3 MB, free: 8.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.3789, allocations: 103.4 kB / 444.4 MB, free: 8.469 MB / 366.1 MB Notification: Performance of SimCode: time 2.615e-06/0.3789, allocations: 0 / 444.4 MB, free: 8.469 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03766/0.4166, allocations: 13.58 MB / 457.9 MB, free: 10.83 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.1, allocations: 15.86 kB / 457.9 MB, free: 10.81 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches