Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.001164/0.001164, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004775/0.004775, allocations: 166.4 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8332/0.8332, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.Tests.MediaTestModels.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 298.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.232e-05/1.378e-05, allocations: 2.281 kB / 298.5 MB, free: 3.465 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.2697/0.2697, allocations: 149.4 MB / 447.9 MB, free: 8.953 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002852/0.2726, allocations: 2.936 MB / 450.8 MB, free: 6.004 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.2728, allocations: 7.938 kB / 450.8 MB, free: 5.996 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000545/0.2733, allocations: 176.1 kB / 451 MB, free: 5.824 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006876/0.274, allocations: 425.2 kB / 451.4 MB, free: 5.406 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006459/0.2746, allocations: 360.1 kB / 451.7 MB, free: 5.055 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006543/0.2753, allocations: 0.8989 MB / 452.6 MB, free: 4.152 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.2755, allocations: 68.89 kB / 452.7 MB, free: 4.086 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001408/0.2769, allocations: 0.942 MB / 453.6 MB, free: 3.141 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.2771, allocations: 247.2 kB / 453.9 MB, free: 2.898 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.717e-05/0.2772, allocations: 32 kB / 453.9 MB, free: 2.867 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.2774, allocations: 119.8 kB / 454 MB, free: 2.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.93e-05/0.2775, allocations: 99.64 kB / 454.1 MB, free: 2.652 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.2776, allocations: 139.8 kB / 454.3 MB, free: 2.516 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000766/0.2783, allocations: 0.5492 MB / 454.8 MB, free: 1.965 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2783, allocations: 4 kB / 454.8 MB, free: 1.961 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2783, allocations: 0 / 454.8 MB, free: 1.961 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.2783, allocations: 1.969 kB / 454.8 MB, free: 1.961 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006672/0.279, allocations: 0.5133 MB / 455.3 MB, free: 1.418 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.2791, allocations: 15.98 kB / 455.4 MB, free: 1.402 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.47e-05/0.2791, allocations: 62.53 kB / 455.4 MB, free: 1.332 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/0.2793, allocations: 43.8 kB / 455.5 MB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/0.2797, allocations: 233.3 kB / 455.7 MB, free: 1.035 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.2797, allocations: 20.44 kB / 455.7 MB, free: 1.016 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.663e-05/0.2798, allocations: 24 kB / 455.7 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/0.2802, allocations: 0.5374 MB / 456.3 MB, free: 380 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.2802, allocations: 7.938 kB / 456.3 MB, free: 372 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.2802, allocations: 12 kB / 456.3 MB, free: 360 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.2802, allocations: 7.938 kB / 456.3 MB, free: 352 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/0.2805, allocations: 197.8 kB / 456.5 MB, free: 156 kB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1496/0.4301, allocations: 1.18 MB / 457.7 MB, free: 142.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.4304, allocations: 160.9 kB / 457.8 MB, free: 142.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.4305, allocations: 89.69 kB / 457.9 MB, free: 142.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.4305, allocations: 6.266 kB / 457.9 MB, free: 142.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.4305, allocations: 42.94 kB / 458 MB, free: 142.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.184e-06/0.4305, allocations: 0.8438 kB / 458 MB, free: 142.2 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.003365/0.4339, allocations: 1.327 MB / 459.3 MB, free: 141.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.4339, allocations: 58.62 kB / 459.3 MB, free: 141.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.4341, allocations: 261.2 kB / 459.6 MB, free: 141.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.4341, allocations: 31.86 kB / 459.6 MB, free: 141.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.796e-05/0.4342, allocations: 177.6 kB / 459.8 MB, free: 141.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.96e-05/0.4343, allocations: 97.52 kB / 459.9 MB, free: 141.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.235e-05/0.4344, allocations: 87.19 kB / 460 MB, free: 141.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.792e-05/0.4344, allocations: 336.7 kB / 460.3 MB, free: 140.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.4345, allocations: 91.05 kB / 460.4 MB, free: 140.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.4347, allocations: 185.6 kB / 460.6 MB, free: 140.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.435, allocations: 305.5 kB / 460.9 MB, free: 140.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.435, allocations: 2.969 kB / 460.9 MB, free: 140.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004876/0.4354, allocations: 406 kB / 461.3 MB, free: 140.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.4355, allocations: 6.281 kB / 461.3 MB, free: 140.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.4355, allocations: 2.656 kB / 461.3 MB, free: 140.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001897/0.4357, allocations: 71.33 kB / 461.4 MB, free: 140.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.4359, allocations: 87.2 kB / 461.4 MB, free: 140.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006956/0.4366, allocations: 1.847 MB / 463.3 MB, free: 138.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.4367, allocations: 9 kB / 463.3 MB, free: 138.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/0.4367, allocations: 39.89 kB / 463.3 MB, free: 138.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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 {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.4368, allocations: 155.2 kB / 463.5 MB, free: 138.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.4369, allocations: 30.14 kB / 463.5 MB, free: 138.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005572/0.4374, allocations: 448.3 kB / 464 MB, free: 138 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4374, allocations: 2.469 kB / 464 MB, free: 138 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.4374, allocations: 0 / 464 MB, free: 138 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003199/0.4378, allocations: 0.559 MB / 464.5 MB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006721/0.4384, allocations: 0.6722 MB / 465.2 MB, free: 137 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4384, allocations: 1.125 kB / 465.2 MB, free: 137 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.4386, allocations: 77.03 kB / 465.3 MB, free: 137 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-05/0.4387, allocations: 22.11 kB / 465.3 MB, free: 137 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.4387, allocations: 13.17 kB / 465.3 MB, free: 137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003897/0.4391, allocations: 1.269 MB / 466.6 MB, free: 135.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4391, allocations: 1.062 kB / 466.6 MB, free: 135.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004431/0.4395, allocations: 481.7 kB / 467 MB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.25e-05/0.4396, allocations: 26.55 kB / 467.1 MB, free: 135.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.4396, allocations: 7.109 kB / 467.1 MB, free: 135.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.4397, allocations: 17.31 kB / 467.1 MB, free: 135.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.4398, allocations: 26.02 kB / 467.1 MB, free: 135.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/0.4398, allocations: 32.78 kB / 467.2 MB, free: 135.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001358/0.4399, allocations: 185 kB / 467.3 MB, free: 135.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4399, allocations: 1.188 kB / 467.3 MB, free: 135.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003695/0.4403, allocations: 124.5 kB / 467.5 MB, free: 135.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007569/0.4411, allocations: 1.063 MB / 468.5 MB, free: 134.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004611/0.4415, allocations: 364.9 kB / 468.9 MB, free: 134.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4415, allocations: 1 kB / 468.9 MB, free: 134.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.4417, allocations: 235.3 kB / 469.1 MB, free: 134.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.4422, allocations: 161.2 kB / 469.3 MB, free: 134.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/0.4449, allocations: 3.127 MB / 472.4 MB, free: 131.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.445, allocations: 156 kB / 472.5 MB, free: 131.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002923/0.4453, allocations: 118.5 kB / 472.7 MB, free: 131.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.4455, allocations: 130.2 kB / 472.8 MB, free: 131.7 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/0.4455, allocations: 4 kB / 472.8 MB, free: 131.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03236/0.4778, allocations: 12.96 MB / 485.8 MB, free: 125.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.272/8.75, allocations: 4 kB / 485.8 MB, free: 125.5 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_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_Tests_MediaTestModels_Air_DryAirNasa.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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: 10.459748862311244]