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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 113.7 kB / 17.73 MB, free: 5.211 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.001152/0.001152, allocations: 183.1 kB / 18.66 MB, free: 4.281 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.332/1.332, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001618/0.001618, allocations: 55.91 kB / 328.1 MB, free: 3.758 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08092/0.08255, allocations: 46.62 MB / 374.7 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.3334/0.416, allocations: 172.8 MB / 0.5346 GB, free: 2.637 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003957/0.4199, allocations: 3.224 MB / 0.5378 GB, free: 15.39 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002163/0.4202, allocations: 4 kB / 0.5378 GB, free: 15.39 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005455/0.4208, allocations: 170.9 kB / 0.5379 GB, free: 15.22 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008628/0.4217, allocations: 405.7 kB / 0.5383 GB, free: 14.82 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007942/0.4225, allocations: 343.8 kB / 0.5386 GB, free: 14.49 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.4235, allocations: 0.8992 MB / 0.5395 GB, free: 13.59 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.4237, allocations: 100.7 kB / 0.5396 GB, free: 13.49 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001708/0.4254, allocations: 0.7988 MB / 0.5404 GB, free: 12.7 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004076/0.4258, allocations: 266.9 kB / 0.5407 GB, free: 12.43 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.056e-05/0.4259, allocations: 32 kB / 0.5407 GB, free: 12.4 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003215/0.4263, allocations: 127.8 kB / 0.5408 GB, free: 12.28 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.4264, allocations: 91.78 kB / 0.5409 GB, free: 12.19 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.4266, allocations: 183.3 kB / 0.5411 GB, free: 12.01 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006333/0.4272, allocations: 0.5208 MB / 0.5416 GB, free: 11.49 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.4273, allocations: 4 kB / 0.5416 GB, free: 11.48 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4273, allocations: 0 / 0.5416 GB, free: 11.48 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.4273, allocations: 0 / 0.5416 GB, free: 11.48 MB / 478.1 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.0008772/0.4282, allocations: 0.5921 MB / 0.5422 GB, free: 10.84 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.4282, allocations: 15.97 kB / 0.5422 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.863e-05/0.4283, allocations: 58.55 kB / 0.5422 GB, free: 10.76 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002746/0.4286, allocations: 43.8 kB / 0.5423 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/0.429, allocations: 298.5 kB / 0.5426 GB, free: 10.38 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.4291, allocations: 12.56 kB / 0.5426 GB, free: 10.37 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.593e-05/0.4291, allocations: 27.94 kB / 0.5426 GB, free: 10.34 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005123/0.4296, allocations: 323.7 kB / 0.5429 GB, free: 10 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.4297, allocations: 3.938 kB / 0.5429 GB, free: 10 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.4297, allocations: 12 kB / 0.5429 GB, free: 9.988 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.4297, allocations: 8 kB / 0.5429 GB, free: 9.98 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003351/0.4301, allocations: 201.6 kB / 0.5431 GB, free: 9.785 MB / 478.1 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.001897/0.432, allocations: 1.597 MB / 0.5447 GB, free: 8.039 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.4323, allocations: 167.2 kB / 0.5448 GB, free: 7.867 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.4324, allocations: 96.77 kB / 0.5449 GB, free: 7.77 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.4325, allocations: 4 kB / 0.5449 GB, free: 7.766 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.4325, allocations: 46.42 kB / 0.545 GB, free: 7.711 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.703e-06/0.4325, allocations: 4 kB / 0.545 GB, free: 7.707 MB / 478.1 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.005539/0.4381, allocations: 1.619 MB / 0.5466 GB, free: 5.957 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.4381, allocations: 51.41 kB / 0.5466 GB, free: 5.895 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.4384, allocations: 257 kB / 0.5469 GB, free: 5.637 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.4385, allocations: 33.7 kB / 0.5469 GB, free: 5.598 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.4386, allocations: 176.5 kB / 0.5471 GB, free: 5.418 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.752e-05/0.4387, allocations: 107.1 kB / 0.5472 GB, free: 5.312 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.4388, allocations: 77.69 kB / 0.5472 GB, free: 5.23 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.439, allocations: 342.8 kB / 0.5476 GB, free: 4.887 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.4392, allocations: 83.97 kB / 0.5476 GB, free: 4.805 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.4394, allocations: 187.8 kB / 0.5478 GB, free: 4.578 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004422/0.4398, allocations: 300.3 kB / 0.5481 GB, free: 4.242 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4399, allocations: 0 / 0.5481 GB, free: 4.242 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007032/0.4406, allocations: 415.1 kB / 0.5485 GB, free: 3.824 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.4406, allocations: 4 kB / 0.5485 GB, free: 3.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.4406, allocations: 4 kB / 0.5485 GB, free: 3.816 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002163/0.4408, allocations: 77.62 kB / 0.5486 GB, free: 3.734 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.4412, allocations: 79.89 kB / 0.5487 GB, free: 3.656 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.4428, allocations: 1.956 MB / 0.5506 GB, free: 1.539 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.443, allocations: 8 kB / 0.5506 GB, free: 1.531 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.178e-05/0.4431, allocations: 43.98 kB / 0.5506 GB, free: 1.488 MB / 478.1 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.0001801/0.4432, allocations: 162.3 kB / 0.5508 GB, free: 1.32 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.4433, allocations: 35.8 kB / 0.5508 GB, free: 1.285 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008536/0.4442, allocations: 434.7 kB / 0.5512 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.4442, allocations: 4 kB / 0.5512 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.4442, allocations: 0 / 0.5512 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005657/0.4448, allocations: 0.563 MB / 0.5518 GB, free: 192 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1429/0.5877, allocations: 0.7228 MB / 0.5525 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.5877, allocations: 2.172 kB / 0.5525 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003193/0.588, allocations: 72.53 kB / 0.5526 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.547e-05/0.5881, allocations: 17.52 kB / 0.5526 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.5882, allocations: 17.02 kB / 0.5526 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006083/0.5888, allocations: 1.386 MB / 0.5539 GB, free: 169.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.5888, allocations: 1.125 kB / 0.5539 GB, free: 169.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005814/0.5894, allocations: 481.7 kB / 0.5544 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.234e-05/0.5895, allocations: 105.8 kB / 0.5545 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.67e-05/0.5895, allocations: 6.547 kB / 0.5545 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.5897, allocations: 8.75 kB / 0.5545 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.5898, allocations: 31.08 kB / 0.5545 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.275e-05/0.5898, allocations: 30.92 kB / 0.5546 GB, free: 168.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000157/0.59, allocations: 193.1 kB / 0.5548 GB, free: 168.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.59, allocations: 0 / 0.5548 GB, free: 168.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005161/0.5905, allocations: 123.5 kB / 0.5549 GB, free: 168.7 MB / 478.1 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.001016/0.5915, allocations: 1.058 MB / 0.5559 GB, free: 168.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005985/0.5922, allocations: 377.6 kB / 0.5563 GB, free: 167.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.5922, allocations: 1.062 kB / 0.5563 GB, free: 167.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.5924, allocations: 231.8 kB / 0.5565 GB, free: 167.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008773/0.5933, allocations: 167.7 kB / 0.5567 GB, free: 167.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/0.5965, allocations: 3.189 MB / 0.5598 GB, free: 165.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.5966, allocations: 0.7656 MB / 0.5605 GB, free: 165.1 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000371/0.597, allocations: 122.3 kB / 0.5606 GB, free: 165 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.5972, allocations: 134.1 kB / 0.5608 GB, free: 165 MB / 478.1 MB Notification: Performance of SimCode: time 2.71e-07/0.5972, allocations: 0 / 0.5608 GB, free: 165 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04161/0.6389, allocations: 11.9 MB / 0.5724 GB, free: 161.4 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.57, allocations: 6.062 kB / 0.5724 GB, free: 161.4 MB / 478.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/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/jenkins1/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) Reference file matches