Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.IdealGases.Nitrogen,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.IdealGases.Nitrogen") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,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.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001272/0.001272, allocations: 180 kB / 16.41 MB, free: 5.707 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.343/1.343, allocations: 205.4 MB / 222.5 MB, free: 9.102 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.0007197/0.0007196, allocations: 93.05 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003023/0.0003023, allocations: 12 kB / 327 MB, free: 176 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2027, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.3195/0.5222, allocations: 156.9 MB / 0.519 GB, free: 1.211 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00311/0.5254, allocations: 2.985 MB / 0.5219 GB, free: 1.125 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003595/0.5258, allocations: 4.844 kB / 0.5219 GB, free: 1.125 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004831/0.5263, allocations: 130.7 kB / 0.5221 GB, free: 1.121 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008372/0.5271, allocations: 361.5 kB / 0.5224 GB, free: 1.102 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008083/0.5279, allocations: 276.4 kB / 0.5227 GB, free: 1.094 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001279/0.5292, allocations: 1.113 MB / 0.5238 GB, free: 1.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.5294, allocations: 74.03 kB / 0.5238 GB, free: 1.078 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001891/0.5313, allocations: 0.674 MB / 0.5245 GB, free: 1.062 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003544/0.5317, allocations: 273.6 kB / 0.5247 GB, free: 1.059 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.046e-05/0.5317, allocations: 18 kB / 0.5248 GB, free: 1.055 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003121/0.5321, allocations: 109.3 kB / 0.5249 GB, free: 1.051 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.2e-05/0.5322, allocations: 79.06 kB / 0.5249 GB, free: 1.051 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.765e-05/0.5323, allocations: 91.83 kB / 0.525 GB, free: 1.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004606/0.5327, allocations: 396.8 kB / 0.5254 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5327, allocations: 0 / 0.5254 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5328, allocations: 4 kB / 0.5254 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.5328, allocations: 0.9375 kB / 0.5254 GB, free: 0.9922 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.0008108/0.5336, allocations: 0.5141 MB / 0.5259 GB, free: 16.56 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.5336, allocations: 9.062 kB / 0.5259 GB, free: 16.56 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002571/0.5339, allocations: 42.8 kB / 0.526 GB, free: 16.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.5342, allocations: 270 kB / 0.5262 GB, free: 16.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.5343, allocations: 24.03 kB / 0.5262 GB, free: 16.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.109e-05/0.5343, allocations: 27.69 kB / 0.5263 GB, free: 16.33 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004991/0.5348, allocations: 320.2 kB / 0.5266 GB, free: 16.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.5348, allocations: 1 kB / 0.5266 GB, free: 16.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.738e-05/0.5349, allocations: 10.28 kB / 0.5266 GB, free: 16.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.5349, allocations: 8.938 kB / 0.5266 GB, free: 16.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003486/0.5353, allocations: 209.5 kB / 0.5268 GB, free: 16.23 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.001625/0.5369, allocations: 1.582 MB / 0.5283 GB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.5372, allocations: 170.2 kB / 0.5285 GB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.5373, allocations: 109.6 kB / 0.5286 GB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.5374, allocations: 4.688 kB / 0.5286 GB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.5374, allocations: 37.58 kB / 0.5286 GB, free: 14.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 1.373e-06/0.5374, allocations: 0 / 0.5286 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.005282/0.5427, allocations: 1.621 MB / 0.5302 GB, free: 14.22 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.5427, allocations: 54.66 kB / 0.5303 GB, free: 14.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.543, allocations: 254.1 kB / 0.5305 GB, free: 14.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.543, allocations: 31.7 kB / 0.5306 GB, free: 14.01 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.139e-05/0.5431, allocations: 171 kB / 0.5307 GB, free: 13.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.5433, allocations: 106 kB / 0.5308 GB, free: 13.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.715e-05/0.5433, allocations: 3.25 kB / 0.5308 GB, free: 13.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.5434, allocations: 340.8 kB / 0.5311 GB, free: 13.51 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.5436, allocations: 90.59 kB / 0.5312 GB, free: 13.51 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.5438, allocations: 187.5 kB / 0.5314 GB, free: 13.39 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.5439, allocations: 121.4 kB / 0.5315 GB, free: 13.38 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.544, allocations: 2.875 kB / 0.5315 GB, free: 13.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005592/0.5445, allocations: 398.9 kB / 0.5319 GB, free: 13.31 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.5445, allocations: 10.41 kB / 0.5319 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.5446, allocations: 2 kB / 0.5319 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002034/0.5448, allocations: 74.97 kB / 0.532 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/0.5451, allocations: 83.94 kB / 0.5321 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.5464, allocations: 1.856 MB / 0.5339 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/0.5466, allocations: 28.25 kB / 0.5339 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/0.5467, allocations: 39.22 kB / 0.5339 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.0001742/0.5469, allocations: 156.1 kB / 0.5341 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.068e-05/0.5469, allocations: 26.22 kB / 0.5341 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000878/0.5478, allocations: 438.8 kB / 0.5345 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.5478, allocations: 3.594 kB / 0.5345 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.5478, allocations: 0 / 0.5345 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004772/0.5483, allocations: 0.5694 MB / 0.5351 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008569/0.5492, allocations: 0.7282 MB / 0.5358 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.5492, allocations: 3.812 kB / 0.5358 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/0.5495, allocations: 69.05 kB / 0.5359 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.152e-05/0.5496, allocations: 21.77 kB / 0.5359 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.5496, allocations: 14.09 kB / 0.5359 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007155/0.5503, allocations: 1.282 MB / 0.5372 GB, free: 9.207 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5503, allocations: 4.156 kB / 0.5372 GB, free: 9.203 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005502/0.5509, allocations: 476.4 kB / 0.5376 GB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-05/0.551, allocations: 106.8 kB / 0.5377 GB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.316e-05/0.551, allocations: 5.781 kB / 0.5377 GB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.5513, allocations: 18.86 kB / 0.5378 GB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.5514, allocations: 24.95 kB / 0.5378 GB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.5514, allocations: 33.72 kB / 0.5378 GB, free: 8.914 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001679/0.5516, allocations: 191 kB / 0.538 GB, free: 8.832 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5516, allocations: 0 / 0.538 GB, free: 8.832 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005317/0.5521, allocations: 120.4 kB / 0.5381 GB, free: 8.828 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.0003806/0.5525, allocations: 155.4 kB / 0.5383 GB, free: 8.727 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006383/0.5532, allocations: 379.6 kB / 0.5386 GB, free: 8.605 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5532, allocations: 0 / 0.5386 GB, free: 8.605 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000311/0.5535, allocations: 231 kB / 0.5388 GB, free: 8.496 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.5545, allocations: 153.2 kB / 0.539 GB, free: 8.484 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.5559, allocations: 0.8728 MB / 0.5398 GB, free: 7.992 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.5562, allocations: 0.7705 MB / 0.5406 GB, free: 7.285 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002489/0.5564, allocations: 76.56 kB / 0.5407 GB, free: 7.27 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5564, allocations: 3.938 kB / 0.5407 GB, free: 7.266 MB / 394.7 MB Notification: Performance of Templates: time 0.008972/0.5654, allocations: 7.455 MB / 0.5479 GB, free: 3.488 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches