Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008598/0.0008599, allocations: 177 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.257/1.257, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007573/0.0007573, allocations: 94.31 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003263, allocations: 11.98 kB / 327 MB, free: 184 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2361, allocations: 47.57 MB / 374.6 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.3664/0.6026, allocations: 156.9 MB / 0.5191 GB, free: 1.203 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004172/0.6068, allocations: 2.985 MB / 0.522 GB, free: 1.121 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004951/0.6074, allocations: 5 kB / 0.522 GB, free: 1.121 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006827/0.6081, allocations: 128.3 kB / 0.5221 GB, free: 1.117 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001273/0.6094, allocations: 366.9 kB / 0.5224 GB, free: 1.098 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009854/0.6104, allocations: 283.1 kB / 0.5227 GB, free: 1.078 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001655/0.6121, allocations: 1.115 MB / 0.5238 GB, free: 1.074 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002456/0.6123, allocations: 73.2 kB / 0.5239 GB, free: 1.062 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002281/0.6146, allocations: 0.6663 MB / 0.5245 GB, free: 1.051 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007003/0.6153, allocations: 276.2 kB / 0.5248 GB, free: 1.047 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.329e-05/0.6154, allocations: 14.31 kB / 0.5248 GB, free: 1.047 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005184/0.6159, allocations: 106.5 kB / 0.5249 GB, free: 1.043 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.6161, allocations: 77.55 kB / 0.525 GB, free: 1.043 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002197/0.6163, allocations: 91.98 kB / 0.5251 GB, free: 1.012 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005575/0.6169, allocations: 398.3 kB / 0.5254 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6169, allocations: 0 / 0.5254 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6169, allocations: 4.969 kB / 0.5254 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.6169, allocations: 0 / 0.5254 GB, free: 0.9844 MB / 378.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.00102/0.618, allocations: 0.5116 MB / 0.5259 GB, free: 16.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.618, allocations: 8.469 kB / 0.526 GB, free: 16.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003597/0.6184, allocations: 45.45 kB / 0.526 GB, free: 16.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004316/0.6188, allocations: 272.1 kB / 0.5263 GB, free: 16.33 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.6188, allocations: 19.69 kB / 0.5263 GB, free: 16.33 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.077e-05/0.6189, allocations: 30.59 kB / 0.5263 GB, free: 16.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005441/0.6195, allocations: 321.9 kB / 0.5266 GB, free: 16.22 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.6195, allocations: 0.9375 kB / 0.5266 GB, free: 16.22 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.138e-05/0.6195, allocations: 11 kB / 0.5266 GB, free: 16.22 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.6196, allocations: 6.156 kB / 0.5266 GB, free: 16.22 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003644/0.6199, allocations: 209.5 kB / 0.5268 GB, free: 16.21 MB / 394.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.001869/0.6218, allocations: 1.58 MB / 0.5284 GB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.6221, allocations: 175.8 kB / 0.5285 GB, free: 15 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.6223, allocations: 102 kB / 0.5286 GB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.755e-05/0.6223, allocations: 5.125 kB / 0.5286 GB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.6224, allocations: 37.72 kB / 0.5287 GB, free: 14.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 1.964e-06/0.6224, allocations: 0 / 0.5287 GB, free: 14.95 MB / 394.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.005573/0.628, allocations: 1.63 MB / 0.5303 GB, free: 14.21 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.628, allocations: 53.16 kB / 0.5303 GB, free: 14.15 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.6283, allocations: 256.2 kB / 0.5306 GB, free: 14.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.748e-05/0.6284, allocations: 30.92 kB / 0.5306 GB, free: 14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.6285, allocations: 174.7 kB / 0.5308 GB, free: 13.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.055e-05/0.6286, allocations: 105.4 kB / 0.5309 GB, free: 13.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.117e-05/0.6286, allocations: 6.688 kB / 0.5309 GB, free: 13.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.6287, allocations: 333.5 kB / 0.5312 GB, free: 13.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.6289, allocations: 97.36 kB / 0.5313 GB, free: 13.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.6291, allocations: 184.5 kB / 0.5315 GB, free: 13.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.6293, allocations: 121.6 kB / 0.5316 GB, free: 13.38 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6293, allocations: 0 / 0.5316 GB, free: 13.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006254/0.63, allocations: 398.3 kB / 0.532 GB, free: 13.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.63, allocations: 5.406 kB / 0.532 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.63, allocations: 2.938 kB / 0.532 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002527/0.6303, allocations: 75.27 kB / 0.532 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/0.6306, allocations: 86.83 kB / 0.5321 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.632, allocations: 1.846 MB / 0.5339 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/0.6323, allocations: 28.67 kB / 0.5339 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-05/0.6323, allocations: 39.41 kB / 0.534 GB, free: 11.5 MB / 394.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001833/0.6325, allocations: 158.6 kB / 0.5341 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-05/0.6326, allocations: 29.16 kB / 0.5342 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008733/0.6335, allocations: 442.6 kB / 0.5346 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.6335, allocations: 2.406 kB / 0.5346 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.6335, allocations: 2.906 kB / 0.5346 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005122/0.634, allocations: 0.5584 MB / 0.5351 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.6351, allocations: 0.7284 MB / 0.5358 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.6351, allocations: 2.906 kB / 0.5358 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/0.6354, allocations: 70.05 kB / 0.5359 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.793e-05/0.6355, allocations: 24.33 kB / 0.5359 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.6355, allocations: 15.09 kB / 0.536 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008648/0.6364, allocations: 1.287 MB / 0.5372 GB, free: 9.203 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6364, allocations: 2.688 kB / 0.5372 GB, free: 9.203 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006354/0.6371, allocations: 481 kB / 0.5377 GB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.6372, allocations: 103.4 kB / 0.5378 GB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.304e-05/0.6373, allocations: 8.531 kB / 0.5378 GB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.6375, allocations: 18.88 kB / 0.5378 GB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.6376, allocations: 26.62 kB / 0.5378 GB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-05/0.6376, allocations: 29.08 kB / 0.5378 GB, free: 8.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001739/0.6378, allocations: 190.2 kB / 0.538 GB, free: 8.828 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6378, allocations: 0 / 0.538 GB, free: 8.828 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005224/0.6383, allocations: 123.5 kB / 0.5381 GB, free: 8.824 MB / 394.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003528/0.6387, allocations: 164.3 kB / 0.5383 GB, free: 8.723 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005886/0.6393, allocations: 371.5 kB / 0.5387 GB, free: 8.602 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6393, allocations: 2.906 kB / 0.5387 GB, free: 8.602 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.6396, allocations: 228 kB / 0.5389 GB, free: 8.492 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008919/0.6405, allocations: 156.4 kB / 0.539 GB, free: 8.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.6416, allocations: 0.864 MB / 0.5399 GB, free: 7.988 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.6419, allocations: 0.7757 MB / 0.5406 GB, free: 7.281 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002866/0.6422, allocations: 72.39 kB / 0.5407 GB, free: 7.266 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.6422, allocations: 0 / 0.5407 GB, free: 7.266 MB / 394.7 MB Notification: Performance of Templates: time 0.01084/0.653, allocations: 7.454 MB / 0.548 GB, free: 3.484 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat","/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","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches