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.001201/0.001201, allocations: 107.4 kB / 17.15 MB, free: 6.328 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.001165/0.001165, allocations: 198 kB / 18.07 MB, free: 5.434 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.251/1.251, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001048/0.001048, allocations: 43.94 kB / 280.1 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07357/0.07463, allocations: 46.64 MB / 326.7 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.2732/0.3479, allocations: 170.6 MB / 497.3 MB, free: 12.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003084/0.351, allocations: 3.233 MB / 0.4888 GB, free: 9.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.3512, allocations: 4 kB / 0.4888 GB, free: 9.547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004576/0.3517, allocations: 143.2 kB / 0.489 GB, free: 9.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000611/0.3523, allocations: 383.9 kB / 0.4893 GB, free: 9.031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006443/0.3529, allocations: 313.8 kB / 0.4896 GB, free: 8.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009841/0.3539, allocations: 1.348 MB / 0.491 GB, free: 7.375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.3541, allocations: 76.64 kB / 0.491 GB, free: 7.301 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.3553, allocations: 0.7124 MB / 0.4917 GB, free: 6.586 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002783/0.3556, allocations: 298.8 kB / 0.492 GB, free: 6.293 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.388e-05/0.3556, allocations: 19.94 kB / 0.492 GB, free: 6.273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002275/0.3559, allocations: 107.9 kB / 0.4921 GB, free: 6.168 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.57e-05/0.356, allocations: 91.64 kB / 0.4922 GB, free: 6.078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.3561, allocations: 167.3 kB / 0.4924 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004593/0.3566, allocations: 0.5102 MB / 0.4929 GB, free: 5.402 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3566, allocations: 0 / 0.4929 GB, free: 5.402 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.3566, allocations: 0 / 0.4929 GB, free: 5.402 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.82e-06/0.3566, allocations: 0 / 0.4929 GB, free: 5.402 MB / 398.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.0007148/0.3574, allocations: 0.5816 MB / 0.4934 GB, free: 4.773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3574, allocations: 12.03 kB / 0.4935 GB, free: 4.762 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.529e-05/0.3575, allocations: 65.72 kB / 0.4935 GB, free: 4.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002415/0.3577, allocations: 39.62 kB / 0.4936 GB, free: 4.652 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.358, allocations: 290.4 kB / 0.4938 GB, free: 4.328 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.358, allocations: 20.55 kB / 0.4939 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.3581, allocations: 24 kB / 0.4939 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000431/0.3585, allocations: 323.6 kB / 0.4942 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3585, allocations: 0 / 0.4942 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.189e-05/0.3586, allocations: 12 kB / 0.4942 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.3586, allocations: 8 kB / 0.4942 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002869/0.3589, allocations: 205.5 kB / 0.4944 GB, free: 3.719 MB / 398.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.001459/0.3603, allocations: 1.581 MB / 0.4959 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.3606, allocations: 179.8 kB / 0.4961 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.3607, allocations: 96.77 kB / 0.4962 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.3608, allocations: 4 kB / 0.4962 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.3608, allocations: 30.56 kB / 0.4962 GB, free: 1.664 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.232e-06/0.3608, allocations: 4 kB / 0.4962 GB, free: 1.66 MB / 398.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.004899/0.3657, allocations: 1.617 MB / 0.4978 GB, free: 15.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.3658, allocations: 55.41 kB / 0.4979 GB, free: 15.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.366, allocations: 256.9 kB / 0.4981 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.366, allocations: 33.7 kB / 0.4982 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.613e-05/0.3661, allocations: 176.2 kB / 0.4983 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.459e-05/0.3662, allocations: 94.64 kB / 0.4984 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.3663, allocations: 89.38 kB / 0.4985 GB, free: 15.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.3664, allocations: 342.8 kB / 0.4988 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.3665, allocations: 87.95 kB / 0.4989 GB, free: 14.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.3667, allocations: 195.7 kB / 0.4991 GB, free: 14.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.3671, allocations: 308.3 kB / 0.4994 GB, free: 14.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3671, allocations: 0 / 0.4994 GB, free: 14.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005588/0.3677, allocations: 398.7 kB / 0.4998 GB, free: 13.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.3677, allocations: 4 kB / 0.4998 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.3677, allocations: 4 kB / 0.4998 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001873/0.3679, allocations: 74.08 kB / 0.4998 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.3682, allocations: 91.89 kB / 0.4999 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.3694, allocations: 1.852 MB / 0.5017 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.3696, allocations: 19.94 kB / 0.5018 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/0.3696, allocations: 43.98 kB / 0.5018 GB, free: 11.52 MB / 414.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.0001386/0.3698, allocations: 157.8 kB / 0.502 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.274e-05/0.3698, allocations: 27.66 kB / 0.502 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000839/0.3707, allocations: 434.2 kB / 0.5024 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3707, allocations: 8 kB / 0.5024 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.3707, allocations: 0.875 kB / 0.5024 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004589/0.3712, allocations: 0.563 MB / 0.503 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008269/0.372, allocations: 0.7232 MB / 0.5037 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.372, allocations: 4 kB / 0.5037 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/0.3723, allocations: 71.95 kB / 0.5037 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.436e-05/0.3724, allocations: 20.84 kB / 0.5037 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.3724, allocations: 19.98 kB / 0.5038 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007044/0.3731, allocations: 1.288 MB / 0.505 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3732, allocations: 0 / 0.505 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005623/0.3737, allocations: 486.5 kB / 0.5055 GB, free: 7.406 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.414e-05/0.3738, allocations: 109 kB / 0.5056 GB, free: 7.281 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.73e-05/0.3739, allocations: 7.938 kB / 0.5056 GB, free: 7.273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.3741, allocations: 15.91 kB / 0.5056 GB, free: 7.258 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.3741, allocations: 27.91 kB / 0.5056 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.895e-05/0.3742, allocations: 31.98 kB / 0.5057 GB, free: 7.199 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001533/0.3743, allocations: 186 kB / 0.5059 GB, free: 7.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3744, allocations: 4 kB / 0.5059 GB, free: 7.016 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004185/0.3748, allocations: 127.9 kB / 0.506 GB, free: 6.891 MB / 414.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.0009863/0.3758, allocations: 1.05 MB / 0.507 GB, free: 5.805 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005249/0.3763, allocations: 375.2 kB / 0.5074 GB, free: 5.426 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3763, allocations: 0 / 0.5074 GB, free: 5.426 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002508/0.3766, allocations: 230.5 kB / 0.5076 GB, free: 5.188 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008087/0.3774, allocations: 163.6 kB / 0.5077 GB, free: 5.027 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003319/0.3807, allocations: 3.295 MB / 0.511 GB, free: 1.559 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.381, allocations: 0.7645 MB / 0.5117 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004863/0.3815, allocations: 118.9 kB / 0.5118 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/0.3817, allocations: 127.4 kB / 0.5119 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3817, allocations: 0 / 0.5119 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8923/1.274, allocations: 11.38 MB / 0.5231 GB, free: 5.094 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003064/1.274, allocations: 241.7 kB / 0.5233 GB, free: 4.844 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/3.148, allocations: 3.938 kB / 0.5233 GB, free: 4.84 MB / 430.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","../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