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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 112.9 kB / 18.45 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 213.6 kB / 21.42 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 207.6 MB / 231.8 MB, free: 4.18 MB / 174.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 52.3 kB / 342.3 MB, free: 9.98 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1119, allocations: 49.14 MB / 391.5 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.4627/0.5746, allocations: 173.3 MB / 0.5515 GB, free: 5.207 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004923/0.5795, allocations: 3.232 MB / 0.5546 GB, free: 1.961 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.5797, allocations: 4 kB / 0.5546 GB, free: 1.957 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007537/0.5805, allocations: 178.9 kB / 0.5548 GB, free: 1.781 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009858/0.5815, allocations: 417.5 kB / 0.5552 GB, free: 1.375 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008329/0.5823, allocations: 337.8 kB / 0.5555 GB, free: 1.047 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009672/0.5833, allocations: 0.8914 MB / 0.5564 GB, free: 156 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.5835, allocations: 84.67 kB / 0.5565 GB, free: 76 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001971/0.5854, allocations: 0.8079 MB / 0.5573 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003954/0.5858, allocations: 290.9 kB / 0.5576 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.07e-05/0.5859, allocations: 28 kB / 0.5576 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002949/0.5862, allocations: 131.8 kB / 0.5577 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.5863, allocations: 91.66 kB / 0.5578 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.5865, allocations: 187.3 kB / 0.558 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006737/0.5872, allocations: 0.5216 MB / 0.5585 GB, free: 14.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5872, allocations: 4 kB / 0.5585 GB, free: 14.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.5872, allocations: 0 / 0.5585 GB, free: 14.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.413e-06/0.5872, allocations: 0 / 0.5585 GB, free: 14.02 MB / 446.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.0009349/0.5882, allocations: 0.5921 MB / 0.5591 GB, free: 13.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.5882, allocations: 8.031 kB / 0.5591 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.831e-05/0.5883, allocations: 62.53 kB / 0.5591 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002818/0.5886, allocations: 47.8 kB / 0.5592 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004986/0.5891, allocations: 290.6 kB / 0.5595 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.5891, allocations: 20.56 kB / 0.5595 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.086e-05/0.5891, allocations: 24 kB / 0.5595 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005182/0.5897, allocations: 319.6 kB / 0.5598 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.5897, allocations: 8 kB / 0.5598 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.729e-05/0.5897, allocations: 15.94 kB / 0.5598 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.5897, allocations: 4 kB / 0.5598 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00036/0.5901, allocations: 205.6 kB / 0.56 GB, free: 12.32 MB / 446.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.001934/0.592, allocations: 1.585 MB / 0.5616 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.5923, allocations: 167.1 kB / 0.5617 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.5925, allocations: 101.5 kB / 0.5618 GB, free: 10.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.5925, allocations: 4 kB / 0.5618 GB, free: 10.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.5926, allocations: 34.56 kB / 0.5619 GB, free: 10.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.293e-06/0.5926, allocations: 4 kB / 0.5619 GB, free: 10.26 MB / 446.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.005783/0.5984, allocations: 1.625 MB / 0.5635 GB, free: 8.508 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.5984, allocations: 55.41 kB / 0.5635 GB, free: 8.441 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.5987, allocations: 256.9 kB / 0.5638 GB, free: 8.184 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.5987, allocations: 37.7 kB / 0.5638 GB, free: 8.141 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.5989, allocations: 176.5 kB / 0.564 GB, free: 7.965 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.719e-05/0.599, allocations: 95.17 kB / 0.5641 GB, free: 7.871 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.5991, allocations: 85.64 kB / 0.5641 GB, free: 7.781 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.5992, allocations: 338.8 kB / 0.5645 GB, free: 7.441 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.5994, allocations: 87.95 kB / 0.5645 GB, free: 7.355 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.5997, allocations: 191.8 kB / 0.5647 GB, free: 7.125 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004444/0.6001, allocations: 300.3 kB / 0.565 GB, free: 6.789 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.6001, allocations: 0 / 0.565 GB, free: 6.789 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006963/0.6008, allocations: 403.1 kB / 0.5654 GB, free: 6.383 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.6008, allocations: 8 kB / 0.5654 GB, free: 6.375 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.6009, allocations: 4 kB / 0.5654 GB, free: 6.371 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002266/0.6011, allocations: 77.61 kB / 0.5655 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/0.6014, allocations: 79.89 kB / 0.5656 GB, free: 6.211 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/0.603, allocations: 1.953 MB / 0.5675 GB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.6032, allocations: 8 kB / 0.5675 GB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.138e-05/0.6033, allocations: 36 kB / 0.5675 GB, free: 4.051 MB / 446.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.0002042/0.6035, allocations: 165.6 kB / 0.5677 GB, free: 3.879 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.711e-05/0.6036, allocations: 31.81 kB / 0.5677 GB, free: 3.848 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008842/0.6045, allocations: 429.8 kB / 0.5681 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.6045, allocations: 4 kB / 0.5681 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.6045, allocations: 0 / 0.5681 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000603/0.6051, allocations: 0.563 MB / 0.5687 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.6061, allocations: 0.7391 MB / 0.5694 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6061, allocations: 4 kB / 0.5694 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003169/0.6065, allocations: 71.89 kB / 0.5694 GB, free: 1.875 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-05/0.6065, allocations: 20.84 kB / 0.5695 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.6066, allocations: 12 kB / 0.5695 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.6076, allocations: 1.39 MB / 0.5708 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.6076, allocations: 0 / 0.5708 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007229/0.6083, allocations: 491.3 kB / 0.5713 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.595e-05/0.6084, allocations: 96.97 kB / 0.5714 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.627e-05/0.6085, allocations: 11.98 kB / 0.5714 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.6087, allocations: 8 kB / 0.5714 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.696e-05/0.6088, allocations: 23.97 kB / 0.5714 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-05/0.6088, allocations: 36.05 kB / 0.5715 GB, free: 15.61 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002057/0.609, allocations: 190 kB / 0.5717 GB, free: 15.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.609, allocations: 0 / 0.5717 GB, free: 15.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005421/0.6096, allocations: 123.9 kB / 0.5718 GB, free: 15.3 MB / 462.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.001313/0.6109, allocations: 1.055 MB / 0.5728 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007351/0.6116, allocations: 362.5 kB / 0.5732 GB, free: 13.85 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6116, allocations: 0 / 0.5732 GB, free: 13.85 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000318/0.6119, allocations: 230.5 kB / 0.5734 GB, free: 13.61 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009278/0.6129, allocations: 153.2 kB / 0.5735 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004204/0.6171, allocations: 3.203 MB / 0.5766 GB, free: 10.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.6175, allocations: 0.7644 MB / 0.5774 GB, free: 9.285 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000415/0.6179, allocations: 122.9 kB / 0.5775 GB, free: 9.168 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/0.6181, allocations: 127.4 kB / 0.5776 GB, free: 9.043 MB / 462.1 MB Notification: Performance of SimCode: time 7.72e-07/0.6181, allocations: 0 / 0.5776 GB, free: 9.043 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04414/0.6623, allocations: 11.98 MB / 0.5893 GB, free: 12.99 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.96, allocations: 3.938 kB / 0.5893 GB, free: 12.99 MB / 478.1 MB " [Timeout remaining time 647] (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.000201919 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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.702997316999245]