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.001264/0.001264, allocations: 109.2 kB / 16.51 MB, free: 6.707 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.001302/0.001302, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.184/1.184, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009345/0.0009345, allocations: 43.47 kB / 300.1 MB, free: 6.238 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07372/0.07466, allocations: 49.45 MB / 349.5 MB, free: 4.785 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1532/0.2279, allocations: 37.69 MB / 387.2 MB, free: 6.789 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003632/0.2316, allocations: 4.624 MB / 391.8 MB, free: 3.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.2317, allocations: 3.875 kB / 391.8 MB, free: 3.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005516/0.2323, allocations: 255.4 kB / 392.1 MB, free: 3.633 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005291/0.2329, allocations: 470.8 kB / 392.5 MB, free: 3.363 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00265/0.2355, allocations: 1.391 MB / 393.9 MB, free: 2.617 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001164/0.2367, allocations: 1.956 MB / 395.9 MB, free: 1.957 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.2369, allocations: 122.4 kB / 396 MB, free: 1.902 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000352/0.2373, allocations: 404 kB / 396.4 MB, free: 1.754 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003487/0.2376, allocations: 430.5 kB / 396.8 MB, free: 1.582 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.463e-05/0.2377, allocations: 24.84 kB / 396.8 MB, free: 1.582 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.2387, allocations: 0.7186 MB / 397.6 MB, free: 1.395 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.2388, allocations: 116.9 kB / 397.7 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002102/0.239, allocations: 265.7 kB / 397.9 MB, free: 1.203 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008597/0.2399, allocations: 1.025 MB / 399 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2399, allocations: 0 / 399 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2399, allocations: 0 / 399 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.2399, allocations: 0 / 399 MB, free: 0.5352 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.0008363/0.2408, allocations: 0.776 MB / 399.7 MB, free: 15.88 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.2408, allocations: 10.09 kB / 399.7 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.618e-05/0.2409, allocations: 79.8 kB / 399.8 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005031/0.2414, allocations: 85.94 kB / 399.9 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.2418, allocations: 328.8 kB / 400.2 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.2418, allocations: 29.5 kB / 400.3 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.611e-05/0.2418, allocations: 42.03 kB / 400.3 MB, free: 15.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005851/0.2424, allocations: 470.2 kB / 400.8 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.2425, allocations: 6.172 kB / 400.8 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.845e-05/0.2425, allocations: 22.25 kB / 400.8 MB, free: 15.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.2425, allocations: 13.31 kB / 400.8 MB, free: 15.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004092/0.2429, allocations: 302 kB / 401.1 MB, free: 14.92 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01204/0.255, allocations: 6.736 MB / 407.8 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.2554, allocations: 268.6 kB / 408.1 MB, free: 9.203 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.2556, allocations: 156.5 kB / 408.2 MB, free: 9.121 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009344/0.2649, allocations: 3.891 MB / 412.1 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.2649, allocations: 36.88 kB / 412.2 MB, free: 6.109 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.352e-06/0.2649, allocations: 0 / 412.2 MB, free: 6.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01048/0.2754, allocations: 2.457 MB / 414.6 MB, free: 3.586 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.2755, allocations: 55.41 kB / 414.7 MB, free: 3.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.2757, allocations: 303.2 kB / 415 MB, free: 3.219 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.2758, allocations: 33.7 kB / 415 MB, free: 3.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.2759, allocations: 224 kB / 415.2 MB, free: 2.957 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.919e-05/0.276, allocations: 161.7 kB / 415.4 MB, free: 2.797 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.2761, allocations: 106.1 kB / 415.5 MB, free: 2.684 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2762, allocations: 342.8 kB / 415.8 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.2765, allocations: 157.1 kB / 416 MB, free: 2.188 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.2768, allocations: 275.7 kB / 416.2 MB, free: 1.871 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005695/0.2774, allocations: 476.2 kB / 416.7 MB, free: 1.355 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.2774, allocations: 4 kB / 416.7 MB, free: 1.352 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000919/0.2783, allocations: 0.584 MB / 417.3 MB, free: 0.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.2783, allocations: 11.92 kB / 417.3 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.2783, allocations: 8 kB / 417.3 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007288/0.2856, allocations: 1.858 MB / 419.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/0.286, allocations: 107.8 kB / 419.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/0.2876, allocations: 2.459 MB / 421.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.2879, allocations: 31.98 kB / 421.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.2879, allocations: 20.06 kB / 421.8 MB, free: 12.08 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.0001641/0.2881, allocations: 185.6 kB / 422 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.382e-05/0.2882, allocations: 43.47 kB / 422 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.2892, allocations: 0.859 MB / 422.9 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.2892, allocations: 11.92 kB / 422.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.2893, allocations: 0 / 422.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008816/0.2901, allocations: 0.9574 MB / 423.8 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.2918, allocations: 1.488 MB / 425.3 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.2918, allocations: 7.984 kB / 425.3 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002713/0.2921, allocations: 71.91 kB / 425.4 MB, free: 8.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003079/0.2952, allocations: 0.618 MB / 426 MB, free: 7.672 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.2952, allocations: 19.98 kB / 426 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008147/0.296, allocations: 1.28 MB / 427.3 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.2961, allocations: 4.031 kB / 427.3 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.2974, allocations: 1.222 MB / 428.6 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.381e-05/0.2975, allocations: 116.5 kB / 428.7 MB, free: 4.938 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.662e-05/0.2975, allocations: 16.03 kB / 428.7 MB, free: 4.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.2978, allocations: 28 kB / 428.7 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.2979, allocations: 31.95 kB / 428.7 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.2979, allocations: 19.92 kB / 428.8 MB, free: 4.844 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001787/0.2981, allocations: 213.9 kB / 429 MB, free: 4.629 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2981, allocations: 4 kB / 429 MB, free: 4.625 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005484/0.2986, allocations: 223.9 kB / 429.2 MB, free: 4.406 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.001942/0.3006, allocations: 1.933 MB / 431.1 MB, free: 2.438 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.3016, allocations: 0.6948 MB / 431.8 MB, free: 1.734 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3016, allocations: 0 / 431.8 MB, free: 1.734 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008068/0.3024, allocations: 436.1 kB / 432.2 MB, free: 1.309 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.3035, allocations: 232.4 kB / 432.5 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005078/0.3086, allocations: 4.707 MB / 437.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.3089, allocations: 0.8362 MB / 438 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002523/0.3092, allocations: 72.33 kB / 438.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.3094, allocations: 167.3 kB / 438.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3094, allocations: 0 / 438.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.227/1.537, allocations: 16.57 MB / 454.8 MB, free: 10.69 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002701/1.537, allocations: 229.6 kB / 455 MB, free: 10.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.325/3.862, allocations: 0 / 455 MB, free: 10.43 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