Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001732/0.001732, allocations: 120.4 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002113/0.002113, allocations: 214.6 kB / 20.75 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 230.4 MB / 254 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 59.89 kB / 373 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1026, allocations: 53.38 MB / 426.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.371/0.4736, allocations: 155.9 MB / 0.5686 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005505/0.4791, allocations: 4.04 MB / 0.5725 GB, free: 344 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.4793, allocations: 7.938 kB / 0.5725 GB, free: 336 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005434/0.4798, allocations: 107.4 kB / 0.5726 GB, free: 228 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002951/0.4828, allocations: 1.186 MB / 0.5738 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.4838, allocations: 393.3 kB / 0.5742 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006569/0.4845, allocations: 454.9 kB / 0.5746 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.009e-05/0.4845, allocations: 6.094 kB / 0.5746 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004714/0.485, allocations: 254.9 kB / 0.5748 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.4853, allocations: 151.5 kB / 0.575 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.081e-05/0.4853, allocations: 16 kB / 0.575 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004089/0.4894, allocations: 2.178 MB / 0.5771 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.4896, allocations: 139.6 kB / 0.5773 GB, free: 11.47 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.4898, allocations: 167.4 kB / 0.5774 GB, free: 11.3 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002374/0.4921, allocations: 1.547 MB / 0.5789 GB, free: 9.754 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.4921, allocations: 3.984 kB / 0.5789 GB, free: 9.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4921, allocations: 0 / 0.5789 GB, free: 9.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.4921, allocations: 0 / 0.5789 GB, free: 9.75 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.002198/0.4943, allocations: 0.7788 MB / 0.5797 GB, free: 8.922 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4944, allocations: 12.03 kB / 0.5797 GB, free: 8.91 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.832e-05/0.4945, allocations: 70.72 kB / 0.5798 GB, free: 8.832 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007426/0.4952, allocations: 108.7 kB / 0.5799 GB, free: 8.727 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.4956, allocations: 279 kB / 0.5801 GB, free: 8.414 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.4957, allocations: 20.56 kB / 0.5802 GB, free: 8.395 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.074e-05/0.4957, allocations: 24 kB / 0.5802 GB, free: 8.371 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.4969, allocations: 0.5926 MB / 0.5808 GB, free: 7.766 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.4969, allocations: 0 / 0.5808 GB, free: 7.766 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.157e-05/0.497, allocations: 12 kB / 0.5808 GB, free: 7.754 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.511e-05/0.497, allocations: 20.42 kB / 0.5808 GB, free: 7.734 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.4984, allocations: 0.6462 MB / 0.5814 GB, free: 7.086 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.003066/0.5015, allocations: 1.279 MB / 0.5827 GB, free: 5.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.5026, allocations: 349.5 kB / 0.583 GB, free: 5.391 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005019/0.5031, allocations: 166.3 kB / 0.5832 GB, free: 5.223 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002613/0.5057, allocations: 1.377 MB / 0.5845 GB, free: 3.625 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.5057, allocations: 35.88 kB / 0.5845 GB, free: 3.582 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 2.144e-06/0.5057, allocations: 0 / 0.5845 GB, free: 3.582 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.01635/0.5221, allocations: 3.497 MB / 0.588 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.5221, allocations: 85.05 kB / 0.588 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.5223, allocations: 183.2 kB / 0.5882 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.674e-05/0.5224, allocations: 33.7 kB / 0.5883 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.5225, allocations: 176.6 kB / 0.5884 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/0.5227, allocations: 186.4 kB / 0.5886 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/0.5229, allocations: 114.3 kB / 0.5887 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.5231, allocations: 338.8 kB / 0.589 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008293/0.5239, allocations: 261.1 kB / 0.5893 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009663/0.5249, allocations: 429.5 kB / 0.5897 GB, free: 14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/0.5267, allocations: 0.6989 MB / 0.5904 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.5267, allocations: 0 / 0.5904 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002232/0.5289, allocations: 0.7807 MB / 0.5911 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.5289, allocations: 8 kB / 0.5911 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.5289, allocations: 4.625 kB / 0.5911 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002403/0.5292, allocations: 66.44 kB / 0.5912 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.5304, allocations: 175.7 kB / 0.5914 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008421/0.5312, allocations: 1.081 MB / 0.5924 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000861/0.5321, allocations: 43.89 kB / 0.5925 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.346e-05/0.5322, allocations: 39.97 kB / 0.5925 GB, free: 10.98 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.0003146/0.5325, allocations: 177.8 kB / 0.5927 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.5327, allocations: 31.81 kB / 0.5927 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/0.5351, allocations: 0.7767 MB / 0.5935 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.5351, allocations: 7.938 kB / 0.5935 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.5351, allocations: 3.625 kB / 0.5935 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.5351, allocations: 4 kB / 0.5935 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003652/0.5388, allocations: 1.566 MB / 0.595 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.5388, allocations: 3.938 kB / 0.595 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/0.54, allocations: 143.8 kB / 0.5952 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001586/0.5401, allocations: 45.91 kB / 0.5952 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.167e-05/0.5402, allocations: 23.97 kB / 0.5952 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002252/0.5424, allocations: 2.734 MB / 0.5979 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5424, allocations: 0 / 0.5979 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003066/0.5455, allocations: 1.077 MB / 0.5989 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.5456, allocations: 101 kB / 0.599 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.067e-05/0.5457, allocations: 12 kB / 0.5991 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000859/0.5466, allocations: 41.06 kB / 0.5991 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.474e-05/0.5466, allocations: 55.8 kB / 0.5991 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.973e-05/0.5467, allocations: 31.97 kB / 0.5992 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001184/0.5469, allocations: 124.4 kB / 0.5993 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.5469, allocations: 0 / 0.5993 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001554/0.5484, allocations: 387.2 kB / 0.5997 GB, free: 3.199 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.005784/0.5542, allocations: 2.382 MB / 0.602 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002127/0.5563, allocations: 0.6323 MB / 0.6026 GB, free: 136 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.5563, allocations: 0 / 0.6026 GB, free: 136 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001247/0.5576, allocations: 0.534 MB / 0.6031 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008327/0.5584, allocations: 106.2 kB / 0.6032 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008954/0.5674, allocations: 4.244 MB / 0.6074 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/0.5678, allocations: 0.7852 MB / 0.6081 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000834/0.5687, allocations: 183.1 kB / 0.6083 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004239/0.5691, allocations: 131.4 kB / 0.6084 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of SimCode: time 7.21e-07/0.5691, allocations: 0 / 0.6084 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2412/0.8103, allocations: 19.91 MB / 0.6279 GB, free: 174.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.31, allocations: 1.281 kB / 0.6279 GB, free: 174.9 MB / 0.5137 GB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MixtureGases.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Examples_MixtureGases.fmu > Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 17.060752474935725]