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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",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.001355/0.001355, allocations: 106.5 kB / 17.73 MB, free: 5.363 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.001432/0.001432, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.374/1.374, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001438/0.001439, allocations: 47.92 kB / 328.1 MB, free: 3.785 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09805/0.0995, allocations: 46.62 MB / 374.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.411/0.5106, allocations: 172.7 MB / 0.5346 GB, free: 2.699 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003835/0.5144, allocations: 3.22 MB / 0.5377 GB, free: 15.46 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.5148, allocations: 7.938 kB / 0.5377 GB, free: 15.45 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006348/0.5154, allocations: 175 kB / 0.5379 GB, free: 15.28 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008843/0.5163, allocations: 401.7 kB / 0.5383 GB, free: 14.89 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008716/0.5172, allocations: 344.4 kB / 0.5386 GB, free: 14.55 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009468/0.5182, allocations: 0.8953 MB / 0.5395 GB, free: 13.65 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002065/0.5184, allocations: 100.7 kB / 0.5396 GB, free: 13.56 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001728/0.5201, allocations: 0.809 MB / 0.5404 GB, free: 12.75 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003369/0.5205, allocations: 263 kB / 0.5406 GB, free: 12.49 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.064e-05/0.5205, allocations: 32 kB / 0.5406 GB, free: 12.46 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002811/0.5208, allocations: 127.9 kB / 0.5408 GB, free: 12.34 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.521, allocations: 95.64 kB / 0.5409 GB, free: 12.24 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.5212, allocations: 183.3 kB / 0.541 GB, free: 12.06 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006366/0.5218, allocations: 0.517 MB / 0.5415 GB, free: 11.55 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5218, allocations: 0 / 0.5415 GB, free: 11.55 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.5218, allocations: 4 kB / 0.5415 GB, free: 11.54 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.5219, allocations: 0 / 0.5415 GB, free: 11.54 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.0009319/0.5228, allocations: 0.596 MB / 0.5421 GB, free: 10.89 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.5228, allocations: 8.031 kB / 0.5421 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.311e-05/0.5229, allocations: 62.48 kB / 0.5422 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002651/0.5232, allocations: 47.73 kB / 0.5422 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.5236, allocations: 298.5 kB / 0.5425 GB, free: 10.44 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.5237, allocations: 16.56 kB / 0.5425 GB, free: 10.42 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.723e-05/0.5237, allocations: 24 kB / 0.5426 GB, free: 10.4 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004871/0.5242, allocations: 327.6 kB / 0.5429 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.5242, allocations: 4 kB / 0.5429 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.709e-05/0.5243, allocations: 16 kB / 0.5429 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.5243, allocations: 4 kB / 0.5429 GB, free: 10.03 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.5246, allocations: 201.5 kB / 0.5431 GB, free: 9.836 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.00177/0.5264, allocations: 1.593 MB / 0.5446 GB, free: 8.094 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.5267, allocations: 171.1 kB / 0.5448 GB, free: 7.918 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.5268, allocations: 96.77 kB / 0.5449 GB, free: 7.82 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.5269, allocations: 7.938 kB / 0.5449 GB, free: 7.812 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.5269, allocations: 38.56 kB / 0.5449 GB, free: 7.766 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.5269, allocations: 4 kB / 0.5449 GB, free: 7.762 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.005586/0.5325, allocations: 1.622 MB / 0.5465 GB, free: 6.012 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.5326, allocations: 55.41 kB / 0.5466 GB, free: 5.945 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.5328, allocations: 245 kB / 0.5468 GB, free: 5.699 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.5329, allocations: 33.69 kB / 0.5468 GB, free: 5.66 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.533, allocations: 192.5 kB / 0.547 GB, free: 5.465 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.58e-05/0.5331, allocations: 103.1 kB / 0.5471 GB, free: 5.363 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.5332, allocations: 77.69 kB / 0.5472 GB, free: 5.281 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.5333, allocations: 342.7 kB / 0.5475 GB, free: 4.938 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.5335, allocations: 87.97 kB / 0.5476 GB, free: 4.852 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.5337, allocations: 187.8 kB / 0.5478 GB, free: 4.625 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004163/0.5341, allocations: 300.3 kB / 0.5481 GB, free: 4.289 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5342, allocations: 0 / 0.5481 GB, free: 4.289 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006177/0.5348, allocations: 403.1 kB / 0.5485 GB, free: 3.883 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.5348, allocations: 16.08 kB / 0.5485 GB, free: 3.867 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5348, allocations: 3.938 kB / 0.5485 GB, free: 3.863 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002188/0.535, allocations: 69.69 kB / 0.5486 GB, free: 3.789 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.5354, allocations: 88.7 kB / 0.5486 GB, free: 3.703 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/0.5369, allocations: 1.948 MB / 0.5505 GB, free: 1.594 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.5371, allocations: 12.09 kB / 0.5505 GB, free: 1.582 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.646e-05/0.5372, allocations: 43.98 kB / 0.5506 GB, free: 1.539 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.0001664/0.5374, allocations: 158.3 kB / 0.5507 GB, free: 1.375 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.152e-05/0.5375, allocations: 31.81 kB / 0.5508 GB, free: 1.344 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008025/0.5383, allocations: 434 kB / 0.5512 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.5383, allocations: 4 kB / 0.5512 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.5383, allocations: 0 / 0.5512 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005092/0.5388, allocations: 0.5591 MB / 0.5517 GB, free: 256 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1728/0.7116, allocations: 0.7377 MB / 0.5525 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.7117, allocations: 3.125 kB / 0.5525 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/0.712, allocations: 72.42 kB / 0.5525 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001003/0.7121, allocations: 19.91 kB / 0.5525 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.7122, allocations: 16.36 kB / 0.5526 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000722/0.7129, allocations: 1.382 MB / 0.5539 GB, free: 169 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7129, allocations: 1.875 kB / 0.5539 GB, free: 169 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006449/0.7136, allocations: 481.6 kB / 0.5544 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.351e-05/0.7137, allocations: 103 kB / 0.5545 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.049e-05/0.7137, allocations: 7.25 kB / 0.5545 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.714, allocations: 13.38 kB / 0.5545 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.714, allocations: 25.03 kB / 0.5545 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.798e-05/0.7141, allocations: 31.03 kB / 0.5545 GB, free: 168.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002002/0.7143, allocations: 188.6 kB / 0.5547 GB, free: 168.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.62e-07/0.7143, allocations: 0 / 0.5547 GB, free: 168.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005768/0.7149, allocations: 130.8 kB / 0.5549 GB, free: 168.7 MB / 478.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.00118/0.7161, allocations: 1.05 MB / 0.5559 GB, free: 168 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006808/0.7168, allocations: 386.2 kB / 0.5562 GB, free: 167.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.7168, allocations: 0 / 0.5562 GB, free: 167.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002771/0.7171, allocations: 228.3 kB / 0.5565 GB, free: 167.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009332/0.718, allocations: 169.3 kB / 0.5566 GB, free: 167.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00366/0.7217, allocations: 3.195 MB / 0.5597 GB, free: 165.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.7219, allocations: 0.7656 MB / 0.5605 GB, free: 165 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000421/0.7223, allocations: 116.2 kB / 0.5606 GB, free: 165 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.7226, allocations: 126.2 kB / 0.5607 GB, free: 164.9 MB / 478.1 MB Notification: Performance of SimCode: time 3.3e-07/0.7226, allocations: 3.5 kB / 0.5607 GB, free: 164.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03803/0.7606, allocations: 11.92 MB / 0.5724 GB, free: 161.4 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.49, allocations: 13.3 kB / 0.5724 GB, free: 161.3 MB / 478.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen.fmu > 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.csv","/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