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.0008851/0.0008852, allocations: 91.88 kB / 16.65 MB, free: 6.59 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.0009728/0.0009729, allocations: 183.4 kB / 17.56 MB, free: 6.203 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.192/1.192, allocations: 223.3 MB / 241.6 MB, free: 14.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002112/0.0002112, allocations: 4 kB / 301.5 MB, free: 5.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08002/0.08025, allocations: 50.42 MB / 351.9 MB, free: 3.355 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1709/0.2512, allocations: 36.88 MB / 388.8 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003953/0.2552, allocations: 4.56 MB / 393.4 MB, free: 4.445 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002565/0.2554, allocations: 4.25 kB / 393.4 MB, free: 4.445 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006665/0.2561, allocations: 251.1 kB / 393.6 MB, free: 4.309 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007335/0.2568, allocations: 479.3 kB / 394.1 MB, free: 4.031 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003393/0.2602, allocations: 1.392 MB / 395.5 MB, free: 3.289 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001594/0.2618, allocations: 1.952 MB / 397.4 MB, free: 2.633 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.262, allocations: 126.8 kB / 397.6 MB, free: 2.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004198/0.2625, allocations: 391.7 kB / 398 MB, free: 2.434 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004062/0.2629, allocations: 413.3 kB / 398.4 MB, free: 2.273 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.981e-05/0.2629, allocations: 21.56 kB / 398.4 MB, free: 2.273 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.2642, allocations: 0.7273 MB / 399.1 MB, free: 2.074 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.2643, allocations: 110.4 kB / 399.2 MB, free: 2.004 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002282/0.2646, allocations: 278.2 kB / 399.5 MB, free: 1.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009435/0.2655, allocations: 1.011 MB / 400.5 MB, free: 1.184 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2655, allocations: 5.281 kB / 400.5 MB, free: 1.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2655, allocations: 3.938 kB / 400.5 MB, free: 1.176 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.2656, allocations: 0 / 400.5 MB, free: 1.176 MB / 302.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.0007525/0.2663, allocations: 0.6836 MB / 401.2 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.2664, allocations: 10.12 kB / 401.2 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.482e-05/0.2664, allocations: 76.16 kB / 401.3 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005087/0.2669, allocations: 80.53 kB / 401.4 MB, free: 492 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.2672, allocations: 336.2 kB / 401.7 MB, free: 164 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.2673, allocations: 30.09 kB / 401.7 MB, free: 152 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.683e-05/0.2673, allocations: 37.53 kB / 401.7 MB, free: 140 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005933/0.2679, allocations: 474.7 kB / 402.2 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.2679, allocations: 1.781 kB / 402.2 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.951e-05/0.268, allocations: 17.41 kB / 402.2 MB, free: 15.78 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.268, allocations: 8.938 kB / 402.2 MB, free: 15.78 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004346/0.2684, allocations: 308 kB / 402.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01206/0.2805, allocations: 6.736 MB / 409.3 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003817/0.2809, allocations: 272.9 kB / 409.5 MB, free: 9.914 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.2811, allocations: 159.2 kB / 409.7 MB, free: 9.832 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00946/0.2906, allocations: 3.89 MB / 413.6 MB, free: 7.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.2906, allocations: 38.42 kB / 413.6 MB, free: 7.016 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.976e-06/0.2906, allocations: 0 / 413.6 MB, free: 7.016 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01096/0.3016, allocations: 2.478 MB / 416.1 MB, free: 4.461 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.3017, allocations: 55.41 kB / 416.2 MB, free: 4.395 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.302, allocations: 299.3 kB / 416.4 MB, free: 4.098 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.302, allocations: 41.7 kB / 416.5 MB, free: 4.051 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.3021, allocations: 224 kB / 416.7 MB, free: 3.828 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.3023, allocations: 153.8 kB / 416.9 MB, free: 3.676 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.007e-05/0.3023, allocations: 49.69 kB / 416.9 MB, free: 3.621 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.3024, allocations: 346.8 kB / 417.2 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.3027, allocations: 157 kB / 417.4 MB, free: 3.117 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003181/0.303, allocations: 283.6 kB / 417.7 MB, free: 2.793 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005974/0.3036, allocations: 472.3 kB / 418.1 MB, free: 2.281 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3037, allocations: 0 / 418.1 MB, free: 2.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009937/0.3047, allocations: 0.5955 MB / 418.7 MB, free: 1.668 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.3047, allocations: 7.938 kB / 418.7 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3047, allocations: 4 kB / 418.7 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006377/0.3111, allocations: 0.7756 MB / 419.5 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.3114, allocations: 107.8 kB / 419.6 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/0.3132, allocations: 2.467 MB / 422.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/0.3135, allocations: 31.89 kB / 422.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.3135, allocations: 20 kB / 422.1 MB, free: 14.05 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.000194/0.3138, allocations: 184.9 kB / 422.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.184e-05/0.3138, allocations: 47.45 kB / 422.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.3149, allocations: 0.8513 MB / 423.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.315, allocations: 15.98 kB / 423.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.315, allocations: 0 / 423.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00095/0.3159, allocations: 0.9534 MB / 424.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.3178, allocations: 1.492 MB / 425.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3178, allocations: 0 / 425.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002847/0.3181, allocations: 75.91 kB / 425.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003287/0.3214, allocations: 0.6411 MB / 426.4 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.3214, allocations: 12 kB / 426.4 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008135/0.3222, allocations: 1.277 MB / 427.7 MB, free: 8.297 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3222, allocations: 4.031 kB / 427.7 MB, free: 8.293 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.3237, allocations: 1.226 MB / 428.9 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.3238, allocations: 120.6 kB / 429 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.373e-05/0.3238, allocations: 12.06 kB / 429 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.3241, allocations: 32.11 kB / 429.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.3242, allocations: 27.97 kB / 429.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/0.3242, allocations: 23.92 kB / 429.1 MB, free: 6.809 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001956/0.3244, allocations: 209.9 kB / 429.3 MB, free: 6.598 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3244, allocations: 4 kB / 429.3 MB, free: 6.594 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007155/0.3251, allocations: 227.9 kB / 429.6 MB, free: 6.371 MB / 334.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.002195/0.3273, allocations: 1.936 MB / 431.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.3285, allocations: 0.687 MB / 432.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3285, allocations: 3.938 kB / 432.2 MB, free: 3.703 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008473/0.3293, allocations: 435.9 kB / 432.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.3306, allocations: 232.9 kB / 432.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005626/0.3362, allocations: 4.803 MB / 437.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.3366, allocations: 0.8401 MB / 438.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002936/0.3369, allocations: 76.33 kB / 438.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.3371, allocations: 155.4 kB / 438.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3371, allocations: 0 / 438.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02933/0.3664, allocations: 16.42 MB / 455.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/0.3667, allocations: 221.4 kB / 455.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.165/2.532, allocations: 0 / 455.3 MB, free: 12.49 MB / 366.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