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.0008736/0.0008736, allocations: 90.81 kB / 17.3 MB, free: 6.336 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.0009065/0.0009065, allocations: 185 kB / 18.21 MB, free: 5.52 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.214/1.214, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0004439/0.0004441, allocations: 12 kB / 281.5 MB, free: 3.336 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07573/0.07618, allocations: 47.58 MB / 329.1 MB, free: 3.684 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03045/0.1067, allocations: 36.9 MB / 366 MB, free: 14.64 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004634/0.1114, allocations: 4.561 MB / 370.5 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003124/0.1117, allocations: 4 kB / 370.5 MB, free: 10.06 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000659/0.1124, allocations: 254.6 kB / 370.8 MB, free: 9.812 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007506/0.1131, allocations: 473.6 kB / 371.2 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003535/0.1167, allocations: 1.397 MB / 372.6 MB, free: 7.945 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001638/0.1183, allocations: 1.951 MB / 374.6 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002091/0.1185, allocations: 122.4 kB / 374.7 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004528/0.119, allocations: 402.5 kB / 375.1 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000433/0.1194, allocations: 422.3 kB / 375.5 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.732e-05/0.1195, allocations: 20 kB / 375.5 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.1207, allocations: 0.718 MB / 376.2 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.1209, allocations: 111.6 kB / 376.4 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002315/0.1211, allocations: 276.6 kB / 376.6 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.1221, allocations: 1.009 MB / 377.6 MB, free: 2.926 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1221, allocations: 0 / 377.6 MB, free: 2.926 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1222, allocations: 0 / 377.6 MB, free: 2.926 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.1222, allocations: 4 kB / 377.6 MB, free: 2.922 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.0008705/0.123, allocations: 0.6747 MB / 378.3 MB, free: 2.199 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1231, allocations: 12.03 kB / 378.3 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.657e-05/0.1232, allocations: 78.66 kB / 378.4 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005144/0.1237, allocations: 84.34 kB / 378.5 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.1241, allocations: 343.3 kB / 378.8 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.1241, allocations: 33.38 kB / 378.8 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.514e-05/0.1242, allocations: 40.36 kB / 378.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006165/0.1248, allocations: 475.5 kB / 379.4 MB, free: 1.066 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.1248, allocations: 3.938 kB / 379.4 MB, free: 1.062 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.152e-05/0.1249, allocations: 20 kB / 379.4 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/0.1249, allocations: 11.94 kB / 379.4 MB, free: 1.031 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004221/0.1253, allocations: 303.7 kB / 379.7 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.141/0.2663, allocations: 6.727 MB / 386.4 MB, free: 52.99 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.2667, allocations: 268.6 kB / 386.7 MB, free: 52.96 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.2669, allocations: 156.1 kB / 386.8 MB, free: 52.95 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009442/0.2764, allocations: 3.886 MB / 390.7 MB, free: 51.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.2764, allocations: 36.06 kB / 390.7 MB, free: 51.14 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.194e-06/0.2764, allocations: 0 / 390.7 MB, free: 51.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01129/0.2877, allocations: 2.484 MB / 393.2 MB, free: 50.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.2878, allocations: 55.5 kB / 393.3 MB, free: 50.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/0.2881, allocations: 300.6 kB / 393.6 MB, free: 49.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.2881, allocations: 36.17 kB / 393.6 MB, free: 49.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.893e-05/0.2882, allocations: 226.4 kB / 393.8 MB, free: 49.74 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.287e-05/0.2883, allocations: 160.7 kB / 394 MB, free: 49.61 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/0.2883, allocations: 48.56 kB / 394 MB, free: 49.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.758e-05/0.2884, allocations: 347.3 kB / 394.4 MB, free: 49.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.2886, allocations: 154.1 kB / 394.5 MB, free: 49.15 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/0.2889, allocations: 279.9 kB / 394.8 MB, free: 48.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005839/0.2895, allocations: 471.4 kB / 395.3 MB, free: 48.6 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2895, allocations: 4.969 kB / 395.3 MB, free: 48.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009267/0.2904, allocations: 0.5945 MB / 395.9 MB, free: 48.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.2905, allocations: 7.188 kB / 395.9 MB, free: 48.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.2905, allocations: 4.25 kB / 395.9 MB, free: 48.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006502/0.297, allocations: 0.7737 MB / 396.6 MB, free: 47.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/0.2974, allocations: 104 kB / 396.7 MB, free: 47.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.2989, allocations: 2.466 MB / 399.2 MB, free: 45.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/0.2992, allocations: 41.41 kB / 399.3 MB, free: 45.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.2993, allocations: 24.56 kB / 399.3 MB, free: 45.43 MB / 318.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.0001874/0.2995, allocations: 173 kB / 399.4 MB, free: 45.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.506e-05/0.2995, allocations: 36.25 kB / 399.5 MB, free: 45.26 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.3006, allocations: 0.8661 MB / 400.3 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.3006, allocations: 11.67 kB / 400.4 MB, free: 44.74 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.3006, allocations: 0 / 400.4 MB, free: 44.74 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007374/0.3014, allocations: 0.9562 MB / 401.3 MB, free: 44.03 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/0.3029, allocations: 1.487 MB / 402.8 MB, free: 43.01 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.3029, allocations: 0 / 402.8 MB, free: 43.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002828/0.3032, allocations: 72.97 kB / 402.9 MB, free: 42.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003139/0.3064, allocations: 0.6413 MB / 403.5 MB, free: 42.57 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.3064, allocations: 19.92 kB / 403.5 MB, free: 42.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006247/0.3071, allocations: 1.277 MB / 404.8 MB, free: 41.23 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3071, allocations: 0 / 404.8 MB, free: 41.23 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.3082, allocations: 1.223 MB / 406 MB, free: 39.98 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.704e-05/0.3083, allocations: 124.6 kB / 406.2 MB, free: 39.84 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.47e-05/0.3084, allocations: 16 kB / 406.2 MB, free: 39.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.3086, allocations: 20.67 kB / 406.2 MB, free: 39.8 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.3087, allocations: 35.89 kB / 406.2 MB, free: 39.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.3087, allocations: 15.98 kB / 406.2 MB, free: 39.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001515/0.3089, allocations: 217.9 kB / 406.5 MB, free: 39.54 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3089, allocations: 4 kB / 406.5 MB, free: 39.54 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006638/0.3096, allocations: 234.2 kB / 406.7 MB, free: 39.32 MB / 318.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.001732/0.3113, allocations: 1.927 MB / 408.6 MB, free: 37.4 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009408/0.3122, allocations: 0.685 MB / 409.3 MB, free: 36.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3123, allocations: 7.938 kB / 409.3 MB, free: 36.69 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007099/0.313, allocations: 422.5 kB / 409.7 MB, free: 36.28 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.3142, allocations: 235.5 kB / 410 MB, free: 36.06 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004443/0.3186, allocations: 4.813 MB / 414.8 MB, free: 31.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.3188, allocations: 0.8479 MB / 415.6 MB, free: 30.2 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002947/0.3191, allocations: 68.34 kB / 415.7 MB, free: 30.13 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.3193, allocations: 159.4 kB / 415.8 MB, free: 29.97 MB / 318.1 MB Notification: Performance of SimCode: time 4.8e-07/0.3193, allocations: 0 / 415.8 MB, free: 29.97 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1768/0.4961, allocations: 16.42 MB / 432.3 MB, free: 13.54 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000125/0.4963, allocations: 221.2 kB / 432.5 MB, free: 13.29 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.244/2.74, allocations: 0 / 432.5 MB, free: 13.29 MB / 318.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","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches