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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 109.6 kB / 21.18 MB, free: 0.7188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 216.7 kB / 24.49 MB, free: 4.09 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 54.89 kB / 347.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2325, allocations: 49.16 MB / 396.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03704/0.2696, allocations: 37.9 MB / 434.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006449/0.276, allocations: 4.623 MB / 438.9 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004363/0.2764, allocations: 9.656 kB / 438.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009451/0.2774, allocations: 299.6 kB / 439.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009604/0.2783, allocations: 493.2 kB / 439.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004744/0.2831, allocations: 1.649 MB / 441.3 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00182/0.2849, allocations: 1.296 MB / 442.6 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002802/0.2852, allocations: 119 kB / 442.7 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000758/0.2859, allocations: 490.4 kB / 443.2 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006225/0.2866, allocations: 434.3 kB / 443.6 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.514e-05/0.2866, allocations: 48 kB / 443.7 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001796/0.2884, allocations: 0.761 MB / 444.4 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.2886, allocations: 139.6 kB / 444.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000329/0.2889, allocations: 282.9 kB / 444.9 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.2906, allocations: 1.048 MB / 445.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2906, allocations: 0 / 445.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2906, allocations: 0 / 445.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.2906, allocations: 0 / 445.9 MB, free: 1.656 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.001187/0.2918, allocations: 0.7191 MB / 446.6 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.2918, allocations: 11.98 kB / 446.6 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.794e-05/0.2919, allocations: 78.72 kB / 446.7 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008867/0.2928, allocations: 80.62 kB / 446.8 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006518/0.2934, allocations: 281.7 kB / 447.1 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/0.2935, allocations: 29.38 kB / 447.1 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.48e-05/0.2936, allocations: 40.33 kB / 447.1 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.2946, allocations: 479.5 kB / 447.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.2946, allocations: 7.938 kB / 447.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.594e-05/0.2947, allocations: 20 kB / 447.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.2947, allocations: 8 kB / 447.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006893/0.2954, allocations: 315.6 kB / 447.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01347/0.3089, allocations: 5.476 MB / 453.4 MB, free: 9.742 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004717/0.3094, allocations: 254.5 kB / 453.7 MB, free: 9.484 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.3096, allocations: 145.4 kB / 453.8 MB, free: 9.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01013/0.3197, allocations: 2.676 MB / 456.5 MB, free: 6.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.755e-05/0.3198, allocations: 38.56 kB / 456.5 MB, free: 6.613 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.495e-06/0.3198, allocations: 0 / 456.5 MB, free: 6.613 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.01171/0.3315, allocations: 2.311 MB / 458.8 MB, free: 4.258 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.3315, allocations: 59.39 kB / 458.9 MB, free: 4.188 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/0.3319, allocations: 300.5 kB / 459.2 MB, free: 3.891 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.3319, allocations: 29.7 kB / 459.2 MB, free: 3.855 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.3321, allocations: 240.4 kB / 459.4 MB, free: 3.613 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.3322, allocations: 162.6 kB / 459.6 MB, free: 3.453 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.3324, allocations: 102.3 kB / 459.7 MB, free: 3.348 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.3325, allocations: 350.8 kB / 460 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/0.3328, allocations: 153.2 kB / 460.2 MB, free: 2.844 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/0.3332, allocations: 272.7 kB / 460.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006651/0.3338, allocations: 480.2 kB / 460.9 MB, free: 2.012 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.3338, allocations: 4 kB / 460.9 MB, free: 2.008 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00107/0.3349, allocations: 0.5921 MB / 461.5 MB, free: 1.402 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3349, allocations: 8 kB / 461.5 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.3349, allocations: 4 kB / 461.5 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007641/0.3426, allocations: 1.847 MB / 463.4 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.343, allocations: 107.9 kB / 463.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/0.3451, allocations: 2.458 MB / 466 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.3454, allocations: 12 kB / 466 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/0.3454, allocations: 24 kB / 466 MB, free: 12.77 MB / 382.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.0002159/0.3457, allocations: 177.6 kB / 466.2 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-05/0.3457, allocations: 43.7 kB / 466.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/0.347, allocations: 0.8726 MB / 467.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.347, allocations: 11.98 kB / 467.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.347, allocations: 0 / 467.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001096/0.3481, allocations: 0.9785 MB / 468.1 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.3502, allocations: 1.487 MB / 469.6 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.3502, allocations: 0 / 469.6 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003035/0.3505, allocations: 75.89 kB / 469.6 MB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003366/0.3538, allocations: 0.6297 MB / 470.3 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.005e-05/0.3539, allocations: 15.94 kB / 470.3 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.355, allocations: 1.288 MB / 471.6 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/0.355, allocations: 7.969 kB / 471.6 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.3566, allocations: 1.247 MB / 472.8 MB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.21e-05/0.3566, allocations: 43.69 kB / 472.9 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.859e-05/0.3567, allocations: 12 kB / 472.9 MB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.3569, allocations: 11.94 kB / 472.9 MB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/0.357, allocations: 35.88 kB / 472.9 MB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/0.357, allocations: 16 kB / 472.9 MB, free: 5.582 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002306/0.3573, allocations: 211.1 kB / 473.1 MB, free: 5.375 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3573, allocations: 0 / 473.1 MB, free: 5.375 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007461/0.358, allocations: 239.7 kB / 473.4 MB, free: 5.141 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.002484/0.3605, allocations: 1.957 MB / 475.3 MB, free: 3.148 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.3618, allocations: 0.6802 MB / 476 MB, free: 2.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3618, allocations: 0 / 476 MB, free: 2.453 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009267/0.3627, allocations: 428.1 kB / 476.4 MB, free: 2.035 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.3639, allocations: 248.8 kB / 476.7 MB, free: 1.793 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006689/0.3706, allocations: 4.499 MB / 481.2 MB, free: 13.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005668/0.3711, allocations: 0.8401 MB / 482 MB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003264/0.3715, allocations: 72.33 kB / 482.1 MB, free: 12.15 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/0.3717, allocations: 155.4 kB / 482.2 MB, free: 12 MB / 398.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3717, allocations: 0 / 482.2 MB, free: 12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05247/0.4242, allocations: 18.02 MB / 0.4885 GB, free: 9.902 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.64, allocations: 11.84 kB / 0.4885 GB, free: 9.891 MB / 414.1 MB " [Timeout remaining time 646] (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 --stepSize=0.000201919 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.86838030209765]