Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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: 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_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_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001173, allocations: 107.3 kB / 18.4 MB, free: 4.699 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.001246/0.001246, allocations: 187.3 kB / 19.34 MB, free: 3.777 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.252/1.252, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001195/0.001195, allocations: 47.94 kB / 329.2 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07445/0.07566, allocations: 46.62 MB / 375.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.3226/0.3982, allocations: 172.7 MB / 0.5357 GB, free: 2.477 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003387/0.4017, allocations: 3.212 MB / 0.5389 GB, free: 15.25 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.4018, allocations: 4 kB / 0.5389 GB, free: 15.25 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004594/0.4023, allocations: 170.9 kB / 0.539 GB, free: 15.08 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006663/0.403, allocations: 407.2 kB / 0.5394 GB, free: 14.68 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007332/0.4037, allocations: 350.5 kB / 0.5398 GB, free: 14.34 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007762/0.4045, allocations: 0.8915 MB / 0.5406 GB, free: 13.45 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.4047, allocations: 100.7 kB / 0.5407 GB, free: 13.35 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001326/0.406, allocations: 0.7977 MB / 0.5415 GB, free: 12.55 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000335/0.4064, allocations: 270.9 kB / 0.5418 GB, free: 12.29 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.165e-05/0.4064, allocations: 28 kB / 0.5418 GB, free: 12.26 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002913/0.4067, allocations: 127.8 kB / 0.5419 GB, free: 12.14 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.4069, allocations: 91.73 kB / 0.542 GB, free: 12.05 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.4071, allocations: 187.2 kB / 0.5422 GB, free: 11.86 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006017/0.4077, allocations: 0.5141 MB / 0.5427 GB, free: 11.35 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4077, allocations: 4 kB / 0.5427 GB, free: 11.34 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4077, allocations: 0 / 0.5427 GB, free: 11.34 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.4077, allocations: 0 / 0.5427 GB, free: 11.34 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.0008522/0.4086, allocations: 0.5853 MB / 0.5433 GB, free: 10.71 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.4086, allocations: 11.89 kB / 0.5433 GB, free: 10.7 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000293/0.4089, allocations: 43.61 kB / 0.5433 GB, free: 10.65 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/0.4094, allocations: 302.3 kB / 0.5436 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.4094, allocations: 12.56 kB / 0.5436 GB, free: 10.3 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.763e-05/0.4095, allocations: 24 kB / 0.5436 GB, free: 10.28 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004855/0.4099, allocations: 323.7 kB / 0.5439 GB, free: 9.941 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.41, allocations: 3.938 kB / 0.5439 GB, free: 9.938 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.41, allocations: 12 kB / 0.544 GB, free: 9.926 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.41, allocations: 8 kB / 0.544 GB, free: 9.918 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003192/0.4104, allocations: 205.5 kB / 0.5442 GB, free: 9.719 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.001658/0.412, allocations: 1.585 MB / 0.5457 GB, free: 7.984 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.4123, allocations: 171.1 kB / 0.5459 GB, free: 7.809 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.4125, allocations: 104.7 kB / 0.546 GB, free: 7.703 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.4125, allocations: 4 kB / 0.546 GB, free: 7.699 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.4125, allocations: 38.55 kB / 0.546 GB, free: 7.652 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.412e-06/0.4125, allocations: 4 kB / 0.546 GB, free: 7.648 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.005128/0.4177, allocations: 1.619 MB / 0.5476 GB, free: 5.898 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.4177, allocations: 51.41 kB / 0.5476 GB, free: 5.836 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.418, allocations: 260.8 kB / 0.5479 GB, free: 5.574 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.418, allocations: 33.7 kB / 0.5479 GB, free: 5.535 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.4181, allocations: 176.2 kB / 0.5481 GB, free: 5.355 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.249e-05/0.4182, allocations: 98.62 kB / 0.5482 GB, free: 5.258 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.4183, allocations: 77.69 kB / 0.5483 GB, free: 5.176 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.4185, allocations: 338.8 kB / 0.5486 GB, free: 4.836 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.4186, allocations: 83.97 kB / 0.5487 GB, free: 4.754 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.4189, allocations: 191.7 kB / 0.5488 GB, free: 4.523 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004274/0.4193, allocations: 300.3 kB / 0.5491 GB, free: 4.188 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4193, allocations: 3.938 kB / 0.5491 GB, free: 4.184 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006207/0.4199, allocations: 407 kB / 0.5495 GB, free: 3.773 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.42, allocations: 8 kB / 0.5495 GB, free: 3.766 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.42, allocations: 4 kB / 0.5495 GB, free: 3.762 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000206/0.4202, allocations: 73.69 kB / 0.5496 GB, free: 3.684 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.4205, allocations: 79.89 kB / 0.5497 GB, free: 3.605 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.4218, allocations: 1.954 MB / 0.5516 GB, free: 1.492 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.422, allocations: 12.09 kB / 0.5516 GB, free: 1.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-05/0.4221, allocations: 43.98 kB / 0.5516 GB, free: 1.438 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.0001536/0.4222, allocations: 154.5 kB / 0.5518 GB, free: 1.277 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.554e-05/0.4223, allocations: 27.72 kB / 0.5518 GB, free: 1.25 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008331/0.4232, allocations: 441.2 kB / 0.5522 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005181/0.4237, allocations: 0.5591 MB / 0.5528 GB, free: 156 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.4237, allocations: 3.938 kB / 0.5528 GB, free: 152 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.329e-05/0.4238, allocations: 100.8 kB / 0.5529 GB, free: 32 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.4238, allocations: 8 kB / 0.5529 GB, free: 24 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.424, allocations: 4 kB / 0.5529 GB, free: 20 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.1458/0.5699, allocations: 21.72 kB / 0.5529 GB, free: 171.3 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008344/0.5707, allocations: 370 kB / 0.5533 GB, free: 171.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006028/0.5713, allocations: 0.5135 MB / 0.5538 GB, free: 171 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001471/0.5715, allocations: 99.75 kB / 0.5539 GB, free: 171 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001747/0.5717, allocations: 190.5 kB / 0.5541 GB, free: 170.9 MB / 478.1 MB Notification: Performance of Backend: time 4.51e-07/0.5717, allocations: 0 / 0.5541 GB, free: 170.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.5728, allocations: 420.3 kB / 0.5545 GB, free: 170.7 MB / 478.1 MB Notification: Performance of SimCode: time 0.001376/0.5742, allocations: 1.183 MB / 0.5556 GB, free: 170 MB / 478.1 MB Notification: Performance of Templates: time 0.01337/0.5876, allocations: 8.73 MB / 0.5641 GB, free: 168.6 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_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/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches