Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.IdealGases.Air,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",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.0008599/0.0008599, allocations: 96.39 kB / 17.3 MB, free: 6.391 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.001027/0.001027, allocations: 177.5 kB / 18.21 MB, free: 5.551 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.154/1.154, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.000456/0.000456, allocations: 8 kB / 281.5 MB, free: 3.305 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07355/0.07401, allocations: 47.58 MB / 329.1 MB, free: 3.656 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.2634/0.3374, allocations: 168.4 MB / 497.4 MB, free: 1.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002843/0.3403, allocations: 3.194 MB / 0.4889 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.3404, allocations: 3.938 kB / 0.4889 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003743/0.3408, allocations: 147.2 kB / 0.489 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005647/0.3414, allocations: 376.1 kB / 0.4894 GB, free: 13.72 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006171/0.342, allocations: 322.5 kB / 0.4897 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009724/0.343, allocations: 1.351 MB / 0.491 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.3432, allocations: 73.52 kB / 0.4911 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.3443, allocations: 0.7085 MB / 0.4918 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.3446, allocations: 286.9 kB / 0.4921 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.3446, allocations: 16 kB / 0.4921 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002084/0.3448, allocations: 103.8 kB / 0.4922 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.659e-05/0.3449, allocations: 79.72 kB / 0.4922 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.3451, allocations: 197 kB / 0.4924 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004199/0.3455, allocations: 0.4984 MB / 0.4929 GB, free: 10.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.3455, allocations: 4 kB / 0.4929 GB, free: 10.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3455, allocations: 0 / 0.4929 GB, free: 10.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3455, allocations: 0 / 0.4929 GB, free: 10.09 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.0005877/0.3461, allocations: 0.5153 MB / 0.4934 GB, free: 9.531 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.3462, allocations: 12.03 kB / 0.4934 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.829e-05/0.3462, allocations: 62.53 kB / 0.4935 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002318/0.3465, allocations: 47.61 kB / 0.4935 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.3468, allocations: 290.4 kB / 0.4938 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.3468, allocations: 16.56 kB / 0.4938 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.969e-05/0.3468, allocations: 25.44 kB / 0.4939 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000423/0.3473, allocations: 319.6 kB / 0.4942 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3473, allocations: 4 kB / 0.4942 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/0.3473, allocations: 12 kB / 0.4942 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.3473, allocations: 8 kB / 0.4942 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002868/0.3476, allocations: 201.6 kB / 0.4944 GB, free: 8.477 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.001411/0.349, allocations: 1.585 MB / 0.4959 GB, free: 6.742 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.3493, allocations: 175.1 kB / 0.4961 GB, free: 6.562 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.3494, allocations: 100.8 kB / 0.4962 GB, free: 6.461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.3495, allocations: 7.984 kB / 0.4962 GB, free: 6.453 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.3495, allocations: 34.56 kB / 0.4962 GB, free: 6.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.142e-06/0.3495, allocations: 0 / 0.4962 GB, free: 6.41 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.004845/0.3543, allocations: 1.615 MB / 0.4978 GB, free: 4.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.3544, allocations: 55.41 kB / 0.4979 GB, free: 4.594 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.3546, allocations: 260.8 kB / 0.4981 GB, free: 4.332 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.3547, allocations: 33.7 kB / 0.4981 GB, free: 4.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.118e-05/0.3547, allocations: 184.1 kB / 0.4983 GB, free: 4.105 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.425e-05/0.3548, allocations: 90.66 kB / 0.4984 GB, free: 4.016 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.3549, allocations: 33.7 kB / 0.4984 GB, free: 3.977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.056e-05/0.355, allocations: 342.8 kB / 0.4988 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.3551, allocations: 91.73 kB / 0.4989 GB, free: 3.543 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.3553, allocations: 191.7 kB / 0.499 GB, free: 3.312 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/0.3557, allocations: 312.3 kB / 0.4993 GB, free: 2.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3557, allocations: 4 kB / 0.4993 GB, free: 2.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005597/0.3562, allocations: 391 kB / 0.4997 GB, free: 2.566 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3563, allocations: 8 kB / 0.4997 GB, free: 2.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3563, allocations: 4 kB / 0.4997 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001805/0.3565, allocations: 69.67 kB / 0.4998 GB, free: 2.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.3568, allocations: 83.89 kB / 0.4999 GB, free: 2.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.3579, allocations: 1.856 MB / 0.5017 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.3581, allocations: 28.17 kB / 0.5017 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/0.3581, allocations: 40 kB / 0.5017 GB, free: 324 kB / 398.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.00013/0.3583, allocations: 153.7 kB / 0.5019 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.544e-05/0.3583, allocations: 31.64 kB / 0.5019 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008505/0.3592, allocations: 439.6 kB / 0.5023 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3592, allocations: 7.938 kB / 0.5024 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.3592, allocations: 0 / 0.5024 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004518/0.3597, allocations: 0.5673 MB / 0.5029 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008146/0.3605, allocations: 0.7232 MB / 0.5036 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3605, allocations: 0 / 0.5036 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.3608, allocations: 71.89 kB / 0.5037 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-05/0.3608, allocations: 24.84 kB / 0.5037 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.3609, allocations: 15.98 kB / 0.5037 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006807/0.3616, allocations: 1.284 MB / 0.505 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3616, allocations: 160 / 0.505 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005527/0.3621, allocations: 493.9 kB / 0.5054 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-05/0.3622, allocations: 104.8 kB / 0.5055 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.3623, allocations: 8 kB / 0.5056 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.3625, allocations: 20.05 kB / 0.5056 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.3625, allocations: 27.91 kB / 0.5056 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/0.3626, allocations: 31.98 kB / 0.5056 GB, free: 11.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001481/0.3627, allocations: 186 kB / 0.5058 GB, free: 11.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3628, allocations: 0 / 0.5058 GB, free: 11.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004135/0.3632, allocations: 131.9 kB / 0.5059 GB, free: 11.67 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.000966/0.3641, allocations: 1.05 MB / 0.507 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005168/0.3647, allocations: 366.4 kB / 0.5073 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3647, allocations: 4.75 kB / 0.5073 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002386/0.3649, allocations: 234.5 kB / 0.5075 GB, free: 9.969 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008822/0.3658, allocations: 160.5 kB / 0.5077 GB, free: 9.809 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/0.3691, allocations: 3.363 MB / 0.511 GB, free: 6.277 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.3694, allocations: 0.7645 MB / 0.5117 GB, free: 5.488 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004811/0.3698, allocations: 114.9 kB / 0.5118 GB, free: 5.375 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.3701, allocations: 123.4 kB / 0.5119 GB, free: 5.258 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3701, allocations: 0 / 0.5119 GB, free: 5.258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8395/1.21, allocations: 11.28 MB / 0.523 GB, free: 9.961 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003272/1.21, allocations: 249.2 kB / 0.5232 GB, free: 9.703 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.946/3.156, allocations: 0 / 0.5232 GB, free: 9.703 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Air/Air.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches