Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.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.001655/0.001655, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002047/0.002047, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.MixtureGases,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 47.94 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09486/0.09634, allocations: 53.33 MB / 426.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3773/0.4736, allocations: 155.9 MB / 0.5685 GB, free: 4.562 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005618/0.4793, allocations: 4.051 MB / 0.5725 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.4795, allocations: 0 / 0.5725 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005049/0.48, allocations: 119.4 kB / 0.5726 GB, free: 400 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003263/0.4832, allocations: 1.176 MB / 0.5737 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.4843, allocations: 388 kB / 0.5741 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007238/0.4851, allocations: 458.8 kB / 0.5745 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.94e-05/0.4851, allocations: 6.094 kB / 0.5746 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004653/0.4856, allocations: 254.4 kB / 0.5748 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.4859, allocations: 147.5 kB / 0.5749 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.697e-05/0.4859, allocations: 16 kB / 0.5749 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004353/0.4902, allocations: 2.181 MB / 0.5771 GB, free: 11.79 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.4904, allocations: 139.6 kB / 0.5772 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000217/0.4906, allocations: 167.3 kB / 0.5774 GB, free: 11.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002709/0.4933, allocations: 1.539 MB / 0.5789 GB, free: 9.941 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4934, allocations: 4 kB / 0.5789 GB, free: 9.938 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4934, allocations: 0 / 0.5789 GB, free: 9.938 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.4934, allocations: 0 / 0.5789 GB, free: 9.938 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002409/0.4958, allocations: 0.7905 MB / 0.5797 GB, free: 9.098 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.4958, allocations: 8.031 kB / 0.5797 GB, free: 9.09 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001008/0.4959, allocations: 66.72 kB / 0.5797 GB, free: 9.016 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007594/0.4967, allocations: 112.7 kB / 0.5798 GB, free: 8.906 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004487/0.4971, allocations: 279.2 kB / 0.5801 GB, free: 8.594 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.4971, allocations: 20.55 kB / 0.5801 GB, free: 8.574 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.124e-05/0.4972, allocations: 31.98 kB / 0.5801 GB, free: 8.543 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.4985, allocations: 0.5848 MB / 0.5807 GB, free: 7.945 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.4985, allocations: 7.984 kB / 0.5807 GB, free: 7.938 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.139e-05/0.4986, allocations: 12 kB / 0.5807 GB, free: 7.926 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.704e-05/0.4986, allocations: 20.44 kB / 0.5808 GB, free: 7.906 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.5, allocations: 0.6462 MB / 0.5814 GB, free: 7.262 MB / 494.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.00316/0.5032, allocations: 1.279 MB / 0.5826 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.5043, allocations: 349.5 kB / 0.583 GB, free: 5.566 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004943/0.5048, allocations: 161.6 kB / 0.5831 GB, free: 5.402 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002613/0.5074, allocations: 1.373 MB / 0.5845 GB, free: 3.809 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.01e-05/0.5074, allocations: 47.06 kB / 0.5845 GB, free: 3.754 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 2.885e-06/0.5074, allocations: 0 / 0.5845 GB, free: 3.754 MB / 494.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: medium1.T Please use -d=bltdump for more information. 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: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.01672/0.5241, allocations: 3.492 MB / 0.5879 GB, free: 68 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.084e-05/0.5242, allocations: 85.11 kB / 0.588 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.5244, allocations: 187.2 kB / 0.5882 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.157e-05/0.5245, allocations: 33.7 kB / 0.5882 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.5246, allocations: 180.6 kB / 0.5884 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.5248, allocations: 178.5 kB / 0.5886 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/0.5251, allocations: 118.2 kB / 0.5887 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.5252, allocations: 342.8 kB / 0.589 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008419/0.5261, allocations: 261.1 kB / 0.5892 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009567/0.527, allocations: 425.5 kB / 0.5896 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/0.5288, allocations: 0.701 MB / 0.5903 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.5288, allocations: 0 / 0.5903 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002231/0.5311, allocations: 0.7768 MB / 0.5911 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.5311, allocations: 8.625 kB / 0.5911 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.5311, allocations: 4 kB / 0.5911 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002395/0.5313, allocations: 62.19 kB / 0.5912 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.5326, allocations: 183.7 kB / 0.5913 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008762/0.5334, allocations: 1.07 MB / 0.5924 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008277/0.5343, allocations: 51.83 kB / 0.5924 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.451e-05/0.5344, allocations: 39.61 kB / 0.5925 GB, free: 11.16 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (70): * Single equations (assignments): 68 * 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.0002971/0.5346, allocations: 180 kB / 0.5926 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.5348, allocations: 31.81 kB / 0.5927 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/0.5371, allocations: 0.7806 MB / 0.5934 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.5372, allocations: 4 kB / 0.5934 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.687e-05/0.5372, allocations: 4 kB / 0.5934 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.5372, allocations: 3.984 kB / 0.5934 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003641/0.5408, allocations: 1.552 MB / 0.595 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.5408, allocations: 7.984 kB / 0.595 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/0.542, allocations: 147.7 kB / 0.5951 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001649/0.5422, allocations: 49.81 kB / 0.5952 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.949e-05/0.5422, allocations: 19.98 kB / 0.5952 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002269/0.5445, allocations: 2.726 MB / 0.5978 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5445, allocations: 0 / 0.5978 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002963/0.5475, allocations: 1.078 MB / 0.5989 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.5476, allocations: 97.02 kB / 0.599 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.531e-05/0.5477, allocations: 16.67 kB / 0.599 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008617/0.5485, allocations: 43.95 kB / 0.599 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.151e-05/0.5486, allocations: 51.75 kB / 0.5991 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-05/0.5487, allocations: 35.97 kB / 0.5991 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001185/0.5488, allocations: 123.2 kB / 0.5992 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.5488, allocations: 0 / 0.5992 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001472/0.5503, allocations: 391.2 kB / 0.5996 GB, free: 3.383 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.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 (48): * Single equations (assignments): 46 * 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): 2 systems {(1,1,100.0%), (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.005917/0.5562, allocations: 2.382 MB / 0.6019 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002189/0.5584, allocations: 0.6374 MB / 0.6026 GB, free: 320 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.5584, allocations: 0 / 0.6026 GB, free: 320 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/0.5597, allocations: 0.521 MB / 0.6031 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008502/0.5606, allocations: 110.4 kB / 0.6032 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009153/0.5697, allocations: 4.239 MB / 0.6073 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.5702, allocations: 0.7852 MB / 0.6081 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000859/0.571, allocations: 187.1 kB / 0.6083 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004261/0.5715, allocations: 131.4 kB / 0.6084 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of SimCode: time 8.51e-07/0.5715, allocations: 0 / 0.6084 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2531/0.8245, allocations: 19.9 MB / 0.6278 GB, free: 175 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/14.18, allocations: 10.64 kB / 0.6278 GB, free: 175 MB / 0.5137 GB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Media.Examples.MixtureGases_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_4_1_0_Modelica_Media_Examples_MixtureGases.fmu > Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.MixtureGases_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.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: 16.93829058999836]