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.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.00156/0.00156, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.001781/0.001781, allocations: 216.7 kB / 24.49 MB, free: 4.031 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.472/1.472, allocations: 207.6 MB / 235.3 MB, free: 10.02 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.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"}) [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.001705/0.001705, allocations: 55.92 kB / 347.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2901, allocations: 49.16 MB / 396.4 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.0277/0.3178, allocations: 27.37 MB / 423.7 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005578/0.3234, allocations: 4.195 MB / 427.9 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002873/0.3237, allocations: 7.25 kB / 427.9 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00075/0.3244, allocations: 213.1 kB / 428.1 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007578/0.3252, allocations: 343.7 kB / 428.5 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005068/0.3302, allocations: 1.474 MB / 429.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00143/0.3317, allocations: 0.9042 MB / 430.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002202/0.3319, allocations: 78.73 kB / 430.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007416/0.3393, allocations: 4.145 MB / 435.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000478/0.3398, allocations: 294.8 kB / 435.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.07e-05/0.3398, allocations: 28 kB / 435.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001873/0.3417, allocations: 0.7298 MB / 436.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.3419, allocations: 95.72 kB / 436.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002611/0.3421, allocations: 199.2 kB / 436.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.3436, allocations: 0.8452 MB / 437.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.3436, allocations: 0 / 437.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.3436, allocations: 3.984 kB / 437.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.3436, allocations: 4 kB / 437.3 MB, free: 10.34 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.00103/0.3446, allocations: 0.5828 MB / 437.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.3447, allocations: 15.97 kB / 437.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.767e-05/0.3448, allocations: 62.73 kB / 437.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00046/0.3452, allocations: 60.72 kB / 438 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000447/0.3457, allocations: 230 kB / 438.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.3457, allocations: 25.02 kB / 438.2 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/0.3457, allocations: 24.38 kB / 438.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005399/0.3463, allocations: 343.5 kB / 438.6 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.3463, allocations: 3.938 kB / 438.6 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.3463, allocations: 12 kB / 438.6 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.3463, allocations: 8 kB / 438.6 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003447/0.3467, allocations: 209.8 kB / 438.8 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0128/0.3595, allocations: 4.664 MB / 443.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.3598, allocations: 170.6 kB / 443.6 MB, free: 3.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.36, allocations: 84.77 kB / 443.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01022/0.3702, allocations: 2.672 MB / 446.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/0.3703, allocations: 34.56 kB / 446.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.705e-06/0.3703, allocations: 0 / 446.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.006281/0.3765, allocations: 1.271 MB / 447.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.3766, allocations: 55.41 kB / 447.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.3769, allocations: 257.9 kB / 448 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.3769, allocations: 33.7 kB / 448 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.3771, allocations: 188.4 kB / 448.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.495e-05/0.3772, allocations: 95.2 kB / 448.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.3773, allocations: 77.58 kB / 448.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3774, allocations: 334.8 kB / 448.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.3776, allocations: 99.75 kB / 448.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.3778, allocations: 190.8 kB / 449 MB, free: 14.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004297/0.3783, allocations: 299 kB / 449.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3783, allocations: 0 / 449.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007005/0.379, allocations: 406.9 kB / 449.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.379, allocations: 4 kB / 449.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.379, allocations: 4 kB / 449.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003975/0.383, allocations: 0.9302 MB / 450.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.3832, allocations: 67.91 kB / 450.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/0.3849, allocations: 1.875 MB / 452.6 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.3851, allocations: 12 kB / 452.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.3851, allocations: 12 kB / 452.6 MB, free: 10.34 MB / 366.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.0001808/0.3853, allocations: 161.6 kB / 452.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-05/0.3854, allocations: 27.81 kB / 452.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000749/0.3861, allocations: 0.4909 MB / 453.3 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.3861, allocations: 8.062 kB / 453.3 MB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.3861, allocations: 0 / 453.3 MB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007239/0.3868, allocations: 0.7247 MB / 454 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.3882, allocations: 0.9292 MB / 454.9 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3882, allocations: 0 / 454.9 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.3884, allocations: 51.91 kB / 455 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001725/0.3901, allocations: 320.4 kB / 455.3 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.3901, allocations: 7.984 kB / 455.3 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005875/0.3907, allocations: 0.6499 MB / 456 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.3907, allocations: 4.031 kB / 456 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.3917, allocations: 0.737 MB / 456.7 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.3918, allocations: 27.83 kB / 456.7 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.3918, allocations: 8 kB / 456.7 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.392, allocations: 8 kB / 456.7 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.392, allocations: 11.97 kB / 456.8 MB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/0.3921, allocations: 20.05 kB / 456.8 MB, free: 5.949 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001939/0.3923, allocations: 181.2 kB / 456.9 MB, free: 5.777 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3923, allocations: 0 / 456.9 MB, free: 5.777 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006856/0.3929, allocations: 191.7 kB / 457.1 MB, free: 5.59 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.001777/0.3947, allocations: 1.438 MB / 458.6 MB, free: 4.117 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008469/0.3956, allocations: 447.3 kB / 459 MB, free: 3.668 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3956, allocations: 4 kB / 459 MB, free: 3.664 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005122/0.3961, allocations: 231.7 kB / 459.2 MB, free: 3.438 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009081/0.397, allocations: 176.2 kB / 459.4 MB, free: 3.266 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004391/0.4014, allocations: 3.324 MB / 462.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004384/0.4018, allocations: 0.7798 MB / 463.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000195/0.402, allocations: 50.92 kB / 463.6 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.4022, allocations: 107.4 kB / 463.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4022, allocations: 0 / 463.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07126/0.4734, allocations: 13.85 MB / 477.5 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.12, allocations: 3.906 kB / 477.5 MB, free: 0.8867 MB / 382.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.csv","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.36055650700291]